Application Development and Automation 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: 
Read only

Function module to read Lock objects

Former Member
0 Likes
2,113

Hi all,

I'm doing a generic search program for all the objects..

Is there any function module to read Lock objects....

that is to know wat r all the tables and Lock parameters are there in a lock object

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,110

Hi Gayathri

Please read the table DD25L with AGGTYPE = 'E' to get all the lock object names in the field VIEWNAME. Use these lock object to read the table DD27S to get the fields present in these lock objects.

Hope this helps !

Regards

Ranganath

PS : Reward points for all useful answers !

5 REPLIES 5
Read only

Former Member
0 Likes
1,111

Hi Gayathri

Please read the table DD25L with AGGTYPE = 'E' to get all the lock object names in the field VIEWNAME. Use these lock object to read the table DD27S to get the fields present in these lock objects.

Hope this helps !

Regards

Ranganath

PS : Reward points for all useful answers !

Read only

0 Likes
1,110

Hi Ranganath,

Do we have any specific Function module to do this..

Read only

0 Likes
1,110

Hi Gayathri

Please try the FM "GET_ENQD_FOR_VERSIONS". But in this case you have to give the lock object names. But to get all the lock objects defined in the reposotory we have to a Query on DD25L atleast.

Regards

Ranganath

Read only

0 Likes
1,110

Thank u so much Ranganath.... My problem is solved

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,110

Lock objects are stored in the following tables :

DD25L Aggregate Header (Views, MC Objects, Lock Objects)

DD25T Short Texts for Views and Lock Objects

(select AGGTYPE = 'E')

Look at function module F4_DD_LOCKOBJECT

Regards