SAP ABAP IMG Activity BW_BADI_BBS2 (BAdI: dynamic determination of jump targets at runtime)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM (Application Component) Warehouse Management
     RSIMG (Package) IMG Texts and Release Notes
IMG Activity
ID BW_BADI_BBS2 BAdI: dynamic determination of jump targets at runtime  
Transaction Code S_BRA_16000019   (empty) 
Created on 20090306    
Customizing Attributes BW_BADI_BBS2   BAdI: dynamic determination of jump targets at runtime 
Customizing Activity BW_BADI_BBS2   BAdI: dynamic determination of jump targets at runtime 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name RS_BBS_BADI_DYNAMIC    

Use

This BAdI interface allows you to dynamically enhance the context menu for the jump targets from a BEx report by adding jump targets to the ones defined in transaction RSBBS.

This means that the context menu cannot be enhanced until runtime, depending on the column, row, cell content (and key figure value), query or InfoProvider.

& Activities

Create an implementing class.

Method IF_RS_BBS_BADI_DYNAMIC~GET_TYPES asks which instances of classes that use interface IF_RS_BBS_BADI_HANDLER_DYNAMIC need to be considered in order to build the dynamic context menu. You can further restrict the instances by filtering the query name and InfoProvider name.

If no instances are returned, the dynamic context menu will not be displayed during the scenario. The only jump targets added to the context menu will be ones from transaction RSBBS with checkbox #Dynamic Only# deselected.

Every time the dynamic context menu is called for any instance defined with IF_RS_BBS_BADI_DYNAMIC~GET_TYPES, method IF_RS_BBS_BADI_HANDLER_DYNAMIC~GET_TARGETS asks which jump targets need to be displayed. You can restrict the display by query name, InfoProvider name or mapping. For an example of possible restrictions, see example implementation class CL_RS_BBS_BADI_DYNAMIC_EXMPL.

Methods IF_RS_BBS_BADI_HANDLER_DYNAMIC~CALL_URL, IF_RS_BBS_BADI_HANDLER_DYNAMIC~CALL_BATCH and IF_RS_BBS_BADI_HANDLER_DYNAMIC~CALL_SAPGUI are called either by URL, batch or SAPGUI depending on the scenario when you select a jump target.

Program your jump logic here.

Example

Example implementation class CL_RS_BBS_BADI_DYNAMIC_EXMPL.

Business Attributes
ASAP Roadmap ID 262   Technical and Graphical Settings 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20090306 
SAP Release Created in 730