Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Bapi BAPI_NETWORK_COMP_ADD not updating procurement type

Former Member
0 Likes
1,135

I am using BAPI_NETWORK_COMP_ADD to add components to network in CJ20N. passing procurement type as '6' to TYPE_OF_PUR_RESV and also passing customer number . but it is not updating procurement type as "Third-Party Requisition WBS Element". Please help me on this to resolve.

1 REPLY 1
Read only

amy_king
Active Contributor
0 Likes
744

The documentation mentions to pass activity number along with procurement type. Are you passing these as well? Showing us your code snippet may help in troubleshooting.

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.