Dialogs for displaying, inputting and checking data

Function group SPO4

This function group contains the following function modules:

  • POPUP_GET_VALUES
    This function module sends a dialog box for data display and input.
    The input fields are passed in a structure and must be defined in the Dictionary. You can also specify individual field display attributes and a field text, if the key word from the Dictionary is not to be displayed as field text in the dialog box, in the structure.
    The standard help functionality (F1, F4) is supported.
  • POPUP_GET_VALUES_DB_CHECKED
    This function module sends a dialog box for data to be input und checked against the database.
    The input fields are passed in a structure and must be defined in the Dictionary. You can also specify individual field display attributes and a field text in the structure, if the key word from the Dictionary is not to be displayed as field text in the dialog box.
    A comparison operator for checking the input data in the database is passed. You can specify whether the check is for the existence or absence of an object. A foreign key relationship check is supported.
    The standard help functionality (F1, F4) is supported.
    The user action is returned in a parameter.
  • POPUP_GET_VALUES_USER_CHECKED
    This function module sends a dialog box for data to be input and checked in an external sub-routine (user exit). The input fields are passed in a structure and must be defined in the dictionary. You can also specify individual field display attributes and a field text in the structure, if the key word from the Dictionary is not to be displayed as field text in the dialog box.
    The Data input by the user in the dialog box are passed to the sub-routine specified in the interface for checking. Errors found by the check are entered in an error structure and are evaluated on return from the sub-routine by the function module.
    The standard help functionality (F1, F4) is supported.
    The user action (Continue or Cancel) is returned in a parameter.
  • POPUP_GET_VALUES_USER_HELP
    This function module sends a dialog box for data to be input with the possibility of a check in an external sub-routine (user exit) and branching in a user F1 or F4 help.
    The input fields are passed in a structure and must be defined in the Dictionary. You can also specify individual field display attributes and a field text in the structure, if the key word from the Dictionary is not to be displayed as field text in the dialog box.
    You can pass the data which are entered by the user in a dialog box to a sub-routine which must be specified in the interface for checking. Errors occurring in the check are stored in an error structure and are analyzed by the function module upon return from the sub-routine. The data, and an error message, if appropriate, are displayed again.
    The standard help functionality (F1, F4) is supported.
    User exits for a user F1 or F4 help can also be specified.
    The user action (Continue or Cancel) is returned in a parameter.
  • POPUP_GET_VALUES_USER_BUTTONS
    This function module is like the previous function module POPUP_GET_VALUES_USER_HELP, with the additional possibility of passing one or two additional pushbuttons and a standard pushbutton, which the user can name.
  • POPUP_GET_VALUES_SET_MAX_FIELD
    With this function module you can specify the maximum number of fields which can be displayed in dialog boxes for this function group (SPO4). The specified value is stored in the function group local memory and applies for the rest of the application. Dialog boxes which display more then this number of fields are displayed with a scroll bar.