Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to determine a procurement type of material to pass to the BAPI_NETWORK_COMP_ADD?

Hello Experts,

I am using "BAPI_NETWORK_COMP_ADD" to create a new Material Component under a network activity. The BAPI has Network as importing parameter and importing table is BAPI_NETWORK_COMP_ADD.

In this table we have to pass activity number, item category, procurement type, material etc....

I am unable to determine the procurement type for a material which could be passed to this table's field TYPE_OF_PUR_RESV. However, if I am not passing procurement type, the BAPI always creates "Reservation for network" which can be seen in CJ20N. But when you create the same material under any activity using transaction CJ20N it takes the appropriate procurement type..

As per my requirement, could you please help me how could I get the exact procurement type which can be passed to the parameter(TYPE_OF_PUR_RESV), which may result to the correct procurement type.

Any help would be appreciated and awarded.

Best Regards,

Chhotan.

Not what you were looking for? View more on this topic or Ask a question