We have to change the account assignment of a Purchase Order, from multiple account assignment to single account assignment through BAPI_PO_CHANGE.
We want to delete three account items, pass from four items to one. We can do this through the ME22N transaction, but the BAPI gives the error 'Distr. ind. and partial invoice ind. must be set for multi acct. assgt.'.
We have marked the DELETE_IND field in the corresponding BAPI structure, and we have tested with all posibilities with the fields DISTRIB (EKPO-VRTKZ) and PART_INV (EKPO-TWRKZ), so we think that the problem is not with this fields. I guess if is not possible to do this with the BAPI.
Anybody knows what could be the problem?
Thanks and regards,