SAP Function POPUP_GET_VALUES - Dialog box for the display and request of values, without check

Parameter Reference Type Length Default Optional Text
NO_VALUE_CHECK 0 SPACE X Deactivates data type check
POPUP_TITLE 0 Text of title line
START_COLUMN 0 '5' X Start column of the dialog box
START_ROW 0 '5' X Start line of the dialog box

Parameter Reference Type Length Text
RETURNCODE 0 User response

Parameter Reference Length Optional Text
FIELDS SVAL 278 Table fields, values and attributes

Exception Text
ERROR_IN_FIELDS FIELDS were transferred incorrectly


INCLUDE 'DOCU_HAS_TO_BE_ELABORATED' OBJECT DOKU ID TX
Functions
INCLUDE 'POPUP_GET_VALUES_BASE' OBJECT DOKU ID TX
After the display, the values entered by the user in the date and timefields are checked for formatting and plausability. Otherwise, thevalues entered are returned to the user unchecked.
The function module can be used, for example, to:
  • Display information

  • Request values which do not need to be checked

  • Request values to limit data accesses ( from - to)

  • Support prototyping

  • Examples
    For examples, see the program RSSPO410.
    Notes
    INCLUDE 'POPUP_GET_VALUES_NOTES_02' OBJECT DOKU ID TX
    The user action is returned in this parameter. Itcan take the following values:
    • " " (Space)

    • The user wants to perform the aktion, FIELDS contains theinput values
      • "A"

      • The user has cancelled the action, FIELDS contains theoriginal values
        With this parameter you can deactivate the check on the data types(deactivate = 'X').
        If this switch is set it applies to all screen fields. In this casethere will be no formatting of date and time fields. Date and timefields are output in the internal format, that is '19960926' instead of'26.09.1996'. Format, value and plausibility checks must be carried outby the caller. F4 help is not supported.
        This switch should be left in the default setting.
        The dialog box title line text is passed in this parameter.Ensure that the text can be translated(e.g. by using numbered texts).
        Column in which the dialog box starts. Default value 5.
        Row in which the dialog box starts. Default value 5.
        The table contains the fields, values and attributes for the layout ofthe dialog box. The fields appear in the sequence that they have inthe FIELDS table. One line must be field for each field that is toappear in the dialog box:
        • TABNAME (table name)

        • The table must be active in the Data Dictionary.
          • FIELDNAME (name of the field to be displayed)

          • The field must belong to the table TABNAME. If a field is to appeartwice, the second field must be passed on with '*' before the tablename (for example, *T001).
            • VALUE (field value)

            • VALUE can be assigned a value when the function module is called up.This value is displayed. If the user does not cancel the action, VALUEcontains the value entered by the user.
              INCLUDE 'FU_POPUP_GET_VALUES_1' OBJECT DOKU ID TX
              • FIELD_ATTR (field attribute)

              • The field attribute determines the layout attribute of the field andmust have one of the following values:
                " " (Space) normal display, ready for input
                "01" highlighted, ready for input
                "02" normal display, protected against input
                "03" highlighted, protected against input
                "04" field is not displayed
                "05" normal display, not ready for input, 2-dimensional
                • FIELD_OBL (obligatory)

                • This indicator determines whether or not the field is obligatory andmust have one of the following values:
                  " " (Space) The field is optional
                  "X" The field is obligatory
                  • FIELDTEXT (keyword)

                  • In FIELDTEXT the keyword of the field can be specified if thedictionary keyword is not to be used.
                    • COMP_CODE

                    • The field is not required for this function module.
                      • COMP_TAB

                      • The field is not required for this function module.
                        • COMP_FIELD

                        • The field is not required for this function module.
                          • NOVALUEHLP

                          • This indicator determines whether the value help button should bedisplayed or not, and must have one of the following values:
                            " " = The value help button is permanently displayed
                            "X" = The value help button is not displayed
                            "S" = The possible help key is displayed and calls the F4 helpfrom the Dictionary. This parameter is only useful in combination withuser-defined F4 help (POPUP_GET_VALUES_USER_HELP andPOPUP_GET_VALUES_USER_BUTTON), when you decide at field level whetherthe user-defined F4 help or the appropriate Dictionary F4 help is to becalled.

872116FAQ: Transfer and Update Rules