Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Internal Prising Error after using BAPI_PO_CREATE1

former_member423024
Participant
0 Likes
907

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

3 REPLIES 3
Read only

former_member423024
Participant
0 Likes
698

I have submitted the BAPI in background task

Read only

Former Member
0 Likes
698

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.

Read only

dev_factory01
Discoverer
0 Likes
698

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.