PS
BAPI
RFC
Used the same way in S/4HANA
BAPI_NETWORK_COMP_ADD Add Material Components to Network
Adds material components to activities of a network, which creates reservations or purchase requisitions depending on the item category. Project material planning tools and BOM transfer programs use it. Check RETURN and E_MESSAGE_TABLE and call BAPI_TRANSACTION_COMMIT.
- Function group
- CNIF_MAT
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
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_ADD | BAPI_NETWORK_COMP_ADD | Material components to add | Yes |
| E_MESSAGE_TABLE | BAPI_METH_MESSAGE | Message table | Yes |
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_NETWORK_COMP_ADD'
EXPORTING
number = lv_number
IMPORTING
return = lv_return
TABLES
i_components_add = lt_i_components_add
e_message_table = lt_e_message_table.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.