2013 Dec 04 12:52 PM
Hello guys.
Can someone tell me how to debug Standard SAP Programs, like this one: BARCBO01? I now how to debug it from the begging but it doesn't help me that. I need to debug it after it's started.
There is no way to use the command: /h. Because it shows like a subscreen. I also created a .SAP file with this code inside:
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
But it doesn't work it shows me the Not icon, like this:
2013 Dec 04 1:08 PM
Good morning Taly.
Please go to SE38 transaction and the program field put the name 'BARCBO01'.
Click to show the code .
Appears the program code.
Click in menu in red button Stop and will create a break point now when you start(execute) the program the debug mode is showed.
Hope helped you.
2013 Dec 04 1:16 PM
As i mentioned in the begging... I need to debug it after I execute... I don't need it in the begging, I need it when I click somewhere in the program after the execution
2013 Dec 04 1:22 PM
Hi,
After execution, You can put /h and then click somewhere u want. The debugger will start.
Thanks
Vijay
2013 Dec 04 1:45 PM
As I mentioned above, "There is no way to use the command: /h. "... it is created as a subscreen.. And if I don't close it I can't touch any buttons behind the screen.
2013 Dec 04 1:28 PM
Hi,
You can't debug it with the .sap
You can't debug it using the field transaction
you have to debug it form the beginning or make a trace on it, and put break on the source code.
regards
fred
2013 Dec 04 1:45 PM
Hi,
if it is a program with GUI, you can create a SAP shortcut with the command /h in it. Then you can drag shortcut to the transaction screen, it will activate debugger mode. Hope it helps.
BR
Paul
2013 Dec 04 1:46 PM
As I said in my question above:
I also created a .SAP file with this code inside:
[FUNCTION]
Command=/H
Title=Debugger
Type=SystemCommand
With this I meant an SAP shortcut...
This didn't work either... it shows me the NOT icon like in the image above
2013 Dec 04 1:54 PM
I have made the test, I think you really can't debug it easily
that looks like a webdynpro .. you can't drag/drop .. you could only put an external break point .. no ?
2013 Dec 04 2:06 PM
Hi
After execution of Standard SAP program; create one more session and execution transaction code SM50(Process overview). In the process overview; you will be able to see program name which you have executed/running. Select this programs and click on option "debug"(available in SM50 menu)
Regards,
2013 Dec 04 4:06 PM
Oh ok sorry .
In this case use the sm50 , open a new session and debug in sm50.