Skip to Content
0
Former Member
May 16, 2008 at 09:37 AM

Enqueue

29 Views

Hi,

I have one query :

1) In one session I am changing records of SCUSTOM-ID =

'abcd'

2) In another session , I am calling FM in one program

IT_SCUSTOM-ID = 'abcd'.

CALL FUNCTION 'ENQUEUE_EZSUSTOM'

EXPORTING

MODE_YSLS_INVOICE_HEA = 'S'

id = IT_SCUSTOM-ID

EXCEPTIONS

FOREIGN_LOCK = 1

SYSTEM_FAILURE = 2

OTHERS = 3

In this case sy-subrc should be 1 or 0.

Please let me know.

Regards,

Priti