Ansicht
Dokumentation
ME_PROCESS_PO_CUST - BAdI: Enhance Purchase Order Processing (Single-Screen Transaction)
ABAP Short Reference ABAP Short ReferenceThis documentation is copyright by SAP AG.
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:
-
Start of transaction
Documentation for BADI method INITIALIZE -
Opening of a PO
Documentation for BAdI method OPEN - Checking of data
- Header data of PO
Documentation for BAdI method PROCESS_HEADER
- Item data of PO
Documentation for BAdI method PROCESS_ITEM
- Delivery schedule lines of PO
Documentation for BAdI method PROCESS_SCHEDULE
- Account assignments in PO
Documentation for BAdI method PROCESS_ACCOUNT
- Field selection
- At header level
Documentation for BAdI method FIELDSELECTION_HEADER_REFKEYS
- Special rules at header level
Documentation for BAdI method FIELDSELECTION_HEADER
- Special rules at item level
Documentation for BAdI method FIELDSELECTION_ITEM
-
Overall check
Documentation for BAdI method CHECK -
Post
Documentation for BAdI method POST -
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 )