cancel
Showing results for 
Search instead for 
Did you mean: 

Error in BAPI_PO_CHANGE

Former Member
0 Kudos

Hello all,

I am trying to change the cost center of the PO.

I am using the BAPI_PO_CHANGE to change the cost center.

I am getting the following message when i execute the BAPI.

Please help

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

if you got a success message then you probably missed the commit work to save your changes (call function 'BAPI_TRANSACTION_COMMIT'.)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Jurgen,

I am trying to change only the cost centre of a PO.

I have passed following in BAPI,

in bapi level, i can see the changes and i get the success message PO is changed.

I have done commit transaction as well.

But the changes are not reflected in the PO.

PO-NUMBER: CO13015080

PO-ITEM : 00010

PO-ITEMX: X

POACCOUNT-ITEM: 00010

POACCOUNT-COSTCENTER: ASDF1234

POACCOUNTX-ITEM : X

POACCOUNTX-COSTCENTER: X

Thank you very much for your support Jurgen.

Appreciate your replies on all my queries.

Thanks.

Regards,

Muthu

JL23
Active Contributor
0 Kudos

If you are trying to change data per program then you have to tell what fields you are actually submitting to the BAPI, sometimes even need to show the coding for a diligent analysis.