CO
BAPI
RFC
Used the same way in S/4HANA
BAPI_PROFITCENTER_GETLIST Display List of Profit Centers
Lists the profit centers of a controlling area, optionally filtered by date and person responsible. Interfaces that send profit centers to external systems and value helps use it. The controlling area is mandatory; the result comes back in the PROFITCENTER_LIST table.
- Function group
- 0015
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| CONTROLLINGAREA | BAPI0015ID-KOKRS | Controlling area | Yes |
| DATE | BAPI0015_3-DATE | Key date | — |
| PERSONINCHARGE | BAPI0015_2-IN_CHARGE | Person responsible | — |
| IN_CHARGE_USER | BAPI0015_2-IN_CHARGE_USER | User responsible | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN | Return message |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| PROFITCENTER_LIST | BAPI0015_1 | Profit center list | Yes |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_PROFITCENTER_GETLIST'
EXPORTING
controllingarea = lv_controllingarea
IMPORTING
return = lv_return
TABLES
profitcenter_list = lt_profitcenter_list.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.