SAP ABAP IMG Activity MB_CHECK_LINE_BADI (BAdI: Check Line Before Adoption in Blocking Tables)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MB (Package) Application development R/3 inventory management
IMG Activity
ID MB_CHECK_LINE_BADI BAdI: Check Line Before Adoption in Blocking Tables  
Transaction Code S_P6B_12000036   (empty) 
Created on 20030402    
Customizing Attributes MB_CHECK_LINE_BADI   BAdI: Check Line Before Adoption in Blocking Tables 
Customizing Activity MB_CHECK_LINE_BADI   BAdI: Check Line Before Adoption in Blocking Tables 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MB_CHECK_LINE_BADI    

Use

This Business Add-In (BAdI) is used in the application component MM-IM (MM-Bestandsführung).

You can use this BAdI to perform checks at item level when you post goods movements. The structures MKPF (header data) and MSEG (item data) are returned.

The structures DM07M (dialog control) and VM07M (update control) are also available. However, the data from these structures is not stored in a database table, but instead is only used for internal control. For this reason, SAP reserves the right to change the use of these fields as required.

Requirements

Standard settings

The Business Add-In is not active in the standard system.

There is no default coding that would run without an active implementation.

There is no example coding available.

The Business Add-In is not filter-dependent.

The Business Add-In can be used more than once. All active implementations are called up and executed.

Activities

To activate the Business Add-In, you must create an active implementation. Do this in Inventory Management and Physical Inventory Customizing and choose the relevant activity under Maintain Customer-Exits and Business Add-Ins.

After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.

If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:

  1. In the dialog box, enter a name for the implementation of the Add-In and choose Create.
    The system displays the initial screen for creating Business Add-In implementations.
  2. On this screen, enter a short description for your implementation in the Implementation Short Text field.
  3. If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
  4. Save your entries and assign the Add-In to a package.
  5. To edit a method, double-click its name.
  6. Enter your implementation code between the method <Interface Name>~<Name of Method>. and endmethod. statements.
  7. Save and activate your code. Navigate back to the Change Implementation screen.
    Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step:
  8. Choose Activate.
    When the application program is executed, the code you created is run through.

For more information, see the SAP Library under SAP WebApplication Server -> ABAP Workbench (BC-DWB) -> Changes to the SAP Standard (BC) -> Business Add-Ins -> Implementing a Business Add-In.

Note that the Business Add-In can be used multiple times and therefore all active implementations are called and run through.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 3   Nonrequired activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG MB_CHECK_LINE_BADI 0 HLA0006049 Basic Functions 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050718 
SAP Release Created in 470