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 book material to a cost center?

Former Member
0 Kudos

Hi!

I know how to book material to a cost center with transaction MB1A, but how can I do the same thing in abap? Is there maybe a function module or a BAPI for doing this?

Greetings,

Martin

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Did you try BAPI_GOODSMVT_CREATE? (For reference read Note 520813 - FAQ: BAPIs for goods movements or use search tool.)

Regards,

Raymond

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Did you try BAPI_GOODSMVT_CREATE? (For reference read Note 520813 - FAQ: BAPIs for goods movements or use search tool.)

Regards,

Raymond

0 Kudos

Yes, I found this function module last week, first I had no success but then I found out that I had to do call a special BAPI Commit - function module. With this, everything works, thank you 🙂