2008 Jan 05 8:52 AM
Hi,
How to lock the PO No. is two users are trying to edit the same PO in a Z development.
Thanks in Advance!!
Rohini.
2008 Jan 07 4:20 PM
Hello,
This FM will do the trick :
CALL FUNCTION 'ENQUEUE_EMEKKOS'
EXPORTING
MODE_EKKO = 'S'
MANDT = SY-MANDT
EBELN = ebeln
X_EBELN = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3.
Best regards,
Dirk.