Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Interface used to pass data between print program and SAPScript

Former Member
0 Kudos

Hi,

How do we pass data from print program to SAPScript ?

Does there ne standard structure exist to do this ?

Regards,

Nitin

2 REPLIES 2

former_member221770
Contributor
0 Kudos

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.

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi Nitin,

Check this link.This will answer your question with example.

http://www.henrikfrank.dk/abapexamples/SapScript/the_print_program.htm