Skip to Content
0
Former Member
Mar 12, 2009 at 10:15 AM

Update was terminated in PR creation through BAPI_NETWORK_COMP_ADD

72 Views

Hi all,

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