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

How do I get the screen element properties

Former Member
0 Likes
2,584

Hi Experts,

In SE51, you enter the program name, screen number then choose element list and display. You'll get the list of screen elements present and their individual attributes like 'REQUIRED', 'INPUT' and many other.

Is there any way to get these details from database or function module by providing the program name and the screen number? I have been searching the forum but till now not able to find any information about this. Please note that I need to get these details using an independent program which is not linked to the required program and screen.

Your help is highly appreciated.

Thanks and regards,

Sumanth

Edited by: Sumanth MV on Mar 24, 2010 12:00 PM

1 ACCEPTED SOLUTION
Read only

nirajgadre
Active Contributor
0 Likes
1,457

Hi,

try to use the function module RPY_DYNPRO_READ and check the FIELDS_TO_CONTAINERS parameter in tables

Hi Experts,

In SE51, you enter the program name, screen number then choose element list and display. You'll get the list of screen elements present and their individual attributes like 'REQUIRED', 'INPUT' and many other.

Is there any way to get these details from database or function module by providing the program name and the screen number? I have been searching the forum but till now not able to find any information about this. Please note that I need to get these details using an independent program which is not linked to the required program and screen.

Your help is highly appreciated.

Thanks and regards,

Sumanth

Edited by: Sumanth MV on Mar 24, 2010 12:00 PM

4 REPLIES 4
Read only

nirajgadre
Active Contributor
0 Likes
1,458

Hi,

try to use the function module RPY_DYNPRO_READ and check the FIELDS_TO_CONTAINERS parameter in tables

Read only

mvoros
Active Contributor
0 Likes
1,457

Hi,

you can import dynpro definition using FM RS_SCREEN_IMPORT (WANTED_MODE = 'SHOW'). You get screen elements in the table F_G.

Cheers

Read only

Former Member
0 Likes
1,457

Hi Sumanth,

You can make use of the FM GET_DYNPRO_LIST OR ECATT_GET_DYNPRO_FIELDLIST

Here I believe you have to use the FM GET_DYNPRO_LIST.

Hope this will help you.

Regards,

Smart Varghese

Read only

Former Member
0 Likes
1,457

Thanks to all, I got the required details.