Skip to Content
avatar image
-1
Former Member

FM C_ENQUEUE

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Dec 23, 2016 at 11:03 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2016 at 04:27 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2016 at 07:02 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2016 at 07:06 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded