Fonction SAP BKK_POPUP_DISPLAY_LIST - Dialog Box With User-Defined Buttons for Displaying Text

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_CALLBACK_PROGRAM SYREPID C 40 ABAP Program, Current Framework Program
I_CALLBACK_WRITE_FORM SLIS_FORMNAME 0
I_DISPLAY_CANCEL_BUTTON BKK_FLG C 1 'X' X Switch for Displaying Cancel Button
I_DISPLAY_OK_BUTTON BKK_FLG C 1 'X' X Switch for Displaying OK Button
I_END_COLUMN SYCUCOL I 4 70 X End Column of Dialog Box
I_END_ROW SYCUROW I 4 15 X End Line of Dialog Box
I_START_COLUMN SYCUCOL I 4 5 X Start Column of Dialog Box
I_START_ROW SYCUROW I 4 5 X Start Line of Dialog Box
I_TITLE SYTITLE C 70 Header Line Text

Paramètre Reférence Type Long. Description
ANSWER RSNEWLENG-FCODE C 20 OK Code

Paramètre Reférence Long. Facultatif Description
USER_BUTTONS SMP_DYNTXT 145 X Transfer Table for Buttons


Preliminary comment
This function module has been released.
The documentation is being revised so that it conforms to therequirements for released function modules.
Functions
The function module sends a dialog box in which document text isdisplayed.
The parameters that are in the document are replaced as specified in theinternal table.
The document to be transferred must be created with the documentationmaintenance transaction as a document from the Text In Dialog class.
If the document is not in the transferred language, the system searchesfor an English version, and outputs it if it finds one. If there is noEnglish version either, the system searches for a German version.
Examples
See the RSSPO601 program for an example.
Note:
  • The system does not check if all the parameters used in the text
  • document are tranferred in the internal PARAMETERS table. Missingparameters are left out of the display.
    • To be able to translate the parameter values, it is recommended that you
    • use numbered texts.
      • An modeless display is not possible with this module.

      • Icons, texts, and quickinfo can be transferred for the buttons and the
      • function text.
        • The total length of all texts on the buttons must not exceed 70
        • characters. If this length is exceeded, the button text is suppressed ifan icon was transferred. The button text is placed in the function textinstead.

          Description
          OK Code

          Value range
          OKAY, CANCEL
          BUTTON1, BUTTON2, BUTTON3, BUTTON4, BUTTON5, BUTTON6, BUTTON7, BUTTON8,BUTTON9

          Description
          Transfer table for pushbutton

          Value range
          -TEXT: Function text. If ICON_ID is missing, then the pushbutton text aswell
          -ICON_ID: Icon on the pushbutton. To avoid errors, the program makingthe call should include the include .
          -ICON_TEXT: Text for icon on pushbutton. If ICON_ID is missing, the textis not included.
          -QUICKINFO: Quick info for pushbutton