# BAPI_BUS2002_ACT_CHANGE_MULTI — Change Network Activities

> Changes several activities of a network in one call, for example work, duration, dates or the assigned WBS element. Interfaces use it to keep activity data in line with an external scheduling tool. Fill IT_UPDATE_ACTIVITY with 'X' for every changed field. Call BAPI_PS_INITIALIZATION first, then BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT only when ET_RETURN has no type E or A messages.

- Modules: PS
- Type: BAPI
- Function group: CN2002_ACT
- Remote-enabled (RFC): Yes
- S/4HANA status: Used the same way in S/4HANA
- URL: https://nekuhub.com/en/functions/bapi-bus2002-act-change-multi/

## Importing parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| I_NUMBER | BAPI_NETWORK_LIST-NETWORK | Network number | Yes |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| IT_ACTIVITY | BAPI_BUS2002_ACT_CHG | Activity changes | Yes |
| IT_UPDATE_ACTIVITY | BAPI_BUS2002_ACT_UPD | Activity change flags | Yes |
| ET_RETURN | BAPIRET2 | Return messages | - |
| EXTENSIONIN | BAPIPAREX | Customer fields (inbound) | - |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_BUS2002_ACT_CHANGE_MULTI'
  EXPORTING
    i_number = lv_i_number
  TABLES
    it_activity = lt_it_activity
    it_update_activity = lt_it_update_activity
    et_return = lt_et_return
    extensionin = lt_extensionin.
```

## Related tables

AFVC, AFVV

