CA Function module Used the same way in S/4HANA

F4IF_INT_TABLE_VALUE_REQUEST F4 Help from Internal Table

Shows a standard value help popup built from the contents of an internal table and returns the selected value. Developers use it in AT SELECTION-SCREEN ON VALUE-REQUEST or PROCESS ON VALUE-REQUEST when no suitable search help exists. Set RETFIELD to the field to return and VALUE_ORG = 'S' for a structured table; with DYNPPROG, DYNPNR and DYNPROFIELD the value is written back to the screen field, otherwise read it from RETURN_TAB.

Function group
SDHI
Remote-enabled (RFC)
No
Type
Function module

Importing parameters

ParameterTypeDescriptionRequired
RETFIELDDFIES-FIELDNAMEName of the field to returnYes
DDIC_STRUCTURETABNAMEDictionary structure of VALUE_TAB—
PVALKEYDDSHPVKEYKey for personal value list—
DYNPPROGSY-REPIDCurrent program—
DYNPNRSY-DYNNRScreen number—
DYNPROFIELDHELP_INFO-DYNPROFLDScreen field for the returned value—
STEPLSY-STEPLStep loop line of the screen field—
WINDOW_TITLECTitle of the hit list—
VALUEHELP_INFO-FLDVALUECurrent field value—
VALUE_ORGDDBOOL_DValue organization: C (cell by cell) or S (structured)—
MULTIPLE_CHOICEDDBOOL_DAllow multiple selection—
DISPLAYDDBOOL_DDisplay only—
CALLBACK_PROGRAMSY-REPIDCallback program—
CALLBACK_FORMSY-XFORMCallback form routine—
CALLBACK_METHODIF_F4CALLBACK_VALUE_REQUESTCallback object—
MARK_TABDDSHMARKSPreselected lines for multiple selection—

Exporting parameters

ParameterTypeDescription
USER_RESETCUser cancelled the dialog

Tables parameters

ParameterTypeDescriptionRequired
VALUE_TAB—Table of valuesYes
FIELD_TABDFIESField descriptions of the hit list—
RETURN_TABDDSHRETVALSelected values—
DYNPFLD_MAPPINGDSELCMapping of screen fields to table fields—

Exceptions

  • PARAMETER_ERROR — Incorrect parameters
  • NO_VALUES_FOUND — No values found

Call template (ABAP)

A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
  EXPORTING
    retfield = lv_retfield
  IMPORTING
    user_reset = lv_user_reset
  TABLES
    value_tab = lt_value_tab
    field_tab = lt_field_tab
    return_tab = lt_return_tab
    dynpfld_mapping = lt_dynpfld_mapping
  EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    OTHERS = 3.

Can't find the report you need?

We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.

Request a custom report