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

t.code debug

Former Member
0 Likes
463

Hi :

In ME52N , when im displaying PR in sandbox, depending on the cost in valuation tab its picking the tab Release Stratagei, but in Development sys. for the same config . its not picking the Release Stratagei tab ...how can i debug the T.Code.

Thanks.

Raghu

3 REPLIES 3
Read only

Former Member
0 Likes
439

do u have the authorizations ?

check /nSU53 after ME52N.

Regards

Peram

Read only

Former Member
0 Likes
439

Hi Raghu,

Debugging a T Code is not an easy task , as it will go through a whole lot of standard SAP code.

To debug it , you can use dynamic debugging using '/h' .

at whatever point you want to start debugging just put /h and press enter , from the very next step you try to perform , you can actually debug on what all is happening in background.

Hope that solves your query.

Reward points if helpul.

Harmeet.

Read only

Former Member
0 Likes
439

Hi,

type /h in command line and try to execute the program. Another way is to set break-point at the function module or the required line and do single step execute or execute.

Third option in certain cases is to check for sy-subrc <> 0 and proceed from there by making it 0 by updating the sy-subrc in the debug editor and see how the program behaves if the value is what you enterd in the debug screen. For certain case try to use WATCH POINT feature in debug editor.

Regards

Sudheer