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
| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRETURN1 | Return messages |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| I_WBS_SYSTEM_STATUS | BAPI_WBS_MNT_SYSTEM_STATUS | WBS system statuses to set or reset | — |
| I_WBS_USER_STATUS | BAPI_WBS_MNT_USER_STATUS | WBS user statuses to set or reset | — |
| E_RESULT | BAPI_STATUS_RESULT | Results 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.