‎2008 Mar 29 4:44 AM
Hi,
Anyone know of any BADI or function module for amending Account Assignment in Purchasing Document (PR, PO)?
‎2008 Mar 29 3:35 PM
In the BADI for adding fields there is a method : IF_EX_ME_PROCESS_PO_CUST~PROCESS_ACCOUNT - this is in the extend processing of enjoy purchase order BADI in SPRO. This may be what you are looking for. SAP provides a smaple of how to implement this badi in the class CL_EXM_IM_ME_PROCESS_PO_CUST. Depending on what you are doing remember to consider Scheduling Agreements, contracts, RFQ and Purchase Requisions as they share a lot of SAP code.
‎2008 Mar 29 3:35 PM
In the BADI for adding fields there is a method : IF_EX_ME_PROCESS_PO_CUST~PROCESS_ACCOUNT - this is in the extend processing of enjoy purchase order BADI in SPRO. This may be what you are looking for. SAP provides a smaple of how to implement this badi in the class CL_EXM_IM_ME_PROCESS_PO_CUST. Depending on what you are doing remember to consider Scheduling Agreements, contracts, RFQ and Purchase Requisions as they share a lot of SAP code.
‎2008 Mar 30 12:18 PM
Go to se18,
Check both BADI names:
ME_PROCESS_PO_CUST and
ME_PROCESS_PO_CUST.
If you want to use it at save: you can select the method: Post,
if you want to code after save( after completion of transaction) then go for method: CLOSE.
Reward point if helpful,
Rgs,
Ashok