cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass tables data from SAP script to the routine.

Former Member
0 Kudos

Hi,

I have standard program RPCTEAL0_01 which calls a SAP script form(Custom) to print the form.

Now I have to add some additional functionality to change the values in the form. Since it is custom form I can add ROUTINE and then pass the values to the custom program to modify the variables.

My concern here, I would like to pass the tables like RT,CRT to the custom program via form.

Is this possible? RT and CRT filled by standard progam.

Regarsd

Eswar

<MOVED BY MODERATOR TO THE CORRECT FORUM>

Edited by: Alvaro Tejada Galindo on Jan 20, 2009 9:06 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

As we cant pass the tables from sap script - routine,I am closing this thread.

Former Member
0 Kudos

HI Eswar,

Try This,

Perform XXXX using program YYYYY.

XXXX- routine.

YYY- Program Name.

Let me know if helpful.

Former Member
0 Kudos

Hi, The suggested option is not working.

Actually I am using the below code in SCRIPT

/: PERFORM CAL_2008 IN PROGRAM ZHR_TEST1

/: USING &PER_NO&

/: CHANGING &W12&

/: ENDPERFORM

and calling form in ZHR_TEST1. But this will pass only variables. Now my requirement is to pass tables also.

Former Member
0 Kudos

Hi,

Refer to this link..