0% found this document useful (0 votes)
7 views8 pages

12 - Debugging WebUI Components

The document provides a step-by-step guide to debugging the BP search component (BP_CONT_SEARCH) in the SAP Web UI. It details how to set breakpoints in the code, navigate through the component structure, and access the ENTITY_LIST to view business partner instances. The instructions include using specific transaction codes and navigating through the user interface to enter debug mode.

Uploaded by

lukaswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views8 pages

12 - Debugging WebUI Components

The document provides a step-by-step guide to debugging the BP search component (BP_CONT_SEARCH) in the SAP Web UI. It details how to set breakpoints in the code, navigate through the component structure, and access the ENTITY_LIST to view business partner instances. The instructions include using specific transaction codes and navigating through the user interface to enter debug mode.

Uploaded by

lukaswal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

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

• Activate break point from component workbench

• 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).

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


below.

Kalian trainerkalyan@[Link]
"

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

"

• Now open Web UI using transaction CRM_UI.

Kalian trainerkalyan@[Link]
• From home page, select Account Management-Contacts.

• Select Search option.

And you will be in debug mode.

Kalian trainerkalyan@[Link]
• Now press F6 to move on next step. Double click on result, get the variable in display
panel.

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

Kalian trainerkalyan@[Link]
"

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

• Double click on the entry and select attribute CONTAINER_PROXY.

Kalian trainerkalyan@[Link]
• Double click on DATA_REF attributes.

• Select ATTRIBUTE_REF.

Kalian trainerkalyan@[Link]
This is the structure in which you can see your object instance data.

Kalian trainerkalyan@[Link]
Kalian trainerkalyan@[Link]

You might also like