Ansicht
Dokumentation
BAPI_PROFITCENTERGRP_GETLIST - Object BUS1116 (Profit Center Group) - Method GetList
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up CPI1466 during BackupThis documentation is copyright by SAP AG.
Description
List of profit center groups.
All the profit center groups that fulfill the specified selection criteria are searched for.
The search for groups can be restricted by entering a mask for the group name (mask characters are +*) in the optional GroupNameMask parameter.
The controlling area of the groups are specified in the ControllingAreaMask parameter. You can use mask characters here too.
If the optional TopNodesOnly parameter is set to 'X', only those groups that are the top nodes in a hierarchy (are not used in other groups) 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 in the 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
Parameters
CONTROLLINGAREAMASKGROUPLIST
GROUPNAMEMASK
LANGUAGE
RETURN
TOPNODESONLY
Exceptions
Function Group
KGR2Addresses (Business Address Services) CPI1466 during Backup
This documentation is copyright by SAP AG.
Length: 2404 Date: 20240523 Time: 154225 sap01-206 ( 29 ms )