Fonction SAP BAPI_COSTCENTER_CHANGEMULTIPLE - Change One or More Cost Centers

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLINGAREA BAPI0012_GEN-CO_AREA C 4 Controlling Area
LANGUAGE BAPI0015_10 u 3 X Language In Which Texts Are Saved
MASTER_DATA_INACTIVE BAPI0012_GEN-MASTER_DATA_INACTIVE C 1 SPACE X Post Inactive Master Record
RESET_FILLED_FIELDS BAPIFLAG-BAPIFLAG C 1 SPACE X Indicator: initiates all fields filled that are transferred in tables
TESTRUN BAPI0012_GEN-TESTRUN C 1 SPACE X Indicator: Test Run

Paramètre Reférence Long. Facultatif Description
COSTCENTERLIST BAPI0012_CCINPUTLIST 751 List of cost centers to be changed
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters EXTENSIONIN/EXTENSIONOUT
RETURN BAPIRET2 548 Return Parameters, Especially Errors

Functionality
This module changes one or more of the cost center master records.
The module interface contains fields that you can also fill online. Theappropriate field checks are performed.
To initiate a field, only a period (".") must be transferred to thefield interface. The appropriate field checks are performed.
If you set the TESTRUN flag, only the checks are made. The subsequentposting is not carried out (check function).

Notes

Further information
Consult the Cost Center Accounting documentation.

Description
Controlling area to which the cost centers areassigned.

Description
Language in which texts are saved

Description
If this indicator is set, the changes to the master record areinitially updated in an inactive version.

Value range

  • MASTER_DATA_INACTIVE = ' ': Indicator not set

  • MASTER_DATA_INACTIVE = 'X': Indicator set
  • Default
    The indicator is not set and changes are made to the active version.

    Description
    If you set the RESET_FILLED_FIELDS indicator, all filled fieldsthat are transferred with the BAPI tables are set to the initial values.The corresponding field checks are made.
    This is necessary, for example, because no special characters such as'.' or '!' are allowed for numeric fields, and as a result it is notpossible to reset these fields to the initial value.

    Value range

    • RESET_FILLED_FIELDS = ' ': indicator not set

    • RESET_FILLED_FIELDS = 'X': indicator set
    • Default
      The default setting is that the RESET_FILLED_FIELDS indicator is notset, and the individual fields with only the special characters such as'.' or '!' are reset to the initial value

      Description
      If you set the Test run flag, the posting is notcarried out (test function).

      Description
      Table of cost centers with the intended changes.

      Description
      This parameter is reserved for customer enhancements to the functionmodule. It is currently not in use.

      Description
      This parameter is reserved for customer enhancements to the functionmodule. It is currently not in use.

      Description
      Return structure for errors and system messages.

606933OKEON: Business area is no required entry field
626562Deletion of fields with CHANGE-BAPIs.
490460BAPI_COSTCENTER_CHANGEMULTIPLE: various problems
381076Change BAPIs cost center/process: Delete fields