Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Capture USER details when the transaction is locked

Former Member
0 Kudos

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.

2 REPLIES 2

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi Sudheer

Go to SM12 and give the transaction.

You can know the user who locked that transaction.

Regards,

Sree

Former Member
0 Kudos

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.