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: 

Debug Script

Former Member
0 Kudos

Hi Experts,

I have developed a Script for Picking List, which is called in background.

How do I debug my script ?

I tried hardcoding 'Break- point' in the Driver program but no help ...

Searched in SDN as well could not find any doc.

Please guide me ..

Regards.

12 REPLIES 12

Former Member
0 Kudos

Dear Raghu,

In SE71 enter layout name, then go to

Utilities->Activate debugger.

Now execute your driver program, now control goes to

debug mode.

naimesh_patel
Active Contributor
0 Kudos

When the job runs in the Background, it will not stop at the Break Point.

Pick list will be generated by some kind of Driver Program. Set the Break Point in the Driver Program and RUN the program in Foreground. You may have to provide inputs like TO, output type and so on.

Regards,

Naimesh Patel

0 Kudos

Hi,

The Driver program for Pick List is RVADEK01.. how do I run in foreground ???

Former Member
0 Kudos

the driver program RVADEK01 will be attached to a layout set...Get the name of the layout set

goto SE71...specify the layout name and from utilities --> activate debugger...

0 Kudos

No.. that doesnt work ...

0 Kudos

Did you assign your SAPscript to the Driver Program in NACE Tcode, if not Assign your SAPScript in NACE Tcode.

Goto SE71, Give your Script name, Utilities, Activate Debugger.

Now Goto the concerned Tcode and Give Print, the debugger will get activated.

Please check if those T-codes helps you.

Picking Output

V/38 - Maintain the output types

OVLT - Assign the picking list types to the shipping points

V/53 - Assign the picking lists to own forms and programs

Former Member
0 Kudos

Radhu....

Set the break point in the driver program whichever is used..In the same session , go to se71 , specify the

form name , then go to utilities->activate debugger...

Now, execute the transaction which generates the SAPscript form ...Now immediately control goes to debugging ...Now u can get into both dirver program debugging and form debugging

Thanks

Santhosh

0 Kudos

Raghu..One more thing..execute the transaction in the same session.....

0 Kudos

But I have to run the script in diff client ... so cant do all those in same session ??

0 Kudos

Hi,

goto se71.

give your script name.

goto utilities and click activate debugger.

it will take you to teh debug mode when you run.

0 Kudos

Guys,

Its running in Background so ... Activating Debugger in se71 will not work .. I even tried hard coding break-point in driver program ....

is there any other way out ???

Former Member
0 Kudos

Use prog RSTXDBUG .