Ansicht
Dokumentation

ME_CHECK_ALL_ITEMS - BAdI: Run Through Items Again in the Event of Changes in EKKO

ME_CHECK_ALL_ITEMS - BAdI: Run Through Items Again in the Event of Changes in EKKO

General Data in Customer Master   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

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.

You can use the functionality of the BAdI ME_CHECK_ALL_ITEMS in the purchase order transaction ME21N.

  • 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.

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

Documentation for BAdI method RECALCULATE_ITEMS.

Documentation for Business Add-In ME_DEFINE_CALCTYPE.






PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2175 Date: 20240523 Time: 203904     sap01-206 ( 40 ms )