Ansicht
Dokumentation

BAPI_COSTCENTERGROUP_GETLIST - Object BUS1112 (Cost Center Group) - Method GetList

BAPI_COSTCENTERGROUP_GETLIST - Object BUS1112 (Cost Center Group) - Method GetList

Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

List of cost center groups. All the cost center groups are searched for that satisfy the selection criteria.

You can restrict the search for groups by transferring a mask for the group name in the optional paramter GroupNameMask (masking indicators are +*).

The controlling area of the groups is entered in the ControllingAreaMask parameter (masking indicators are also possible here.

If the optional parameter TopNodesOnly is set to 'X', a search is only made for groups that are the top node in a hierarchy, i.e. they are not used in other groups.

The list of groups found is transfered to the GroupList table.

If an error occurs during the search, the error message is issued in the Return parameter.

Example

All cost centers from controlling area 1000 that begin with 'A' are to be displayed. Call the method:

DATA: LT_GROUPLIST LIKE BAPI1112_LIST OCCURS 0,
L_RETURN LIKE BAPIRET2.

CALL FUNCTION 'BAPI_COSTCENTERGROUP_GETLIST'
EXPORTING
CONTROLLINGAREAMASK = '1000'
GROUPNAMEMASK = 'A*'
IMPORTING
RETURN = L_RETURN
TABLES
GROUPLIST = LT_GROUPLIST.

Notes

You require the read authorization for object K_CSKS_SET





Parameters

CONTROLLINGAREAMASK
GROUPLIST
GROUPNAMEMASK
LANGUAGE
RETURN
TOPNODESONLY

Exceptions

Function Group

KGR2

Vendor Master (General Section)   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2421 Date: 20240523 Time: 084529     sap01-206 ( 30 ms )