SAP ABAP IMG Activity CFB_MIGO_SCALES_TAB_ (BAdI: Modifications for Weighing)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-PI-CFB (Application Component) Consumer Products for Food & Beverage
     CFB (Package) PP, Food and Beverage Industry
IMG Activity
ID CFB_MIGO_SCALES_TAB_ BAdI: Modifications for Weighing  
Transaction Code S_EBS_44000160   (empty) 
Created on 20101015    
Customizing Attributes CFB_MIGO_SCALES_TAB_   BAdI: Modifications for Weighing 
Customizing Activity CFB_MIGO_SCALES_TAB_   BAdI: Modifications for Weighing 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name CFB_MIGO_SCALES_TAB_BADI    

Use

This Business Add-In (BAdI) is used in the Consumer Products Food and Beverage component (PP-PI-CFB). You can use this BAdI to make the following modifications to the weighing function during goods receipt (transaction MIGO):

  • Define the visibility of the Weigh tab page

    Method GET_TAB_VISIBILITY (Control Tab Page Visibility)

  • Change the title of the Weigh tab page

    Method GET_TAB_NAME (Get Customer-Specific Title Element)

  • Control the relevance of the scale function for each individual item

    Method GET_TAB_RELEVANCE (Check Relevance of the Tab Page Subscreen for Item)

  • Change the output text for items that are not relevant for weighing

    Method GET_NO_TAB_TEXT (Provide Output Text if Tab Not Relevant)

Requirements

You have activated the PP, Food and Beverage Industry (LOG_PP_CFB) business function.

Standard settings

For more information about the standard settings (filters, single or multiple use), see the Enh. Spot Element Definitions tab in the BAdI Builder (transaction SE18).

There is no default coding for this BAdI.

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.

Example

You want to change the tab page title from Weigh to Scales. You first implement all the methods of the BAdI without any functional contents. In the IF_EX_CFB_MIGO_SCALES_TAB_BADI~GET_TAB_NAME method, you enter the following code:

Consumer Products

METHOD if_ex_cfb_migo_scales_tab_badi~get_tab_name.

cv_tab_name = 'Scales'.

ENDMETHOD.

Activate the implementation.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
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  20101126 
SAP Release Created in 606