Skip to Content
-1

FM C_ENQUEUE

Dec 23, 2016 at 10:03 AM

83

avatar image
Former Member

In one of my program FM C_ENQUEUE is used for locking but it is returning sy-subrc as 0 and hence throwing an abend message because of which an idoc is failing. I am not able to figure out why this is happening.

Can someone let me know.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Raymond Giuseppi
Dec 23, 2016 at 11:03 AM
0

I hope the system function is called from an ENQUEUE FM (generated from lock object) so, with the information you provided, I can only suggest that the data is already locked, try SM12 or analyze the error message (locked by)

Regards,
Raymond

Share
10 |10000 characters needed characters left characters exceeded
Raghu Govindarajan Dec 23, 2016 at 04:27 PM
0

Why are you using C_ENQUEUE directly... If it is your own program, use an ENQUEUE_*** Function module

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 26, 2016 at 07:02 AM
0

We are using ENQUEUE_*** only but inside this FM only C_ENQUEUE is getting called.

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 26, 2016 at 07:06 AM
0

Hi Raymond,

I am not authorized to use SM12 in production. The error i got is 'SAP lock lost for interface XXXXXXX run XXXX ; no further processing possible'. Nothing else i could find in it.

Please suggest.

Share
10 |10000 characters needed characters left characters exceeded