Fonction SAP BAPI_NETWORK_COMP_REMOVE - Remove for BOR Object Network, Subobject Material Component Method

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPI_NETWORK_LIST-NETWORK C 12 Network Number

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Parameter

Paramètre Reférence Long. Facultatif Description
E_MESSAGE_TABLE BAPI_METH_MESSAGE 340 Message table for BAPIs (Project System)
I_COMPONENTS_REMOVE BAPI_NETWORK_COMP_ID 15 Material Components Key

Functionality
The BAPI BAPI_NETWORK_COMP_REMOVE deletes material components from thetable I_COMPONENTS of network NUMBER.

Notes
Transfer
You should always specify the network NUMBER. The system transfers thekey of the network components to be deleted to the tableI_COMPONENTS_REMOVE.
Return
If an error occurs during processing, you see an error message in thereturn parameter RETURN.
After calling, the messages generated during processing appear in thetable E_MESSAGE_TABLE.

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

Description
Return code with error messages

Value range
In the case of an error the following error is returned:
Typ ID Number Message
E CN 770 Errors occurred during processing
In this case you can find more information about the cause of the errorin the table E_MESSAGE_TABLE.

Description
Number that uniquely identifies a network within a client.

Description
If errors occur when you add components, the system generates thecorresponding object and error message in this table. Table structure:
Method,,,,,,,,Data type CHAR,,Field length 32
Object type,,,,,,Data type CHAR,,Field length 32
SAP internal object key,,Data type CHAR,,Field length 90
SAP external object key,,Data type CHAR,,Field length 90
Message identification,,,,Data type CHAR,,Field length 20
Message number,,,,Data type CHAR,,Field length 3
Message type,,,,,,Data type CHAR,,Field length 1
Message type,,,,,,Data type CHAR,,Field length 72
The method and the object type are unique in this case and thereforethese fields are not filled.
The SAP external object key is composed of the network component key(reservation number + reservation item number).

Description
In this structure the system transfers the keys of the networkcomponents to be deleted.