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

Variable in SAP SCRIPT

Former Member
0 Likes
771

Hi Guys,

I want to print a variable Value from Print Program to SAP SCRIPT, I tried to print it in between && but they still dont have any value while debugging SAP SCRIPT and not also in print out....Suggest somthing.

Cheers....!!

Sid

4 REPLIES 4
Read only

Former Member
0 Likes
652

Hi,

First check whether the value is getting captured in that variable in your print program.Then debug the script and check if the value is coming in the script.Activate the SAPscript.

Read only

Former Member
0 Likes
652

Check yor code where you are selecting the value for that variable.

Read only

Former Member
0 Likes
652

Hi,

Debug your program and c whether you are getting your value there. If yoes, check if you have used the function module OPEN_FORM and passed the correct name of the SAP script. Then check if you have used Write_Form and are you passing the correct Text Element Name.

You would not have used one of them. Hence the problem.

Check and revert back.

Thanks

Nayan

Read only

0 Likes
652

Guys

I have checked all the things,

Script is activated, WRITE_FORM is fine

CLOSE_FORM is perfect, even while debugging the Print Progrm. variable is getting populated,but as soon as dubugee is switching to Script the value gets cleared...!!

Thnks for ur responce.....somthin else