SAP Function POPUP_DISPLAY_TEXT - Text display dialog box

Parameter Reference Type Length Default Optional Text
HELP_MODAL 0 'X' X Modal/modeless button for help window
LANGUAGE SYST-LANGU C 1 SY-LANGU X Text document language key
POPUP_TITLE 0 Text of title line
START_COLUMN SYST-CUCOL I 4 10 X Start column of the dialog box
START_ROW SYST-CUROW I 4 3 X Start line of the dialog box
TEXT_OBJECT DOKHL-OBJECT C 60 Name of the text document

Parameter Reference Type Length Text
CANCELLED 0 Ind. whether text display was terminated

Exception Text
TEXT_NOT_FOUND Document not found


INCLUDE 'DOCU_HAS_TO_BE_ELABORATED' OBJECT DOKU ID TX
Functions
The function module sends dialog box displaying the text of a document.
You must create the document to be transferred as a document of theclass "Text in Dialog" with theDocumentation Maintenance Transaction (SE61).
If the document does not exist in the transferred language then theEnglish version is found and shown, if it exists. If the Englishversion does not exist then the German version is shown.
Examples
You can see an example in the program RSSPO600.
Notes
  • You can choose between modal and modeless dialog boxes with the
  • parameter HELP_MODAL. If a modeless display is not possible then thedisplay is made modally.
    • You can display texts that contain parameters with the function module
    • POPUP_DISPLAY_TEXT_WITH_PARAMS. The parameters and their values aretransferred in an internal table.
      • You can go to the text maintenance directly using F7.
      • Bedeutung
        This parameter specifies whether the text display was ended by thepushbutton "Cancel" or the pushbutton "Continue".

        Wertebereich
        The parameter can have the following values:
        'X' ,,Display ended with "Cancel"
        Space,,Display ended with "Continue"
        The text for the dialog box title line is passed in the parameters.You can use numberedtexts to make them translatable.
        The column in which the dialog box should start is passed in theparameter. The proposed value is 10.
        The line in which the dialog box should start is passed in theparameter. The proposed value is 3.
        A document of the class "Text in dialog" which was created with thedocumentation maintenance transaction SE61 can be specified as textdocument.