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

FM C_ENQUEUE

Former Member
0 Likes
3,839

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.

4 REPLIES 4
Read only

RaymondGiuseppi
Active Contributor
0 Likes
2,187

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

Read only

raghug
Active Contributor
0 Likes
2,187

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

Read only

Former Member
0 Likes
2,187

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

Read only

Former Member
0 Likes
2,187

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.