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

sapscript

Former Member
0 Likes
607

FM WRITE_FORM is getting invoked from my print program.. But the values are not getting displayed in my print layout..

How do I debug the script in my sapscript to find out whY MY values are not getting displayed?

And another strange thing is that it is not getting displayed when I test my form from SE71 also..

I have activated the sapscript debugger.. And it shows the popup window..What are the values I should populate in this? Should I turn on the trace?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
574

Hi,

When ever you get the popup just press enter to go step by step.

4 REPLIES 4
Read only

Former Member
0 Likes
574

Hi,

Just check those variables are global because if you are calling write_form in a subroutine and the variables are local then those variables will not be visible in the script.

The variables used in Script should be declared Global.

Cheers,

Satya

Read only

Former Member
0 Likes
575

Hi,

When ever you get the popup just press enter to go step by step.

Read only

Former Member
0 Likes
574

When I goto SAPScript debugger, is there a way that I can stop directly at my 'element'.. When I do single step, it just takes a long time to get to my element?

What is the difference between single step, Execute (F6) and Continue?

Thanks for the help

Read only

0 Likes
574

In the POP-UP you can put text element name. Single step will go column by column & F6 will go line by line & Continue will go to next element.

Hope this helps.

Bipin