cancel
Showing results for 
Search instead for 
Did you mean: 

Variable's value passsing question between sapscipt and it's print program.

Former Member
0 Kudos

Hi, all.

I have a question regarding to the variable value which past between sapscipt and it's print program.

My question is :

in the print program , l_var = '123456'.

in the sapscript, can i straight away code like below,

&l_var&

to show the data 123456 on my form?

How to pass the variable value in the print program into the sapscript, beside using the PERFORM & FORM ??

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yes..You can use &l_var& to display in form..

But make sure the l_var is a global variable in the program..

Thanks

Naren

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes.You can absolutely do so...You can define the variable in the script & give value to it.

Edited by: Phani Kiran Nudurupati on Sep 17, 2008 6:02 PM