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: 

sapscript problem

Former Member
0 Kudos

Hi Folks,

I am facing a problem in sapscript. I have to display line items the code of which is placed under a text element. when the code comes to the text element it skip the code without executing. please help me out.

/E 525

/: PROTECT

  • &REGUP-BELNR& &REGUP-VBLNR& &REGUP-XBLNR&

/: ENDPROTECT

The code associated to the text element is not at all getting executed.

7 REPLIES 7

Former Member
0 Kudos

Hi Santosh ,

Please debug the form and see what is the value being passed.

Please also check whether the form is active .

Regards

Arun

praveen_kumar132
Participant
0 Kudos

Hi ,

Activate Sapscript and activate Script Debugger in SE71. run the program . u can get to know how it is skipping the lines. . and moreover check the size of the page and window also

Regards,

Praveen.

0 Kudos

Hi,

After activating the script and debugger, The control is coming to Main Window and executing the text elements except the one I want to execute.

Actually my script is associated with the std print program rffous_c.

But the problem is control is not coming to the text element 525 which is used to print line items.

Please help me in this case.

0 Kudos

Hi,

did u write that Text element in ur... 'WRITE FORM '... u need to mention ur corresponding Text Element in function module .. WRITE FORM .. check it once..

Regards,

Praveen.

former_member598013
Active Contributor
0 Kudos

Hi Santosh,

I think when you try to print the code you have mentioned PRTOECT ENDPROTECT as a result it is not coming it might be coming on the next page.

Please check.

Thanks,

Chidanand

Former Member
0 Kudos

People like you break my heart.

You dont follow up on your threads (questions) and multiple post them.

The only advice I can give (in the absence of a "Hall of Shame" - including telephone and credit card details) is that folks who answer do not rush in to answer, but rather take a look at the track-record of the poster.

If they are abusing the forums, do not answer. Just hit the "Abuse Reports" button (the triangular warning icon on the right-hand (ironically not the left) task bar.

Former Member
0 Kudos

Thanks folks