PS BAPI RFC Used the same way in S/4HANA

BAPI_BUS2054_SET_STATUS Set or Reset WBS Element Status

Sets or resets system and user statuses for a list of WBS elements, for example to release or technically complete them. Mass status programs and approval interfaces use it. Check RETURN and E_RESULT per element, then call BAPI_TRANSACTION_COMMIT.

Function group
CNIF_STATUS_2054
Remote-enabled (RFC)
Yes
Type
BAPI

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
I_WBS_SYSTEM_STATUSBAPI_WBS_MNT_SYSTEM_STATUSWBS system statuses to set or reset—
I_WBS_USER_STATUSBAPI_WBS_MNT_USER_STATUSWBS user statuses to set or reset—
E_RESULTBAPI_STATUS_RESULTResults of the status change—

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_BUS2054_SET_STATUS'
  IMPORTING
    return = lv_return
  TABLES
    i_wbs_system_status = lt_i_wbs_system_status
    i_wbs_user_status = lt_i_wbs_user_status
    e_result = lt_e_result.

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