SAP ABAP IMG Activity SIMG_MB_GOODSMOV_DCI (BAdI: Set Delivery Completed Indicator)
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 SIMG_MB_GOODSMOV_DCI BAdI: Set Delivery Completed Indicator  
Transaction Code S_PR0_40000293   (empty) 
Created on 20061218    
Customizing Attributes SIMG_MB_GOODSMOV_DCI   BAdI: Set Delivery Completed Indicator 
Customizing Activity SIMG_MB_GOODSMOV_DCI   BAdI: Set Delivery Completed Indicator 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name MB_GOODSMOVEMENT_DCI    

Use

This Business Add-In (BAdI) is used in the Goods Receipt component (MM-IM-GR).

You can use this BAdI to implement your own logic for controlling when the delivery completed indicator is set for a purchase order item.

For example, you can define that the Delivery Completed status of a purchase order item is retained even after further partial goods receipts (example implementation). Furthermore, you can, for example, define whether the delivery completed indicator for a purchase order item is deleted as soon as a return is entered for the purchase order item.

This BAdI is called when a goods receipt is processed, before the logic for setting the delivery completed indicator in the "Check Quantities" form of program SAPFM07M.

Requirements

You have activated the business function MM, Integration of Materials Management and Financial Accounting (LOG_MMFI_P2P).

Standard settings

As standard, no BAdI implementation is activated.

This BAdI is not for multiple use and is not 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.

Example

If you use example implementation MB_GOODSMOVEMENT_DCI_EXAMPLE, the system uses the following logic:

A purchase order item is set to Delivery Completed even though part of the purchase order quantity is still open. You enter a further partial goods receipt and define that the system sets the delivery completed indicator automatically. When you post this additional partial goods receipt, the delivery completed indicator is not deselected for the purchase order item. Budget is only released for the delivery quantity of the partial goods receipt that was entered subsequently, not for the entire open quantity of the purchase order item.

To display sample code, in the BAdI Builder choose Goto --> Sample Code --> Display.

See also:

Method

Set "Delivery Completed" Indicator

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  20080319 
SAP Release Created in 700