Fonction SAP BAPI_PROFITCENTERGRP_CREATE - Object BUS1116 (Profit Center Group) - Method Create

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLINGAREAIMP BAPICO_GROUP-CO_AREA C 4 CO Area in which the Group is Created
LANGUAGE BAPI0015_10 u 3 X Language in which Texts are Read
TOPNODEONLY BAPICO_GROUP-TOPNODEONLY C 1 SPACE X Create only Top Hierarchy Node

Paramètre Reférence Type Long. Description
CONTROLLINGAREA BAPICO_GROUP-CO_AREA C 4 Controlling Area of the Created Group
GROUPNAME BAPICO_GROUP-GROUPNAME C 15 Created Group
RETURN BAPIRET2 u 548 Error Occurred

Paramètre Reférence Long. Facultatif Description
HIERARCHYNODES BAPISET_HIER 64 Hierarchy Node
HIERARCHYVALUES BAPI1116_VALUES 20 Hierarchy Value

Description
Creating or changing a profit center group.
All the groups from the HierarchyNodes tables are created in thesystem. The
controlling area of thegroups are specified in the ControllingAreaImp parameter. Anyexisting groups are overwritten.
INCLUDE SET_BAPI_HIERARCHY_CREATE OBJECT DOKU ID TX

Notes
You need the authorization ofr the object
K_PCAP_SET.
The standard hierarchy may only be changed compatibly using thismethod. You may not move, insert or remove profit centers, or insert orremove subtrees that contain profit centers.
INCLUDE CO_BAPI_GROUP_EXPORT_COAREA OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_EXPORT_GRPNAME OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_CREATE_RETURN OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_CREATE_COAREA OBJECT DOKU ID TX LANGUAGE EN

Description
Language in which the texts are read.

Description
INCLUDE CO_BAPI_GROUP_CREATE_TOPNODE OBJECT DOKU ID TX LANGUAGE EN

Default
INCLUDE CO_BAPI_GROUP_CREATE_TOP_VOR OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_CREATE_HIERNOD OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_STRUCTURE_02 OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_PARAMETER_INFO OBJECT DOKU ID TX LANGUAGE EN


INCLUDE CO_BAPI_GROUP_CREATE_HIERVAL OBJECT DOKU ID TX LANGUAGE EN
VALFROM,,Profit center
VALTO,,Profit center