Fonction SAP BAPI_COSTOBJECT_GETLIST - Determine General Cost Objects for a Controlling Area

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CO_AREA BAPI1079_DETAIL-CO_AREA C 4 Controlling Area

Paramètre Reférence Long. Facultatif Description
COST_OBJECTS BAPI1079_LIST 82 Cost Object List
RETURN BAPIRETURN1 470 Confirmations

Functionality
The method CostObject.GetList generates a list of all generalcost objects in a controlling area.

Notes
The authorization object K_CKPH - cost object category
is checked with activity 03 (display).
You use the method CostObject.GetDetail to obtain detailedinformation on a general cost object.
INCLUDE BAPI_RET

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

Description
For information on the meaning of the controlling area, refer to thecorresponding data element documentation: KOKRS.

Description
The detailed information forgeneral cost objects isreturned in table COST_OBJECTS. For information on the meaningof the parameters, refer to the corresponding data elementdocumentation.

Structure of table
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,,
SHORT_TEXT,,Description of general cost object,,

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.