Hi,
I am using BAPI_PO_CHANGE to change a purchase order line item.
In the POITEM structure I populate the necessary fields to be changed. So in 1 specific case, I am trying to change the material and the quantity. I also populate the necessary POITEMX structure with the necessary fields.
The BAPI works fine and changes the quantity, but does not change the material and returns message ME 664 ( Change Material could not be effected ). Adding a new line item with a material works fine, and changing other fields on the line item also works fine. So this problem is only for the material field.
When I try and change the purchase order line item manually, the material is able to be changed without any problems.
Has anyone come across a situation like this before?
Thanks,
Miguel