BAdI: Change of Active Tab Page in Desktop Detail Area
BAdI: Change of Active Tab Page in Desktop Detail Area
Use
This Business Add-In (BAdI) is used in the Extended Warehouse Management (EWM) component.
If you double-click an object in the tree control in the work center, different tab pages are displayed in the bottom section of the screen, depending on the object type. You can use this BAdI to define which tab pages are to be in the foreground after you double-click them.
You can use the methods of this BAdI for object types Handling Unit and Product.
The methods of this BAdI contain the following parameters:
- IV_OBJECT_TYPE: Type of the object
- 6 for a handling unit (HU)
- 7 for a product
- IV_OBJECT: GUID of the object
- IV_OBJECT_PARENT: GUID of the higher-level object
- IS_WORKSTATION: Structure with work center profile.
- IS_WORKSTTYP: Structure with work center layout.
- IO_PACK: Reference to the instance of the packing class that is used in the function group /SCWM/UI_PACKING
- CV_TAB: Function code of the tab page that is to be in the foreground.
Standard settings
In the default implementation, the product is checked to see whether texts are displayed for this item. If this is the case, the system displays the text tab page.
The BAdI is designed for multiple use.
The BAdI is filter-dependent.
Activities
For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs – Embedding in the Enhancement Framework.
See also:
The BAdI uses the interface /SCWM/IF_EX_WRKC_UI_DTL_TABS. For more information, display the interface in the Class Builder.