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

co02

Former Member
0 Likes
607

hi all,

i have a sapscript in trans.co02,and i need to

1. debug the layout, but it wont let me:

not the main program and not the sapscript.

is anyone know how can i debug this program/layout?

2. in the MAIN of this sapscript there is a text that it should output.

my problem is that it show instead of one line - it cut the line in the middle and show 2 lines.

i saw that the value that take the text = 132 character.

i guess that the problem is that somehow something in this layout define that the text should output only in part of the page.

is anyone can direct me how to search this?

thanks in advanced.

dana.

4 REPLIES 4
Read only

Former Member
0 Likes
510

Dubugging of sap acript can done in two ways:

  • In the form Utilities->debugger / RSTXDBUG FM for debugging script

  • Generally SAP script contains the Layout and corresponding print program.

First go to SE71 and enter ur script name. In the same screen go to Utilities->click on activate debugger option.

Now go to SE 38 and enter ur Print Program name and execute the program.

Now you can debug the script Page wise and window wise.

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers

Read only

Former Member
0 Likes
510

U can debug the SAP Script by using the option in Utilitiy menu for Activate Debugger in transaction SE71.

Secondly, can you please check the window size for the defined element. I feel it is less than 132 and hence the break.

Read only

Former Member
0 Likes
510

Hi Dana,

if you want to Debug the Script, then Execute the Program RSTXDBUG, or Activate the debugger from Se71 Utilities -> Activate Debugger. If you want to debug the main program then put a breakpoint over there, then it will stop when you run the Script.

coming to Second one, you need to see the length of the Window, if should accept the length of the text, if it less that the text lenght then it won't come in a single line. so check your Window setings and try it ..

Regards

Sudheer

Read only

0 Likes
510

1. the problem is that i guess the person that did it, probably wrote the program as background.

so i cant debug it.

and the script - that excactly what i did - and it not debug the script.

2. the main window - i did enlarge it - and it is print the same- on 1/2 page.

is anyone has a suggestion?

thanks,

dana.