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

Sap Scripts

Former Member
0 Likes
409

Can we pass internal table to SapScript if possible hw

3 REPLIES 3
Read only

amit_khare
Active Contributor
0 Likes
393

Refer the link -

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
393

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,

srinivas

<b>*reward for useful answers*</b>

Read only

Former Member
0 Likes
393

One way might be to have ABAP create a text using SAVE_TEXT with relevant internal table contents formatted in the text lines, then pass the text name to the sapscript for it to include.

Otherwise, you probably need to change the sapscript driver program to call the required window / element repeatedly with each line of the internal table (as the MAIN window does.

If table is small you can define a PERFORM in the sapscript with enough parameters for all the table lines.

Andrew