2007 Feb 16 6:10 AM
Hi,
Goto SM12 transaction .
Click on the list . It will display list of all programs which are locked.
so select your program which has been locked and delete it.
Regards,
Sruthi
2007 Feb 16 6:13 AM
Have a look at below link.<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/37/a2e3b4344411d3acb00000e83539c3/frameset.htm">Deleting Lock Entries</a>
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
2007 Feb 16 6:19 AM
to unloack a table use Fm -
DEQUEUE_E_TABLE
DEQUEUE_E_TABLEE
DEQUEUE_E_TABLES
for session use tcode -
Sm12
2007 Feb 16 6:13 AM
What lock??
Table lock or session locked??
if it for session locked go to sm12...
if it for table then look enque and deque FM
Thanks
2007 Feb 16 6:15 AM
Hi,
Using SM12 transaction you can delete LOCK entries
Or You can use DEQUEUE related function modules to Unlock Table in the program.
Regards,
Anji
2007 Feb 16 6:20 AM
2007 Feb 16 8:45 AM
2007 Feb 16 8:47 AM
go to SM12 press list or enter select your prog name there in application tool bar you can see the delete option press that. it will delete the lock.
regards
shiba dutta
2007 Feb 16 6:51 AM
Hi Varalakshmi,
Goto SM12 .
click on LIST in the application bar.
then in the menu go for LOCK ENTRY and select Delete All.
Regards,
Naresh
2007 Feb 16 9:00 AM
hi kannan,
well if u wanna entry lock through programming, i m givin u full step n code for locking and unlocking.
go to se11--> then give lock object name started by ez, as in example i took EZENMARA. then in table tab give table name MARA. then in LOCK field u can give the choice here i took shared lock 'S'.
THEN SAVE AND ACTIVATE.
THEN GO TO SE38 COPY THE BELOW PROGRAM AND ENJOY THE LOCK .
AND IF U WANNA TO USE UNLOCK IN PROGRAMMING JUS USE DEQUEUE_EZENMARA AND PUT THE REQUIRED ENTRY.
TABLES: MARA.
PARAMETER: MATNR LIKE MARA-MATNR.
CALL FUNCTION 'ENQUEUE_EZENMARA'
EXPORTING
MODE_MARA = 'S'
MANDT = SY-MANDT
MATNR =
X_MATNR = 'MATNR'
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3
.
IF SY-SUBRC = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
WRITE: 'TABLE IS LOCKED'.
ELSE.
SELECT * FROM MARA WHERE MATNR = MATNR.
WRITE:/ MARA-MATNR,MARA-ERNAM,MARA-MTART.
ENDSELECT.
ENDIF.
REGARDS.
VIJAY DWIVEDI.
REWARDS IF HELPFULL.
2007 Feb 16 9:34 AM
Hello,
Go to transaction SM12 and clikc the button list. Now u can delete the locked entries by selecting it and clicking the DELETE button.
Regs,
Venkat Ramanan N
2007 Feb 16 9:40 AM
hi kannan i think your probem is that your program or other object has been locked then jus go to sm12 and unlock it.
regards
vijay dwivedi
2007 Feb 16 9:49 AM
Hi,
The lock on a object can be deleted using the transaction SM12.
Regards,
Sowmya.
2007 Feb 16 11:05 AM
2007 Feb 16 11:19 AM
Hi,
Goto SM12 transaction .
Click on the list . It will display list of all programs which are locked.
so select your program which has been locked and delete it.
Regards,
Sruthi
2007 Feb 16 11:20 AM
Hi,
Actually what message r u getting when u click sm12 transaction.
Regards,
Sruthi
2014 May 09 12:10 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |