# BAPI_NETWORK_COMP_CHANGE — Change Network Material Components

> Changes material components of network activities, for example quantity or requirement date. Interfaces use it to keep project material demand up to date. Flag the changed fields in I_COMPONENTS_CHANGE_UPDATE, check RETURN and call BAPI_TRANSACTION_COMMIT.

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

## Importing parameters

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

## Exporting parameters

| Parameter | Type | Description |
|---|---|---|
| RETURN | BAPIRET2 | Return messages |

## Tables parameters

| Parameter | Type | Description | Required |
|---|---|---|---|
| I_COMPONENTS_CHANGE | BAPI_NETWORK_COMP_CHANGE | Material component changes | Yes |
| I_COMPONENTS_CHANGE_UPDATE | BAPI_NETWORK_COMP_CNG_UPD | Component change flags | Yes |
| E_MESSAGE_TABLE | BAPI_METH_MESSAGE | Message table | Yes |

## Call template (ABAP)

```abap
CALL FUNCTION 'BAPI_NETWORK_COMP_CHANGE'
  EXPORTING
    number = lv_number
  IMPORTING
    return = lv_return
  TABLES
    i_components_change = lt_i_components_change
    i_components_change_update = lt_i_components_change_update
    e_message_table = lt_e_message_table.
```

## Related tables

RESB

