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

Problem with WF_BATCH

Former Member
0 Likes
438

Hi, I have a problem when executing bapi BAPI_GOODSMVT_CREATE. In the return table i get a message which says "Batch & of material & is already locked by WF_BATCH". I've been looking for this user wf_batch and i've seen it's the system user used in workflow or something like that.. but don't know how to solve this error...

thanks in advance !!!!

Hi, I have a problem when executing bapi BAPI_GOODSMVT_CREATE. In the return table i get a message which says "Batch & of material & is already locked by WF_BATCH". I've been looking for this user wf_batch and i've seen it's the system user used in workflow or something like that.. but don't know how to solve this error...

thanks in advance !!!!

2 REPLIES 2
Read only

Former Member
0 Likes
413

Hi,

May bee some one have locked that material using workflow in the background and had not unlocked it. If we are using workflow in background user WF_BATCH will execute the function.

You should unlock that material and than use it.

Regards,

Ramu N.

Read only

Former Member
0 Likes
413

The BAPI you are using is in fact is a remote-enabled function module.

It looks like this is a security / RFC releated issue. There may be a problem with authorizations