Application Development and Automation 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: 
Read only

How to SapScript

Former Member
0 Likes
529

Hi,

If I have a report with an internal table with data, how do I use a sapScript form to print it?, I need to combine the results of my internal table with the text I have on the sapScript form. How can I do It?

Thanks

Gabriel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

hi

As you have the data in ur internal tables your program stands as the driver program for your SAPScript So you can use "Open_form", "Write_form" and "Close_Form" to pass the data to SAPScript.

Regards

Santosh

4 REPLIES 4
Read only

Former Member
0 Likes
510

Hi,

Instead of the Write statements,use Write_form in a window,inside the internal table loop.

do a Open_form & close_form above & below the loop & endloop.

I guess this is what you need.

Read only

Former Member
0 Likes
511

hi

As you have the data in ur internal tables your program stands as the driver program for your SAPScript So you can use "Open_form", "Write_form" and "Close_Form" to pass the data to SAPScript.

Regards

Santosh

Read only

Former Member
0 Likes
510

Hi,

Create a single window & call all the fields in the script.

Read only

Former Member
0 Likes
510

Hi,

Click the link below for documentation on SAP Scripts, this will give an idea of how to write a script and print the records.

For form Maintenance

http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm

For Printing Forms

http://help.sap.com/saphelp_47x200/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm

Regards,

Vara