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

User Lock issue when processing IDOCS

kiran_k8
Active Contributor
0 Likes
2,848

Hi Folks,

We are pushing the data into SAP using IDOCS.During this process some IDOCS are getting failed due to User Lock on shipment header.Anyone here can share their experience in dealing with User Lock issues.

Thanks,

Kiran.

1 ACCEPTED SOLUTION
Read only

JL23
Active Contributor
0 Likes
1,983

only one can process a shipment at a time.

if you are in change mode in a shipment, then this shipment is locked for a second user to change anything.

7 REPLIES 7
Read only

JL23
Active Contributor
0 Likes
1,984

only one can process a shipment at a time.

if you are in change mode in a shipment, then this shipment is locked for a second user to change anything.

Read only

kiran_k8
Active Contributor
0 Likes
1,983

Jurgen,

Ok.How can we avoid this user lock conflct when Processing IDOCS.

Thanks,

Kiran.

Read only

JL23
Active Contributor
0 Likes
1,983

process the IDOCs in the night.....

exchange info with the user.

ask the user what he does when he is locking the shipment (often users just use the change transaction instead of the display transaction and do not know what problems they cause with this approach)

explain Whatyour IDOC does and find a good timing together with your users

Read only

kiran_k8
Active Contributor
0 Likes
1,983

Thanks.So,will there be no solution programtically ? Did you came across any SAP Notes for such issues.

Kiran.

Read only

JL23
Active Contributor
0 Likes
1,983

no, there is nothing you can do with a program. There are OSS notes about this but nothing that would really help you (for material master updates there is an option for late locks)

Read only

kiran_k8
Active Contributor
0 Likes
1,983

Can you please share the OSS notes details so that I can take a look at the options.

Thanks,

Kiran.

Read only

Former Member
0 Likes
1,983

Kiran,

Only one can edit the document, it's standard fucntion. I think No note can resolve this. I can suggest you to run a back ground job very frequently ,which picks these status 51 IDOCs and reprocess. Report is :RBDMANi2

We can use Message class & error message number on selection screen, so that we can make sure that only those idocs which were failed due to Lock problem are taken by the job.

--

Reddy