SAP Function BAPI_COSTCENTER_DELETEMULTIPLE - Delete One or More Cost Centers

Parameter Reference Type Length Default Optional Text
CONTROLLINGAREA BAPI0012_GEN-CO_AREA C 4 Controlling Area
TESTRUN BAPI0012_GEN-TESTRUN C 1 SPACE X Switch to Simulation Session for Write BAPIs

Parameter Reference Length Optional Text
COSTCENTERLIST BAPI0012_CCDELLIST 26 Interface: Cost Centers - Intervals to be Deleted
RETURN BAPIRET2 548 Return Parameters

Functionality
You can use this mnodule to delete cost centers in the specified timeperiods. You can also use it just to check whether deletion ispossible.

Description
Controlling area that the cost centers are assigned to.

Description
If you set the TESTRUN flag, a check is made as to whether the costcenters can be deleted. The cost centers are not actually deleted fromthe database.

Value range

  • TESTRUN = 'X': flag is set

  • TESTRUN = ' ': flag is not set
  • Description
    List of cost centers to be deleted. Each cost center in the time periodspecified (VALID_FROM through VALID_TO) is deleted.

    Description
    Table of return values (errors and messages).