Fonction SAP BAPI_COSTOBJNODE_GETDETAIL - Determine Details for a Cost Object Node

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COSTOBJECT BAPI2076_DETAIL-COSTOBJECT C 12 Cost Object Node

Paramètre Reférence Type Long. Description
DETAIL_DATA BAPI2076_DETAIL u 180 Detail Data for Cost Object Node
RETURN BAPIRETURN1 u 470 Confirmations

Functionality
The method CostObjectNode.GetDetail accesses detailed informationon a cost object node.
You receive the following information:

  • Cost object category

  • CO-PC: Parent cost object

  • Controlling area

  • Company code

  • Plant

  • Business area

  • Profit center

  • Object currency CO object

  • Object currency CO object per ISO

  • Costing sheet

  • Overhead key

  • Variance key

  • Person responsible for cost object

  • Created by

  • Created on

  • Last changed by

  • Last changed on

  • Short text on cost object node
  • Notes
    The authorization object K_CKPH - cost object category
    is checked with activity 03 (display).
    The method CostObjectNode.GetList gives you a list of all costobject nodes in a controlling area.
    INCLUDE BAPI_RET

    Further information
    For more information, refer to the SAP Library under CO Cost ObjectControlling.

    Description
    The detailed data on a costobject node is returned in the structure DETAIL_DATA. Forinformation on the meaning of the parameters, refer to thecorresponding data element documentation.

    Structure
    COSTOBJECT,,Cost object,,
    COSTOBJ_CAT,,Cost object category,,
    PARENT_COSTOBJECT,,CO-PC: Parent cost object
    CO_AREA,,Controlling area,,
    COMP_CODE,,Company code,,
    PLANT,,Plant,,
    BUS_AREA,,Business area,,
    PROFIT_CTR,,Profit center,,
    OBJECT_CURRENCY,,Object currency CO object,,
    OBJ_CURRCY_ISO,,Object currency CO object per ISO,,
    CSTG_SHEET,,Costing sheet,,
    OVERHEAD_KEY,,Overhead key,,
    VARIANCE_KEY,,Variance key,,
    PERSON_RESPONSIBLE,,Person responsible for costobject
    CREATED_BY,,Created by
    CREATED_ON,,Created on,,
    LAST_CHANGED_BY,,Last changed by,,
    LAST_CHANGED_ON,,Last changed on,,
    SHORT_TEXT,,Description of cost object node,,

    Description
    INCLUDE BAPI_TABLE

    Value range
    Type,,ID Number,,Message
    E,,KZ 352,,You have no authorization for activity "&1"
    ,, ,,for cost object category &2
    E,,KZ 057,,Cost object category & does not exist
    E,,KZ 002,,Cost object & does not exist
    E,,KZ 701,,Product group & does not exist
    E,,KZ 088,,&1 is not a cost object of the expected
    ,, ,,cost object type.
    E,,KZ 089,,&1 is not a CO product group

    Default

    Description
    INCLUDE BAPI_KEYFIELD