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_REQUIREMENTS_CREATE gives System Lock Error

Former Member
0 Likes
400

Hi All,

When I am creating the Material Requirements Plan using BAPI_REQUIREMENTS_CREATE then everything works fine but at random intervals for a bunch of materials it is giving System Lock Error message.

so I did like this

loop at..

BAPI_REQUIREMENTS_CREATE

BAPI_TRANSACTION_COMMIT

dequeue_all. (function module)

endloop.

Still didnt help.

Please suggest me any other reasons..

2 REPLIES 2
Read only

Former Member
0 Likes
344

after execution of your BAPI s write below code.

BAPI_REQUIREMENTS_CREATE

BAPI_TRANSACTION_COMMIT

WAIT UPTO 3 SECONDS.

Read only

Former Member
0 Likes
344

Hi

Refer This Link

Ranga