SAP MDG · COMMUNITY
How do I integrate the BCV side panel into a Web Dynpro ABAP application?
Integrate BCV in three parts: confirm prerequisites, initialize the side panel API, and tag the hosting application values. For plain Web Dynpro, the guide uses `CL_WD_SIDE_PANEL_API=>GET_API( )`, `MO_API->INIT`, the `OPEN_SP` action, and `PAGE_HEADER` as the page header ID; `CONTEXT_KEY` is the mandatory BCV tag.
Integrate BCV in three parts: confirm prerequisites, initialize the side panel API, and tag the hosting application values. For plain Web Dynpro, the guide uses `CL_WD_SIDE_PANEL_API=>GET_API( )`, `MO_API->INIT`, the `OPEN_SP` action, and `PAGE_HEADER` as the page header ID; `CONTEXT_KEY` is the mandatory BCV tag.
BCV side panel integration in Web Dynpro follows one pattern: configure BCV usage, initialize the side panel, and tag the hosting application data so the panel can show context-sensitive content. The guide supports plain Web Dynpro ABAP as well as FPM-based applications. For plain Web Dynpro, the sample uses `CL_WD_SIDE_PANEL_API=>GET_API( )`, `MO_API->INIT`, a page header named `PAGE_HEADER`, and an action named `OPEN_SP`.
Process flow
- Confirm `SAP_BS_FND` is installed and `/BCV/MAIN` is active.
- Check user authorization for BCV execution, using `SAP_BCV_ADMIN` as a template if needed.
- Create or identify a BCV context key and configure the relevant meanings, queries, and query views.
- For plain Web Dynpro, add a view attribute `MO_API` of type `IF_WD_SIDE_PANEL_API`.
- Retrieve the current view using `WD_THIS->WD_GET_API( )` and the side panel API using `CL_WD_SIDE_PANEL_API=>GET_API( )`.
- Initialize the side panel with `MO_API->INIT`, using the release-appropriate `SIDE_PANEL_CONFIG_ID` and `OPEN_ACTION_NAME = 'OPEN_SP'`.
- Create the page header with the exact name `PAGE_HEADER`.
- Implement the `OPEN_SP` action to call `WD_THIS->MO_API->OPEN( )`.
SWF5Check business function /BCV/MAIN
Verify that the BCV business function is active.
SM30View /BCV/V_CLF
Create or maintain the BCV context key.
Referenced tables
| Object | Purpose |
|---|---|
TADIR | Repository directory concept referenced for object ownership in the related ABAP foundation examples; not part of the BCV guide itself. |
The remaining configuration, implementation details, and testing guidance continue from this answer more…
Related questions and keywords
Alternative questions
- How can I add the BCV side panel to an SAP MDG screen?
- What is the general BCV side panel integration process?
- How does a hosting application integrate Business Context Viewer?
Possible questions
- Which Web Dynpro applications can use the BCV side panel?
- Does BCV work with FPM?
- What are the prerequisites for BCV side panel integration?
- Do I need a context key for the side panel?
- What authorization is required for BCV?