‎2005 Aug 01 4:42 AM
Hi,
How do we pass data from print program to SAPScript ?
Does there ne standard structure exist to do this ?
Regards,
Nitin
‎2005 Aug 01 4:49 AM
Nitin,
Data is passed from ABAP "Print Program" to SAPscript via the FM's OPEN_FORM, WRITE_FORM and CLOSE_FORM.
The print program "opens" the SAPscript" with the OPEN_FORM FM. Each Element is printed using the WRITE_FORM FM. When the data has all been passed, the print program calls FM CLOSE_FORM.
Look at the doco in SE37 for these FM's for more info.
Hope this helps.
Pat.
‎2005 Aug 01 4:49 AM
Hi Nitin,
Check this link.This will answer your question with example.
http://www.henrikfrank.dk/abapexamples/SapScript/the_print_program.htm