on ‎2011 Aug 08 8:07 AM
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
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Nau,
Your error is 'Please enter net price'.
Please check that are you blanking out this field which is not allowed.
Pick any 1 PO, open in ME22n, and try to change the data as you are trying to do with BAPI and you will get the required error and some HELP in the display error message only. Otherwise just consult your Functional persona and he will be able to help you rectify this error.
BR
Diwakar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Nau,
First check weather the file has all the values or not.
and consult the functional consultant.
pass the values 'x' for the fields "poheadrex".
Thnaks & Regards,
Jogesh.mutyala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 22 | |
| 13 | |
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.