cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging

david_fryda2
Participant
0 Kudos

Hi everyone,

I have a simple WebDynPro application that calls a BAPI.

I want to know if it is possible to add a breakpoint in the ABAP code of the BAPI and when I execute the WebDynPro, I will have the possibility to debug the ABAP code.

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi David

1. Log on to sap.

2. Go to RFC.

3. Choose Utilities->Settings and then the ABAP Editor tab followed by Debugging.

4.Enter the user for which the debugging session is to take place (By Default it will be the user who logged in to SAP gui).

4.1 Keep a external break point in your RFC code.

5. The user you have used in JCO connection in J2EE, User you have used in creating the models and the logged in user (SAP GUI) should be same.

6. Deploy your webdynpro application and run.

Kishore

Former Member
0 Kudos

Hi

In addition to what kishore said, ensure that the JCO connections created in your WebDynpro content administrator have the same user name as that of the user currently logged on to SAP.

Meaning login to SAP using user name "DEVELOP"

In the JCO connection for WD_MODEL_DATA and WD_RFC_METADATA the connection should use the same user name namely "DEVELOP".

Then only it will work else you will have a problem.

regards

ravi

david_fryda2
Participant
0 Kudos

Thanks to everyone for the help.

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Maybe you have to change to setting of your break point in SAP.

Utilities(M)==>Settings

in Abap Editor choose debugging and active the checkbox "Actv."

Hope it's help

Joseph

david_fryda2
Participant
0 Kudos

Hi Joseph,

Usually I have the possibility to change this option.

But, in this new job I do not see this option.

Maybe the problem I do not see it is because I have low privileges ?

Does it work for you....?

Nice Day nase