Code: Alles auswählen.
PROCESS BEFORE OUTPUT.
*MODULE STATUS_0100.
PROCESS AFTER INPUT.
*MODULE USER_COMMAND_0100.
PROCESS On Value-Request.
FIELD input_vorname MODULE value_vorname.
FIELD input_nachname MODULE value_nachname.
Code: Alles auswählen.
*---------------------------------------------------------------------*
* MODULE value_vorname
*---------------------------------------------------------------------*
*
*---------------------------------------------------------------------*
Module value_vorname INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'BUT000'
fieldname = 'NAME_FIRST'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'input_vorname'.
ENDMODULE. "value_vorname
*---------------------------------------------------------------------*
* MODULE value_nachname
*---------------------------------------------------------------------*
*
*---------------------------------------------------------------------*
Module value_nachname INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'BUT000'
fieldname = 'NAME_LAST'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'input_nachname'.
ENDMODULE. "value_nachname
es muss INPUT_VORNAME heißen.Code: Alles auswählen.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST' EXPORTING tabname = 'BUT000' fieldname = 'NAME_FIRST' dynpprog = sy-repid dynpnr = sy-dynnr dynprofield = 'input_vorname'