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_NETWORK_COMP_ADD PR update problem

Former Member
0 Likes
478

I am using BAPI_NETWORK_COMP_ADD to add compnents to a network.

Everything is working fine till i release the network and activities.

Once i release them,if i try to add components it adds only one component and

for others it gives 'Update was terminated '.

If anybody has come across this sort of problem please tell me how to handle this

When I see in ST22 or SM13

ME_UPDATE_REQUISITION is giving the dump as it is trying to insert a PR that is already there in EBAN..

But i dont know why this is happening as a COMMIT WORK is also there after the first execution

of BAPI_NETWRK_COMP_ADD that too with a WAIT statement

It should insert a new PR .It should not take the previous one.

The problem is coming only when the procurement type is given '7'

i.e. 'Preliminary Purchase Requisition for WBS Element' and the

activity is released.otherwise it works fine

Please help

Regards,

Nishant Rana

1 REPLY 1
Read only

mvoros
Active Contributor
0 Likes
369

Hi,

have you looked at OSS notes related to this BAPI? There are couple of notes. They might help you. There are also some OSS notes related to ME_UPDATE_REQUISITION and update termination.

Good luck