Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Can´t create and activate a costcenter via BAPI_COSTCENTER_CREATEMULTIPLE

Hello everyone,

I am facing a problem to create a costcenter via BAPI. I hope someone has a solution for me.

After filling the table COSTCENTERLIST with obligatory data and commit the test of the BAPI there is no new inactive costcenter db record in my Costcenters list. I haven’t got any failmessage. Here my Test data:

I have tried to find the test record via BAPI_COSTCENTER_GETDETAIL1with a MASTER_DATA_INACTIVE parameter on but without success. The error is: “there is no inactive costcenter ‘TEST_Z123’ in the costarea 2000”.

I have also tried to activate my new Costcenter via BAPI_CTR_ACTIVATE_MULTIPLE and I got no failmessage and no active costcenter record.

Many thanks in advance

Former Member

Did you get message in RETURN parameter, else did you execute a COMMIT WORK or call of BAPI_TRANSACTION-COMMIT?

(Also were you successful creating such cost center with KS01 transaction, to identify wrong or missing fields)



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question