I need to wirte a workarea of type glpct as output in the list in ECC6.0. I dont want to include all the 105 fields in the structure in the WRITE statement. Please find the sample code (errored) below.I need your valuable suggestions to simplify this case.
Note : (In ECC6.0 it is not allowing us to write the structured workarea directly on the list.)
DATA : wa_glpct TYPE glpct,
wa_str TYPE string.
SELECT * FROM glpct INTO wa_glpct UP TO 1 ROWS.
MOVE wa_glpct TO wa_str.
IF sy-subrc EQ 0.
WRITE : wa_str.