SAP ABAP IMG Activity MB_MIGO_ITEM_BADI (BAdI: Changing of Item Data in Transaction MIGO)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM (Application Component) Customer Relationship Management
     CRM_APPLICATION (Package) All CRM Components Without Special Structure Packages
       MB0C (Package) Customizing R/3 inventory management
IMG Activity
ID MB_MIGO_ITEM_BADI BAdI: Changing of Item Data in Transaction MIGO  
Transaction Code S_AL0_96000652   (empty) 
Created on 20020110    
Customizing Attributes MB_MIGO_ITEM_BADI   BAdI: Changing of Item Data in Transaction MIGO 
Customizing Activity MB_MIGO_ITEM_BADI   BAdI: Changing of Item Data in Transaction MIGO 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MB_MIGO_ITEM_BADI    

Use

Application component: MM-IM-GR-MIGO

The Business Add-In (BAdI) MB_MIGO_ITEM_BAdI enables you to set the storage location and item text in the transaction for goods movements (MIGO).

The Business Add-In is called when a new item is inserted in MIGO or when an existing item is changed.

If changes are made at header-level, the Business Add-In does not run; the header data is then transferred to the external application for information.

All available header and item data is transferred from MIGO to the external application.

The determined storage location and item text of a material document item is transferred back from the external application.

Note
The Business Add-In is called in MIGO at different times. The external application must be prepared for this.

Requirements

Standard settings

In the standard system, the Business Add-In is not active.

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

The Business Add-In is not filter-dependent.

The Business Add-In cannot be used more than once.

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.

For more information about this procedure, see the SAP Library under

  • Basis Components -> ABAP Workbench -> Changing the SAP Standard -> Business Add-Ins -> Implementing Business Add-Ins.

Example

Storage location determination
The Business Add-In should be used for a customer-specific storage location determination.

Item text
Goods receipt for purchase order with account assignment: As the purchase order item does not have a material number, the material short text in the puchase order should be adopted as the item text.

Example of source text:

IF IS_GOITEM-MATNR IS INITIAL.

E_ITEM_TEXT = IS_GOITEM-MAKTX.

ENDIF.

If the material short text is to be adopted as the item text for all goods movements, the source text only consists of the following line:

Example of source text:

E_ITEM_TEXT = IS_GOITEM-MAKTX.

Further notes

Documentation on the BAdI method:

Change particular fields of a line (GOITEM)
ITEM_MODIFY

You can also call the documentation on the BAdI method via the menu, by carrying out the following steps:

  1. Choose the tab page Interface.
  2. Double-click on the relevant method.
  3. Click on the right mouse button and choose Component documentation.

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_MIGO_ITEM_BADI 0 HLA0006045 O HLA0006047  
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050718 
SAP Release Created in 470