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

IDOC processing report

Former Member
0 Likes
753

I want to development a report, part of the report is to find out if some is modifing an IDOC (if it has been loocked by the user). How can I do it? Can i use FM "ENQUEUE_ES_EDIDOCE" to do it? Try to lock the idoc again using the FM. if SY_SUBRC = 0, it means it was unlocked before. I am not sure if I am in right direction.]? Please suggest.

Thanks,

AP

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
655

Yes you can use the FM ENQUEUE_ES_EDIDOCE (exclusive)

or FM ENQUEUE_ES_EDIDOCS(shared). For details see the include LEDI1FA1.

Regards,

Joy.

3 REPLIES 3
Read only

Former Member
0 Likes
655

Any suggestions please.

Thanks.

Read only

Former Member
0 Likes
656

Yes you can use the FM ENQUEUE_ES_EDIDOCE (exclusive)

or FM ENQUEUE_ES_EDIDOCS(shared). For details see the include LEDI1FA1.

Regards,

Joy.

Read only

0 Likes
655

Joy,

The problem is, idoc processing function module is not locking the Idoc(no ENQUE statement). Is there any function module which can tell if someone is modifying idoc.

Thanks,

AP