SAP ABAP IMG Activity SHP_BADI_LECOMP_CORR (Business Add-In for Correlating Quantities of Subcontracting Components)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LE-SHP (Application Component) Shipping
     VL_SFWS_SC_OM (Package) Enhancements for Outsourced Manufacturing in LE-SHP
IMG Activity
ID SHP_BADI_LECOMP_CORR Business Add-In for Correlating Quantities of Subcontracting Components  
Transaction Code S_E4A_94000261   (empty) 
Created on 20080701    
Customizing Attributes SHP_BADI_LECOMP_CORR   BAdI: Correlate component quantities with new quantity of inbound delivery 
Customizing Activity SHP_BADI_LECOMP_CORR   BAdI: Correlate component quantities with new quantity of inbound delivery 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SHP_BADI_LECOMP_CORRELATE    

Use

This Business Add-In (BAdI) is used in the Logistics Execution - Shipping (LE-SHP) component.

The quantity of a subcontracting component correlates to (that is, exists in a specific relationship with) the quantity of the inbound delivery item. If changes are made to the quantity of an inbound delivery item, the quantities of the associated subcontracting components are adjusted automatically. (No automatic adjustments are made if the Fixed Quantity indicator is set.)

This BAdI is called once for each subcontracting component for which a quantity correlation has occurred. You can use the CORRELATE method to change the correlation result of a subcontracting component.

  • Because other fields may have changed in addition to the quantity in the inbound delivery item, both the old inbound delivery item data and the new inbound delivery item data is passed in the parameters IS_ITEM_OLD and IS_ITEM_NEW.
  • The parameters IS_COMP_OLD and IS_COMP_NEW contain component data before and after correlation. They differ only in that they contain different quantity values (ERFMG, BDMNG).
  • The parameter IF_ERFMG_NEW_NOT_ROUNDED contains the correlation result before rounding.
  • The parameter CF_ERFMG_NEW contains the correlation result after rounding and is originally IS_COMP_NEW-ERFMG. This value can be changed by the BAdI implementation.

Parameters:

IS_ITEM_OLD     Inbound delivery item with old quantity

IS_ITEM_NEW     Inbound delivery item with new quantity

IS_COMP_OLD     Component before correlation

IS_COMP_NEW     Component after correlation

IF_ERFMG_NEW_NOT_ROUNDED     New component quantity before rounding

CF_ERFMG_NEW     New component quantity

Requirements

Standard settings

In the standard system, there is no activated BAdI implementation. This BAdI is designed for multiple use. All activated implementations are called and executed. This BAdI 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

See also

This BAdI uses the interface IF_EX_SHP_LECOMP_CORRELATE. For more information, display the interface in the Class Builder.

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  20080701 
SAP Release Created in 604