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

BAPI_BUS2002_SET_STATUS Set or Reset Network Status

Sets or resets system and user statuses of a network header and, through the activity tables, of individual activities. It is used to release networks or activities from custom programs and approval interfaces. Check RETURN and E_RESULT, then call BAPI_TRANSACTION_COMMIT.

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

Importing parameters

ParameterTypeDescriptionRequired
NUMBERBAPI_NETWORK_LIST-NETWORKNetwork numberYes
UNDO_SYSTEM_STATUSBAPI_SYSTEM_STATUS-SYSTEM_STATUSSystem status to reset—
UNDO_USER_STATUSBAPI_USER_STATUS-USER_STATUSUser status to reset—
SET_SYSTEM_STATUSBAPI_SYSTEM_STATUS-SYSTEM_STATUSSystem status to set—
SET_USER_STATUSBAPI_USER_STATUS-USER_STATUSUser status to set—

Exporting parameters

ParameterTypeDescription
RETURNBAPIRETURN1Return messages

Tables parameters

ParameterTypeDescriptionRequired
I_ACTIVITY_SYSTEM_STATUSBAPI_ACT_MNT_SYSTEM_STATUSActivity system statuses to set or reset—
I_ACTIVITY_USER_STATUSBAPI_ACT_MNT_USER_STATUSActivity 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_BUS2002_SET_STATUS'
  EXPORTING
    number = lv_number
  IMPORTING
    return = lv_return
  TABLES
    i_activity_system_status = lt_i_activity_system_status
    i_activity_user_status = lt_i_activity_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