09-09-2008 4:24 PM
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.
09-09-2008 4:29 PM
Dear Raghu,
In SE71 enter layout name, then go to
Utilities->Activate debugger.
Now execute your driver program, now control goes to
debug mode.
09-09-2008 4:29 PM
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
09-09-2008 4:31 PM
Hi,
The Driver program for Pick List is RVADEK01.. how do I run in foreground ???
09-09-2008 4:35 PM
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...
09-09-2008 4:40 PM
09-09-2008 5:00 PM
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
09-09-2008 5:15 PM
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
09-09-2008 5:16 PM
Raghu..One more thing..execute the transaction in the same session.....
09-10-2008 9:33 AM
But I have to run the script in diff client ... so cant do all those in same session ??
09-10-2008 9:58 AM
Hi,
goto se71.
give your script name.
goto utilities and click activate debugger.
it will take you to teh debug mode when you run.
09-10-2008 11:06 AM
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 ???
09-10-2008 9:40 AM