Description List of profit center groups. All the profit center groups that fulfill the specified selectioncriteria are searched for. The search for groups can be restricted by entering a mask for thegroup name (mask characters are +*) in the optional GroupNameMask > parameter. The controlling area> of thegroups are specified in the ControllingAreaMask> parameter. Youcan use mask characters here too. If the optional TopNodesOnly> parameter is set to 'X', only thosegroups that are the top nodes in a hierarchy (are not used in othergroups) are searched for. The list of the groups found is transferred to the GroupList>table. If an error occurs during the search, the error message is output inthe Return> parameter.Example All the profit center groups from controlling area 1000 that begin with'A' are to be output. Method call: DATA: LT_GROUPLIST LIKE BAPI1112_LIST OCCURS 0, L_RETURN LIKE BAPIRET2. CALL FUNCTION 'BAPI_PROFITCENTERGROUP_GETLIST' EXPORTING CONTROLLINGAREAMASK = '1000' GROUPNAMEMASK = 'A*' IMPORTING RETURN = L_RETURN TABLES GROUPLIST = LT_GROUPLIST. Notes You need the read authorization for the object K_PCAP_SET> INCLUDE CO_BAPI_GROUP_GETLIST_RETURN OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_GETLIST_COAREA OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GETLIST_COAREA_VOR OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_GETLIST_GRPMSK OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GETLIST_GRPMASK_VOR OBJECT DOKU ID TX LANGUAGE ENDescription Language in which the texts are read. INCLUDE CO_BAPI_GROUP_GETLIST_TOPNOD OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GETLIST_TOPNODE_VOR OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_GETLIST_GRPLTS OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_STRUCTURE_03 OBJECT DOKU ID TX LANGUAGE EN INCLUDE CO_BAPI_GROUP_PARAMETER_INFO OBJECT DOKU ID TX LANGUAGE EN |