Get Example source ABAP code based on a different SAP table
Dynpros in ABAP Release 7.53 ITOC
ABAP_MODIFICATION_NN Reference Value for Conversion Routines>
An optional input parameter with the predefined name REFVAL> can be created for the function modules for conversion routines>. When a dynpro field of the type CURR>> or QUAN>> is converted, this parameter is given the value of a an associated reference field of the type CUKY>> or UNIT>> automatically If WRITE USING EDIT MASK>> is used, the input parameter REFVAL> is not filled.