I am doing a sap script in main window i have created the two text element one for header and other for the line items data i dont know how to call in abap pgm write_form
In main window i have created the text elements two in main window
/E7 MAterial Desc matnr like that
Line item tables
how to call this in main window
When i making calll
loop at it_final into wa_final
CALL FUNCTION 'WRITE_FORM'
ELEMENT = 'E7'
WINDOW = 'MAIN'
material desc is getting repeated
with that line item how to resolve this
With thanks ,