Function ‘DYNP_VALUES_READ’
Screen에서 변경된 값을 가져올 때 유용한 Function
clear: dynpfields, dynpfields[].
dynpfields-fieldname = &1.
append dynpfields.
call function ‘DYNP_VALUES_READ’
exporting
dyname = sy-cprog
dynumb = sy-dynnr
tables
dynpfields = dynpfields
exceptions
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
invalid_parameter = 7
undefind_error = 8
double_conversion = 9
stepl_not_found = 10
others = 11.
if sy-subrc = 0.
read table dynpfields with key fieldname = &1.
if sy-subrc = 0.
&2 = dynpfields-fieldvalue.
endif.
endif.
END–OF–DEFINITION.
dynpro_values_read ‘GS_HEADER-BED1’ gs_header-bed1.
_M#]