In order to convert values to descriptions it may be necessary to read the descriptions from the database, using the communication language.
Example:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: |
DATA: ls_variables TYPE /floe/vars_s. * LOOP AT ch_variables INTO ls_variables. * CASE: ls_variables-var_code. * WHEN 'NETWR'. * ISO code SELECT SINGLE isocode FROM t006 INTO ls_variables-value WHERE msehi EQ ls_variables-value. MODIFY ch_variables FROM ls_variables. * ENDCASE. * ENDLOOP |