Hello friends,
I am writing a interactive report and am using at first,
i am writing a perform statement with in a loop...endloop. and i am using my at first in the perform statement.
It comes with an error saying that at first should be within a loop ...endloop.
LOOP AT IT_OUT.
PERFORM REPORT_OUTPUT.
ENDLOOP.
FORM REPORT_OUTPUT .
MOVE IT_OUT TO WA_OUT.
AT FIRST.
FORMAT COLOR 5 ON.
WRITE:/1 'Invoice #',15 'Principal #',30 'SAP Customer #',
40 'Customer Name',65 'Material #', 80 'Quantity',
100'Net Amount', 120'Promo / Non-Promo'.
FORMAT COLOR 5 OFF.
SKIP 1.
ENDAT.
ENDFORM. " F2010_WRITE_REPORT_OUTPUT
aNY SUGGESTIONS.