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

Debug Script

Former Member
0 Likes
1,364

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
Read only

Former Member
0 Likes
1,261

Dear Raghu,

In SE71 enter layout name, then go to

Utilities->Activate debugger.

Now execute your driver program, now control goes to

debug mode.

Read only

naimesh_patel
Active Contributor
0 Likes
1,261

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

Read only

0 Likes
1,261

Hi,

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

Read only

Former Member
0 Likes
1,261

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...

Read only

0 Likes
1,261

No.. that doesnt work ...

Read only

0 Likes
1,261

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

Read only

Former Member
0 Likes
1,261

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

Read only

0 Likes
1,261

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

Read only

0 Likes
1,261

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

Read only

0 Likes
1,261

Hi,

goto se71.

give your script name.

goto utilities and click activate debugger.

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

Read only

0 Likes
1,261

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 ???

Read only

Former Member
0 Likes
1,261

Use prog RSTXDBUG .