Fonction SAP BAPI_COSTESTIMATE_GETEXPLOSION - Determine BOM Explosion for a Cost Estimate

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COSTINGDATE BAPICOSTRE-CSTG_DATE D 8 Costing Date
COSTINGNUMBER BAPICOSTRE-CSTG_NUM N 12 Cost Estimate Number
COSTINGTYPE BAPICOSTRE-CSTG_TYPE C 2 Costing Type
COSTINGVERSION BAPICOSTRE-VERSION N 2 Costing Version
COST_COMPONENT_VIEW BAPICOSTES-VIEW N 2 Cost Component View
ENTEREDMANUALLY BAPICOSTRE-ENTER_MAN C 1 Additive Costs
EXPLOSION_DEPTH BAPICOSTES-EXPLOSION_DEPTH s 2 X Explosion Level for the Costed Multilevel BOM
LOT_SIZE BAPICOSTES-LOTSIZE P 7 X Lot Size
REFERENCEOBJECT BAPICOSTRE-REF_OBJECT C 1 Reference Object
VALUATIONVARIANT BAPICOSTRE-VLTN_VRNT C 3 Valuation Variant

Paramètre Reférence Type Long. Description
EXPLOSION_INCOMPLETE BAPICOSTES-EXPLOSION_INCP C 1 Explosion Incomplete
RETURN BAPIRETURN u 452 Confirmations

Paramètre Reférence Long. Facultatif Description
EXPLOSION_LIST BAPIEXPLOSIONLIST 602 Costed Multilevel BOM

Functionality
With the method BAPI_COSTESTIMATE_GETEXPLOSION you can display the dataof the costed multilevel BOM for a cost estimate.

Notes

  • Prerequisites for displaying costed multilevel BOMs:

    • The results of method BAPI_COSTESTIMATE_GETLIST with which the cost
    • estimates were selected
      • Display authorization for product costing (K_KEKO)

      • INCLUDE BAPI_RET

        Further information
        Further information on costing can be found in the documentation forProduct Cost Controlling.

        Description
        The costed multilevel BOM could not be completely exploded, due toinconsistent data, for example.

        Description
        INCLUDE BAPI_TABLE

        Value range
        ck 813: Costing structure was exploded successfully
        ck 814: Highest cost estimate was not found -> Explosion not possible
        ck 815: Cost estimate was not found -> Explosion not possible
        ck 818: You are not authorized to display this cost estimate

        Description
        See documentation for data element CK_KADKY

        Description
        See documentation for data element KALNR

        Description
        See documentation for data element CK_KALKA
        Glossary: costing type

        Description
        See documentation for data element CK_TVERS

        Description
        See documentation for data element CK_Sicht
        Glossary: cost component view

        Description
        See documentation for data element CK_KKZMA

        Description
        See documentation for data elementexplosion level

        Description
        See documentation for data element CK_LOSGR
        Glossary: lot size

        Description
        See documentation for data element BZOBJ

        Description
        See documentation for data element CK_BWVAR

        Description
        You are receiving the costed multilevelBOM for the cost estimate.