‎2008 Dec 10 8:55 AM
Hi All,
I am using getting data into print program work area, but when I am writing the fields in layout , fields does not conatin any data, but when I checked in program before write form ,it contains data.
please help me in this issue.
Regards,
Vinesh
‎2008 Dec 10 9:00 AM
Hi,
make sure you have declared Field as,
<Final internal table name or work area>-<Fieldname>.
eg. MARA-MATNR.
‎2008 Dec 10 9:03 AM
Hi,
you have to use the loop ... endloop statement.
Loop at itab.
call function 'WRITE_FORM'
ELEMENT = SPACE
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'.
endloop.
Regards,
Sathis
‎2008 Dec 10 9:12 AM
HI All,
I am using the same as workarea-fieldname syntax , and also only I am having data structure only,not in internal table, so there is no need to looping ..
please help me ...
Regards,
Vinesh
Edited by: Siddivinesh Jogu on Dec 10, 2008 3:18 PM
‎2008 Dec 10 9:51 AM
Hi Vinesh,
We too had a similar problem. So we have tried passing the report name to importing parameter PROGRAM of START_FORM function module and it worked.
You can also try the same.
Regards,
Savitha