cancel
Showing results for 
Search instead for 
Did you mean: 

run time sap script

Former Member
0 Kudos

can we load data in run time insap script layout .

if it is possible then how???

Accepted Solutions (0)

Answers (2)

Answers (2)

varma_narayana
Active Contributor
0 Kudos

Hi

We can do this by calling the Subroutines.

/: PERFORM &F_GETDATA& IN PROGRAM 'ZPRG01'

/: USING &S1&

/: CHANGING &S2&

/: ENDPERFORM

<b>reward if Helpful</b>

Former Member
0 Kudos

Yes, you can load extra data not provided by the print program by calling an ABAP subroutine. The method for passing parameters is different to a regular ABAP subroutine and is well explained in the SAP help,

<a href="http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm">SAPscript help</a>

Section SAPscript control commands -> PERFORM.

Regards,

Nick