Fonction SAP BAPI_COSTELEM_CREATEMULTIPLE - Create One or More Cost Elements

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COAREA BAPI1030_GEN-CO_AREA C 4 Controlling area
COSTELEMCLASS BAPI1030_GEN-COST_ELEM_CLS N 1 '1' X Classification: 1 = primary, 2 = secondary
LANGUAGE BAPI0015_10 u 3 X Language In Which Texts Are Saved
TESTRUN BAPI1030_GEN-TESTRUN C 1 SPACE X Indicator: Test run

Paramètre Reférence Long. Facultatif Description
COSTELEMENTLIST BAPI1030_CEINPUTLIST 147 List of cost elements to be created
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
RETURN BAPIRET2 548 Return parameter, especially errors

Functionality
The module creates one or more master records for primary and secondarycost elements.
The interface of the module comprises fields that can also be filledduring online processing. The appropriate field checks take place.
If you set the flag TESTRUN only the checks occur. The subsequentposting does not happen (Check Functions).

Notes
A cost type can be defined in different periods. The followingrestrictions apply for this module:

  • Only one time interval can be entered per cost element.

  • The cost element cannot already have time intervals entered for it in
  • the database.

    Further information
    Consult Cost Center and Cost Element Accounting documentation.

    Description
    Controlling area in which the cost elements are to be created.

    Description
    This parameter decides whether primary or secondary cost elements arecreated.

    Value range
    CostElementClass = 1: Primary cost elements are created
    CostElementClass = 2: Secondary cost elements are created

    Default
    The creation of primary cost elements is the default setting.

    Description
    Language in which texts are saved

    Description
    The Test Run flag controls the posting.
    INCLUDE ACC_NO_BAPI_EXTENSION OBJECT DOKU ID TX

715947COOMKS02: Various problems
686768Problem w/ fields that are time-dependent/not time-dependnt