Friday, 13 September 2013
Changing the import parameter of User Exit
DM07M is the input parameter of a user exit. Check the image for your information .
Declare a constant with main program in bracket followed by the field you want to change.
Example :
Constant : gc_temp type char30 value '(Main program name) Table-field' .
Field symbol : <FS> type table-field .
assign (gc_temp) to <FS> .
move the value required to field symbol.
Move 'Bharat' to <FS> .
Below is the example
CONSTANTS: gc_ref_fld TYPE char25 VALUE '(SAPMM07M)DM07M-KZCLA' .
FIELD-SYMBOLS: <fs_wa> TYPE dm07m-kzcla.
ASSIGN (gc_ref_fld) TO <fs_wa>.
IF <fs_wa> IS ASSIGNED.
*Do not show the characteristic screen...change to background mode
MOVE '1' TO <fs_wa>.
ENDIF.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment