Ansicht
Dokumentation

BAPI_NETWORK_COMP_ADD - Add to BOR Object Network, Subobject Material Component Method

BAPI_NETWORK_COMP_ADD - Add to BOR Object Network, Subobject Material Component Method

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The BAPI BAPI_NETWORK_COMP_ADD adds a list of material components (I_COMPONENTS_ADD) to a network (NUMBER). Therefore it is possible to create multiple network components for the network object with one single call. The Project System determines the order. The caller can specify the components in any order.

The BAPI can be called repeatedly until a LUW is completed with the BAPI Commit Work. Since maintenance of the network structures is carried out

in other BAPIs, it is assumed that the corresponding activites already exist in the database for the components.

The following cases are exceptions:

Configurable material

Discontinued material

Alternative items

It is not possible to create a long text for a material component using a BAPI. For externally procured components with a material number, the system creates a long text from the item text (BAPI_NETWORK_COMP_ADD-ITEM_TEXT) in the background and transfers it to the purchase requisition.

Example

Notes

Transfer

You should always specify the network number NUMBER. The system transfers component data to the table I_COMPONENTS_ADD. You should always specify the following for each components:

a. To which activity the component should be added

b. The procurement type (network reservation, WBS reservation...). See the data element documentation for TYPE_OF_PUR_RESV.

Return

If an error occurs in processing you see an error message in the return parameter RETURN.

After calling, you see the messages that were generated during processing in the table E_MESSAGE_TABLE.

Further information

For more information, see the SAP Library under Project System -> Structures -> Interfaces to the Project System -> PS-EPS Interface to External Project Software.





Parameters

E_MESSAGE_TABLE
I_COMPONENTS_ADD
NUMBER
RETURN

Exceptions

Function Group

CNIF_MAT

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2565 Date: 20240523 Time: 161446     sap01-206 ( 43 ms )