cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging ABAP Code From Within Webdynpro Application

eyal_alsheikh
Active Participant
0 Kudos

Hello Experts,

We use ABAP RFC Function in Our Java Webdynpro application, We need to debug the parameters pass from the webdynpro application to the ABAP Function.

In order to do that we:

1. Defined a JCO connection with "Single Server Connection" as the Destination Type.

2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.

3. We have activate the external debugging in se80 Utilities -> Settings

4. We have set an HTTP (external) breakpoint in the ABAP code,

As mentioned in the article:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea7...

However, we recieve a dump in the R3 system:

RFC_DEBUGGING_NO_DIALOG_USER

ShrtText

RFC debugging is only possible with dialog user

What happened?

You attempted to debug a program by RFC. However, in this destination

there is a user whose user type permits communication without dialog.

This means, for example, that debugging with a system user is not

possible.

What can you do?

Restart the program and take note of the following:

You can do one of the following:

1. You can change the user listed in the RFC destination and enter a

dialog user.

2. In the target system of RFC you can change the user type of the user

listed in the RFC destination to 'dialog'.

3. You can avoid this runtime error by omitting the RFC debugging.

If in the ABAP debugger the statement cursor points to the statement

(CALL FUNCTION ... DESTINATION), you must choose the function

'Execute'.

We checked and the user we use is defined as dialog in SU01 and the user that the webdynpro use to call the functio is the same user as was logged in.

What else should we do?

Thanks,

Eyal

Accepted Solutions (1)

Accepted Solutions (1)

former_member185954
Active Contributor
0 Kudos

Hello Eyal,

Where are you checking if the user is a dialog user source or target ?

Please check if the userid is a dialog user in the target system.

Regards,

Siddhesh

Answers (1)

Answers (1)

eyal_alsheikh
Active Participant
0 Kudos

Dear Siddhesh,

Can you please give more detail guidance what to do?

Thanks,

Eyal

former_member185954
Active Contributor
0 Kudos

Hello Eyal,

You mentioned the following..

1. Defined a JCO connection with "Single Server Connection" as the Destination Type. 2. We have loged on to the relevant system and client using SAP GUI with the same user that run the webdynpro application.*<---The system that you logged into is your source system*

3. We have activate the external debugging in se80 Utilities -> Settings
4. We have set an HTTP (external) breakpoint in the ABAP code,

and the name of the system defined in the RFC connection will be your target system.

As per the response (dump error message) in this target system you need to have a dialog user.

And this dialog user needs to be defined in the RFC destination that is being used to connect to the target system.

Regards,

Siddhesh