SAP ABAP IMG Activity ME_CHECK_ALL_ITEMS (BAdI: Run Through Items Again in the Event of Changes in EKKO)
Hierarchy
BBPCRM (Software Component) BBPCRM
   SRM-EBP (Application Component) Enterprise Buyer
     BBP_APPLICATION (Package) Structure Package EBP
       ME (Package) Application development R/3 Purchasing
IMG Activity
ID ME_CHECK_ALL_ITEMS BAdI: Run Through Items Again in the Event of Changes in EKKO  
Transaction Code S_AL0_96000867   (empty) 
Created on 20020208    
Customizing Attributes ME_CHECK_ALL_ITEMS   BAdI: Run Through Items Again in the Event of Changes in EKKO 
Customizing Activity ME_CHECK_ALL_ITEMS   BAdI: Run Through Items Again in the Event of Changes in EKKO 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ME_CHECK_ALL_ITEMS    

Use

Application components MM-PUR-PO-GUI, MM-PUR-GF-PR, MM-PUR-GF-TAX

Function group: MEPO

The Business Add-In (BAdI) ME_CHECK_ALL_ITEMS provides you with additional options for reprocessing the items when creating or changing a purchase order if the header data has changed (transactions ME21N, ME22N).

For performance reasons the system does not automatically reprocess the PO items when changes are made to the header data. However, if you wish to trigger a new price determination process depending on a change in the header data, you must ensure that the items are processed. You can do this using the BAdI ME_CHECK_ALL_ITEMS.

You should only implement this BAdI if you need additional functionality to control the price determination process. See also the documentation for BAdI ME_DEFINE_CALCTYPE. The example implementations of the BAdIs ME_CHECK_ALL_ITEMS and ME_DEFINE_CALCTYPE are adjusted to each other.

Requirements

You can only use the functionality of the BAdI ME_CHECK_ALL_ITEMS in the "new" purchase order transaction ME21N. In the "old" PO transaction ME21, the code is not utilized.

Standard settings

  • In the standard system, the BAdI ME_CHECK_ALL_ITEMS is not active (not implemented).
  • The BAdI is not filter-dependent.
  • The BAdI cannot be used multiple times.

Activities

To activate the Business Add-In, you must create an active implementation. To do this, choose the following path in the SAP Menu: Tools -> ABAP Workbench -> Utilities -> Business Add-Ins -> Implementation

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

In the example implementation for BAdI ME_CHECK_ALL_ITEMS supplied, the following system behavior is defined:

  • If you have changed the Incoterms, the items are reprocessed

The following data is available to enable you to control the reprocessing of the items:

  • Purchasing document header (EKKO) - old and new status

Further notes

Documentation for BAdI method RECALCULATE_ITEMS.

Documentation for Business Add-In ME_DEFINE_CALCTYPE.

Business Attributes
ASAP Roadmap ID 153   Design enhancements 
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 ME_CHECK_ALL_ITEMS 0 HLA0006041 Purchase Orders 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20050718 
SAP Release Created in 470