Ansicht
Dokumentation

ME_PROCESS_PO_CUST - BAdI: Enhance Purchase Order Processing (Single-Screen Transaction)

ME_PROCESS_PO_CUST - BAdI: Enhance Purchase Order Processing (Single-Screen Transaction)

ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Use

Application components: MM-PUR-PO, MM-PUR-PO-GUI

Main program: SAPLMEPO

The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.

You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.

Typical applications for this BAdI include:

  • Processing of own objects
  • Processing of additional data on standard objects
  • Implementation of additional checks and derivations
  • Change of data in standard fields
    Note
    Ensure that data integrity is guaranteed.
  • Change in field selection

With its methods, the BAdI covers the complete transaction cycle for purchase orders. You can thus intervene with your own implementation in each step of the processing:

  1. Start of transaction
    Documentation for BADI method INITIALIZE
  2. Opening of a PO
    Documentation for BAdI method OPEN
  3. Checking of data

  1. Field selection

  1. Overall check
    Documentation for BAdI method CHECK
  2. Post
    Documentation for BAdI method POST
  3. Concluding work
    Documentation for BAdI method CLOSE

Requirements

To implement these BAdIs, you need advanced knowledge of ABAP OO.

Standard settings

  • In the standard system, the Business Add-In is not active.
  • The BAdI is filter-independent.
  • The BAdI cannot be used multiple times.

Activities

Example

You will find an example implementation under Goto → Code Example.

Further notes

Documentation for BAdI interface IF_EX_ME_PROCESS_PO_CUST






BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 4742 Date: 20240523 Time: 213923     sap01-206 ( 36 ms )