Application Development 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: 

How to Debug the WebDypro Program

Former Member
0 Kudos
158

Hi all,

I am a WebDynpro beginner developer. I did some coding recently, and my question is how to debug the Webdynpro program. I find a button in the toolbar, "Set/Delete External Breakpoint". But every time I press it, There is a message occured "User *** is locked" (User *** is my user name in SAP).

Is there some additional setting if I want to use debugging??

Thanks .

Ming

5 REPLIES 5

Former Member
0 Kudos
104

Hi

In Your case the package is BBP_BUPA and you could see your internet service listed in this package , ie BBPMAININT.This internet service is calling the transaction BBP_VENDOR_CREATE .

Now the you could go to the corresponding program and debug

Program : BBP_VENDOR_CREATE

PAI : CHECK_OK_CODE

You could go to the program and check the PAI module CHECK_OK_CODE , where all the button actions are defined.

<b>Go to the interface if_wd_mesagge_manager in SE80 and open the implementing class. Then set the break point inside the report_error_message method.</b>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/d3802ee7-0b01-0010-1dae-e1b999e4d195">web dynpro debug</a>

<i>or search from here</i>

<a href="/people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos dynpro blog</a>

Reward all helpfull answers

Regards

Pavan

0 Kudos
104

> Hi

>

> In Your case the package is BBP_BUPA and you could

> see your internet service listed in this package , ie

> BBPMAININT.This internet service is calling the

> transaction BBP_VENDOR_CREATE .

>

> Now the you could go to the corresponding program and

> debug

>

> Program : BBP_VENDOR_CREATE

> PAI : CHECK_OK_CODE

>

> You could go to the program and check the PAI module

> CHECK_OK_CODE , where all the button actions are

> defined.

>

>

> <b>Go to the interface if_wd_mesagge_manager in SE80

> and open the implementing class. Then set the break

> point inside the report_error_message method.</b>

>

> <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/pr

> troot/docs/media/uuid/d3802ee7-0b01-0010-1dae-e1b999e4

> d195">web dynpro debug</a>

>

> <i>or search from here</i>

>

> <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub

> /wlg/3861">web dynpro blog</a>

>

>

> Reward all helpfull answers

>

> Regards

> Pavan

Hi Pavan,

Thanks for your reply. I am confued about the answer? Could you please say more detail?

Regards

Ming

Former Member

jaideeps
Product and Topic Expert
Product and Topic Expert
0 Kudos
104

hi,

chk out this link..

thanks

jaideep

*reward points if helpfull...

Former Member
0 Kudos
104

Many thanks for your help. I did the same as

) To Debug the Webdynpro Abap application,

In SE80 Menu bar, Goto Utilities -> Settings -> Choose Abap editor tab and then choose Debugging tab inside it. Mention the corresponding Username and check the IP matching checkbox.

To Set breakpoints: Place the cursor on the abap code and click the Stop button or goto Utilities->External Breakpoints -> Set/Delete External Breakpoints.

But When I did set the Exteranal breakpoint, The message still occurs as before "User *** is locked" (User *** is my user name in SAP).

Do I need some others authorization to use debug? I can develop Webdynpro in the system.