Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update a G/L account in a PO using BAPI_PO_CHANGE

Former Member
0 Kudos

Hi,

I am trying to update G/L account number for an item in a purchase order using BAPI_PO_CHANGE. All the configurations are in proper place for the G/L account number but still G/L account number is not getting updated for the PO.Please let me know the solution.

Thanks

Bala Duvvuri

4 REPLIES 4

Former Member
0 Kudos

Hi Bala Duvvuri,

In your situation the GL was in display mode for oline so it could not be updated. Once config was change this could be updated.

Please refer the link:

Regards,

Dhina..

0 Kudos

Hi Dhina,

I checked the configuration and it is fine.any other solutions

Thanks

Bala Duvvuri

asik_shameem
Active Contributor
0 Kudos

Hi,

Are you able change the GL account online in ME22N?

What is the account assignment category you are using?

What is your BAPI return message?

Make sure General Ledger Account field is open for input (should be mandatory or optional) in trx OME9.

0 Kudos

Asik,

I am able to change it online and bapi return message is no data changed and configuration is fine

Thanks

Bala Duvvuri