PS
BAPI
RFC
Used the same way in S/4HANA
BAPI_BUS2001_GETDATA Read Project Definition Details
Reads the detail data of one project definition. Reports and outbound interfaces use it to get project header data in a stable, released structure. Check ET_RETURN, because an unknown project definition is reported there and not as an exception.
- Function group
- CJ2001
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| I_PROJECT_DEFINITION | BAPI_BUS2001_DETAIL-PROJECT_DEFINITION | Project definition | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| E_PROJECT_DEFINITION | BAPI_BUS2001_DETAIL | Project definition data |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| ET_RETURN | BAPIRET2 | Return messages | — |
| EXTENSIONIN | BAPIPAREX | Customer fields (inbound) | — |
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_BUS2001_GETDATA'
EXPORTING
i_project_definition = lv_i_project_definition
IMPORTING
e_project_definition = lv_e_project_definition
TABLES
et_return = lt_et_return
extensionin = lt_extensionin.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.