BAdI Interface IF_EX_ME_PROCESS_PO_CUST

来源:互联网 发布:中国早期网络漫画 编辑:程序博客网 时间:2024/06/08 06:16

***********************   Aveek Ghose  Accenture India   *************************   

BAdI Interface IF_EX_ME_PROCESS_PO_CUST 

In the Business Add-In ME_PROCESS_PO_CUST, the following methods are available enabling you to extend the business logic of the Enjoy purchase order. With its methods, the BAdI covers the entire transaction cycle: 

1. Start of transaction (INITIALIZE method) At the start of the transaction, the INITIALIZE method is processed once. In this method you can initialize your own function groups.Documentation for BAdI method INITIALIZE

2. Opening of a purchase order (OPEN method) The system opens a new document to create, change or display a purchase order. With the OPEN method, you can import your own data and prepare it for further processing.Documentation for BAdI method OPEN 

3. Checking of data (PROCESS_HEADER, PROCESS_ITEM, PROCESS_SCHEDULE, PROCESS_ACCOUNT methods) When data of the purchase order has been changed, it is then checked.With the following methods, you can carry out your own checks of the business objects of the purchase order and derive dependent data according to your own rules:Header data of PO PROCESS_HEADERDocumentation for BAdI method PROCESS_HEADERItem data of PO PROCESS_ITEMDocumentation for BAdI method PROCESS_ITEMDelivery schedule lines of PO PROCESS_SCHEDULEDocumentation for BAdI method PROCESS_SCHEDULEAccount assignments in PO PROCESS_ACCOUNTDocumentation for BAdI method PROCESS_ACCOUNT 

4. Field selection (FIELDSELECTION_HEADER_REFKEYS, FIELDSELECTION_ITEM_REFKEYS, FIELDSELECTION_HEADER, FIELDSELECTION_ITEM methods) In the following methods, you can change the display properties of fields by supplementing or switching the field selection reference keys:At header level FIELDSELECTION_HEADER_REFKEYSDocumentation for BAdI method FIELDSELECTION_HEADER_REFKEYSAt item level FIELDSELECTION_ITEM_REFKEYSDocumentation for BAdI method FIELDSELECTION_ITEM_REFKEYSYou can implement special rules using the methods FIELDSELECTION_HEADER (at header level) and FIELDSELECTION_ITEM (at item level).Documentation for BAdI method FIELDSELECTION_HEADERDocumentation for BAdI method FIELDSELECTION_ITEM 

5. Overall check (CHECK method) When the purchase order is posted or when the Check function is chosen, the system performs an overall check for the PO. Here the system performs activities that are too extensive for a dialog step.In the CHECK method, you can execute enhancements for an overall check or your own overall check for the purchase order.Dokumentation for BAdI method CHECK

6. Post (POST method) With the POST method, you can prepare the PO data for posting and updating the database.Documentation for BAdI method POST 

7. Concluding work After the posting of a purchase order and before the opening of a new PO, you can reset your own customer programs.Documentation for BAdI method CLOSE

原创粉丝点击