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: 

FM to lock data element and messages

former_member314455
Participant
0 Kudos

Hi All,

I need a FM to enque data element and messages for translation.

I have found out one FM for ABAP program texts - ENQUEUE_EABAPTEXTE.

Can you please tell me the corresponding ones for data element and messages.

Thank you.

Ajith

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

For data element , no need to lock... Lock is requried for a object which contain some data (values) in it

Kiran

5 REPLIES 5

Former Member
0 Kudos

Hi,

You can create your own lock using the transaction se11.

Former Member
0 Kudos

You need to create a lock object using transaction SE11 .

Once the lock is created, we can use this lock object in our program using the function call.

CALL FUNCTION 'ENQUEUE_<<Lock Object>>u2019

Dont forget to Unlock

In order to unlock, we use the function module call as shown below.

CALL FUNCTION 'DEQUEUE_<<Lock Object>>u2019

Former Member
0 Kudos

Hi

For data element , no need to lock... Lock is requried for a object which contain some data (values) in it

Kiran

former_member156446
Active Contributor
0 Kudos

create a authorization object in SU21 which will restrict the users.. give your data element and use that in program using authorization-object <object name>

Note: this is not suitable for numeric fields..

shadow
Participant
0 Kudos

Hi Krishna,

Use function modules enqueue_<<lock object>>u2019 and dequeue_<<lock object>>u2019

With Regard's

SHAIK.