Fonction SAP BAPI_PROFITCENTERGRP_ADDNODE - Object BUS1116 (Profit Center Group) - Method AddNode

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLINGAREA BAPICO_GROUP-CO_AREA C 4 Controlling Area
GROUPNAME BAPICO_GROUP-GROUPNAME C 15 Group Name
SUBGROUPNAME BAPICO_GROUP-GROUPNAME C 15 Group to be Inserted in GROUPNAME

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Error Occurred

Description
Inserting a new node in a profit center group.
Insert the SubGroupName group as the last subordinate node inthe GroupName group. Specify the
controlling area of thegroups in the ControllingArea parameter. Both groups mustalready exist.
If an error occurs during insertion, the error message is output in theReturn parameter.

Notes
You need the authorization for the object
K_PCAP_SET.
The standard hierarchy may only be changed compatibly using thismethod. You cannot insert a group that already contains profit centers.
INCLUDE CO_BAPI_GROUP_ADDNODE_RETURN OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_ADDNODE_COAREA OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_ADDNODE_GRPNAM OBJECT DOKU ID TX LANGUAGE EN
INCLUDE CO_BAPI_GROUP_ADDNODE_SUBGRP OBJECT DOKU ID TX LANGUAGE EN