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

ParameterTypeDescriptionRequired
PROJECT_DEFINITIONBAPIPR-PROJECT_DEFINITIONProject definitionYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
E_SYSTEM_STATUSBAPI_SYSTEM_STATUSSystem statuses—
E_USER_STATUSBAPI_USER_STATUSUser 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.

Request a custom report