Fonction SAP BAPI_COSTOBJECT_GETDETAIL - Determine Details for a General Cost Object

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

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

Functionality
The method CostObject.GetDetail gives you detailed information ona general cost object.
You receive the following information:

  • Cost object category

  • Company code

  • Plant

  • Business area

  • Profit center

  • Object currency CO object

  • Object currency CO object according to ISO

  • Costing sheet

  • Overhead key

  • Person responsible for the cost object

  • Entered by

  • Entered on

  • Last changed by

  • Last changed on

  • Short text on cost object
  • Notes
    The authorization K_CKPH - cost object category ischecked with activity 03 (Display).
    The method CostObject.GetList gives you a list of all generalcost objects in a controlling area.
    INCLUDE BAPI_RET

    Further information
    For more information, see the SAP Library under CO - Cost ObjectControlling.

    Description
    The detailed information on ageneral cost object isreturned in the structure DETAIL_DATA. For information on themeaning of the parameters, refer to the corresponding data elementdocumentation.

    Structure
    COSTOBJECT,,Cost object,,
    COSTOBJ_CAT,,Cost object category,,
    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,,
    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 002,,Cost object &1 does not exist
    E,,KZ 701,,Product group &1 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