cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging running transactions in NWBC

srinivas_cheruku
Explorer
0 Kudos

Hello All,

We are trying to debug the code that runs a transaction when using nwbc (SAP Business Client). We are not running SAP Easy Access but entering the transaction code on the NWBC screen shown as soon as you authenticate. We are unable to find the right class/program/function module where we can add the breakpoint to troubleshoot.

Appreciate if anyone can help with this.

Thanks,

Srini

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi Srini,

I'm not sure if that is possible. But you could try to active the Business Client trace. With the information you might find out a little more about what's going on in the Business Client.

To do so, open the menu in the left corner of the business client with holding the control button on your keyboard to get the extended menu:

help -> extended supportability -> create support report etc.

But as I've already mentioned, I'm not sure if that will help.

srinivas_cheruku
Explorer
0 Kudos

Hello Karsten,

Thank you for replying.

The issue is that I want to run the debugger when I start the transaction and not after starting the transaction. I want to see the code that does the authorization checks when a transaction is started in NWBC (using HTTP).

When using SAP GUI, AUTH_CHECK_TCODE function module is called to check authorizations whereas when using NWBC it is not calling AUTH_CHECK_TCODE but still checking for authorizations and denying if I am not authorized. I want to know the code that checks authorizations when using NWBC

Appreciate your help.

Thanks,
Srini

kasch-code
Participant
0 Kudos

Hello Srini,

After starting the transaction in NWBC, you can select "System" -> "Utilities" -> "Debugging ABAP" from the top-left "Menu" button. This will trigger the debugger on the next user action.

Kind regards,
Karsten