‎2011 May 03 11:14 AM
Hi Experts,
I am creating PO from Contract (VA41/VA42) using BAPI_PO_CREATE1 in user exit MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE.
I am not passing any price or prising conditions to BAPI. BAPI is returning the PO number and after coming out from BAPI. I am getting an popup message STOP - Internal Prising Error.
+Internal pricing error
Message no. V1806
Diagnosis
The program link between tables KOMT1 and XKOMV using the XKOMV-IX_KOMT1 field no longer works in the pricing program SAPLV61A. This could be because the PRICING_REFRESH function module has been called up from another function module, even though you did not require it.+
Even though bapi returned the PO number there is no PO exists with that number.
Please provide you valuable inputs.
Thanks & Regards
Nathasah
‎2011 May 27 8:11 AM
‎2011 May 27 9:27 AM
Hi,
Did you call and commit BAPI in a new task?
If not, you may try this way.
I suspect that PO and SO may use the same function module (as pricing, partner), if you create/change SO and PO in the same task, may got trouble.
‎2020 Sep 08 6:02 AM
Hi ,
I used BAPI_PO_CHANGE in
user exit MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE
while saving SO where In backend PO is created.
My requirement is to update SO pricing to PO pricing when delivery date is changed.
I have called BAPI_PO_CHANGE method in
user exit MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREPARE and added logic in ME_PROCESS_PO_CUST-PROCESS_ITEM.(Where iam updating the condition values in PO by using SET_CONDITIONS method)
After executing of my code its giving internal pricing error V1806.
Please share me how to solve this issue.