cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error while processing BAPI_PO_CHANGE function

Former Member
0 Likes
2,793

Dear Experts,

I m using Function BAPI_PO_CHANGE for Changing PO . I m getting the following error.

Only one or two POs has sucessfully modified else all POs are showing below error.

W ME 658 Please also populate interface parameter POHEADERX

E BAP003 Instance 4500000140 of object type PurchaseOrder could not be changed

E MEP000 Purchase order still contains faulty items

I 06 684 Releases already effected are liable to be reset

W 06 207 Effective price is 100.00 INR, material price is 61.50 INR

E 06 215 Please enter net price

W ME 040 Can delivery date be met?

How to rectify these errors.

waiting for your replay

Thanks & Regards

View Entire Topic
madhu_vadlamani
Active Contributor
0 Likes

Hi Nau,

W ME 658 Please also populate interface parameter POHEADERX

Please pass the data in this structure also

E MEP000 Purchase order still contains faulty items

Check how the purchase order items

I 06 684 Releases already effected are liable to be reset

These message check with your functional people.

W 06 207 Effective price is 100.00 INR, material price is 61.50 INR

These message check with your functional people.

E 06 215 Please enter net price

Enter net price of that material.

W ME 040 Can delivery date be met?

This is a warning about delivery date.

CALL FUNCTION 'BAPI_PO_CHANGE'

EXPORTING

PURCHASEORDER = T_POHEADER-PO

POHEADER = T_BAPI_POHEADER

POHEADERX = T_BAPI_POHEADERX

TABLES

RETURN = T_BAPIRETURN

POITEM = T_BAPI_POITEM

POITEMX = T_BAPI_POITEMX.

Please have a look at documentation and check. There is a sample code what and all you ave to pass. Post if need further help.

Regards,

Madhu.

Former Member
0 Likes

Dear Madhu,

Thanks for the reply .

Just wanted to know what values i need to pass in structure POHEADERX?

Waiting for your reply !

Thanks & Regards

madhu_vadlamani
Active Contributor
0 Likes

Hi,

In headerx just maintain x in the field which you want to change.

Regards,

Madhu.

Former Member
0 Likes

Dear Madhu,

I tried this, its working for some POs and giving same error for some. When i check both the POs one difference i found, in the POs where the Tax code is maintain it is giving error & where Tax Code is not maintain it is working fine. But here most of the POs are with the TAX Code. Is there any other way we can rectify this issue?

Regards

Naveed

madhu_vadlamani
Active Contributor
0 Likes

Hi Navved,

I will suggest you check with your functional people once.If there is configuration need they can do that. Check with them still you have issue then you can post.

Regards,

Madhu.