Functionality The BAPI BAPI_NETWORK_COMP_CHANGE changes existing material componentsin the network (NUMBER). Therefore it is possible to change multiplenetwork components belonging to the network object by calling one singletime. The BAPI can be called repeatedly, until a LUW is completed with theBAPI Commit Work. You cannot change the procurement type. You cannot process configurable materials discontinued materials alternative items. Notes Transfer You should always specify the network NUMBER. The system transfers thecomponent data to be changed to the table I_COMPONENTS_CHANGE. It is not necessary to fill all component attributes if you want tochange only a few values of an existing component and retain theremaining values. In the update structure I_COMPONENTS_CHANGE_UPDATE you can specify theattributes whose values you want to change. Return In the return parameter RETURN you see an error message if an erroroccurs during processing. After calling, you see the messages that were generated duringprocessing 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 toExternal Project Software. Description Return code with error messages Value range When an error occurs, the system returns the following message: Typ ID Number Message E CN 770 Errors occurred during processing For more information about the cause of the error, see the tableE_MESSAGE_TABLE. Description Number that uniquely identifies a network within a client. Description If errors occur when you change 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 text,,,,,,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 reservation number, thereservation item number, the material number and the plant. Description In this structure, the system transfers the detail information forchanging network components. You must enter a character in the corresponding field of the structre I_COMPONENTS_CHANGE > for each field you want to change. You can find more information about the meaning of each parameter inthe corresponding data element documentation. You can access thisinformation by double-clicking a data element in the structure and thenchoosing the function key Documentation>.Description In the structure (I_COMPONENTS_CHANGE_UPDATE>) you enter whichfields in the structure I_COMPONENTS_CHANGE>, that is, whichcomponent data, should be transferred to the system, and as a result,changed. |