How to Call SapScript Window uaing ABAP..

Question:
Hi,
I did this before but seem to forgot already..
I have this program that gathers data before placing it in Sapscript.
I just want to know how will I pass the data/internal table from ABAP to Sapscript in my loop. There's this "Write_Form" but it cannot pass the data or internal table that I need to place in the Sapscript.
Phuueelleeezzeee heeelllppp!!!
Thanks a bunch,
WonderWoman
Answer:
OPEN_FORM
WRITE_FORM
CONTROL_FORM
CLOSE_FORM
Good day!
Hi,
I did this before but seem to forgot already..
I have this program that gathers data before placing it in Sapscript.
I just want to know how will I pass the data/internal table from ABAP to Sapscript in my loop. There's this "Write_Form" but it cannot pass the data or internal table that I need to place in the Sapscript.
Phuueelleeezzeee heeelllppp!!!
Thanks a bunch,
WonderWoman
_________________
Good luck!
Answer:
I have this in my ABAP.
Loop at itab_1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = '515'
EXCEPTIONS
window = 1
element = 2.
EndLoop.
But I need to pass some data from my itab1.
Is there any way?
Answer:
You must be a rank beginner with SAPscript. The data are specified in the layout set, not in the program. For example, if you want to print a customer number you would put &KNA1-KUNNR& in element 515 in the main window. But element 515 sounds like standard SAP. I don't quite get it. What are you doing?
Also, did you know that there is a SAPscript forum?
And what country are you in?
Robert Crouser

More Articles:

Client Specific, Context Senstive Help?
How to use double click functionality in Table Control?
Sending excel sheet with mail?
Uploading purchase orders?
tables?
Problem with numaric values in downloading to excel/unix?