Application Development 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: 

Variable in SAP SCRIPT

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

former_member215781
Active Participant
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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