cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging portal WebDynpro application

Former Member

Hi SAP folks,

I've an issue with debugging a WebDynpro application which is being called from the portal , I tried setting various break points like external ,hard coded and user specific but they didn't trigger .

Here is the scenario:

We've a portal application and which is calling a WebDynpro application in the backend SAP system.

Our portal application using the common UID , let's assume: BATCH_USR , which is a common id for the portal users to access this WebDynpro application in the backend SAP system

I'm logging in into SAP system with UID, let's assume : 11****14 and setting breakpoints , I also tried user breakpoint with the batch username BATCH_USR.

I understand that , because my WebDynpro application is being called from the BATCH_USR , the breakpoints I set through the SAP UID are not triggering in the backend SAP system, and I can't trigger debugger for BATCH_USR because it's a 'System' user not a 'Dialouge' type user.

I've verified SICF services , for our WebDynpro component , the log on data is set with the UID: BATCH_USR and procedure filed as: Required with logon data. , Security requirement as: SSL.

Is there any workaround or any way to debug this kind of scenario ?

Accepted Solutions (1)

Accepted Solutions (1)

HammerM
Active Participant
0 Kudos

Hi Vijay

Presuming you have the authorisations, just use transaction SU01 to change user BATCH_USR and change the User Type to Dialog in the Logon Data tab of SU01

Then change it back System again after your debugging is complete.

Former Member
0 Kudos

Hi Mark,

Thanks for your reply.

I'm pretty sure that the above mentioned solution can work in DEV/TEST environments with the right authorizations, and it also needed password for BATCH_USR (Depends on the security configurations for the application and the user authentication).

I used a FM to trigger debugging session for the BATCH_USR with my SAP system UID login and able to finish the job.

Thank you so much for your response and help.

Answers (1)

Answers (1)

HammerM
Active Participant
0 Kudos

Hi Vijay

I assume you're debugging in a non-production environment, so why not try just setting BATCH_USR to a dialogue user just during the debug session.

Hope that helps

Former Member
0 Kudos

Hi Mark,

Thanks for your response.I appreciate it.

Yes, for now, I'm debugging in non-production environment.

Basically, I'm unable to trigger a debugging session for the BATCH_USR. Do you have any suggestions on how to trigger a debugging session and change BATCH_USR to a dialogue user? .