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

ParameterTypeDescriptionRequired
NUMBERBAPI_NETWORK_LIST-NETWORKNetwork numberYes

Exporting parameters

ParameterTypeDescription
RETURNBAPIRET2Return messages

Tables parameters

ParameterTypeDescriptionRequired
I_COMPONENTS_ADDBAPI_NETWORK_COMP_ADDMaterial components to addYes
E_MESSAGE_TABLEBAPI_METH_MESSAGEMessage tableYes

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.

Request a custom report