Skip to Content

Hello Everybody,

The common problem as a beginner that we face while working on web UI is to check data in debug mode. It is even more painful if you do not have hands on object oriented ABAP. I was just lost when I saw number of classes in debugger and I was really struggling on how to see data in debug mode.

I heard most of the people saying that you can not see data in debug mode and you will have to code if you want to see data in debug mode. But guys I came to know later on that we can see object instance data in ABAP debugger. And here are the steps:

We will take an example of BP search, component name is: BP_CONT_SEARCH

  • Activate break point from component workbench

image

  • Put a break point in your code where data is coming from BOL.

For doing this, display component BP_CONT_SEARCH in component workbench (Transaction code: BSP_WD_CMPWB).

image

 

Open Search view (BP_CONT_SEARCH/Search) in Component Structure Browser as shown below.

image

 

Go to event EH_ONSEARCH  and put a external break point on statement.

image

  • Now open Web UI using transaction CRM_UI.

image

  • From home page, select Account Management-Contacts.

image

  • Select Search option.

image

 

And you will be in debug mode.

image

  • Now press F6 to move on next step. Double click on result, get the variable in display panel.

image

  • Now double click on Result and select ENTITY_LIST. This is the table that contains all the instances for business partner.

image

  • Now double click on ENTITY_LIST and navigate to any one record in table.

image

  • Double click on the entry and select attribute CONTAINER_PROXY.

image

  • Double click on DATA_REF attributes.

image

  • Select ATTRIBUTE_REF.

image

 

This is the structure in which you can see your object instance data.

image

 

So enjoy :). I will keep you posting anything new that I find.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply