11-12-2007 7:31 AM
Hi Experts,
I have a run a BDC program having IE02 transaction. when the program execute i need to check whether the transaction is locked or not.
If the transaction is locked i need to capture the USER details who has locked the transaction.
can any one help me in this issue.
Award points for helpful answers.
Thanks in advance,
sudheer.
11-12-2007 7:34 AM
Hi Sudheer
Go to SM12 and give the transaction.
You can know the user who locked that transaction.
Regards,
Sree
11-12-2007 7:35 AM
hi, Sudheer
USE call transaction like this
DATA IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
CALL TRANSACTION 'IE02' using BDCTAB MODE 'E' UPDATE 'S' MESSAGES INTO IT_MESSAGES.
So you will get messages into internal table it_messages and you can view the messages.