PS
BAPI
RFC
Used the same way in S/4HANA
BAPI_BUS2001_GET_STATUS Read Project Definition Status
Returns the active system and user statuses of a project definition. Custom reports and interfaces use it to check, for example, whether a project is released or technically closed before further processing. Evaluate RETURN (BAPIRETURN1) and read the status texts from the returned tables.
- Function group
- CNIF_STATUS_2001
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| PROJECT_DEFINITION | BAPIPR-PROJECT_DEFINITION | Project definition | Yes |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| E_SYSTEM_STATUS | BAPI_SYSTEM_STATUS | System statuses | — |
| E_USER_STATUS | BAPI_USER_STATUS | User statuses | — |
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_GET_STATUS'
EXPORTING
project_definition = lv_project_definition
IMPORTING
return = lv_return
TABLES
e_system_status = lt_e_system_status
e_user_status = lt_e_user_status.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.