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 to determine screen element type?

Former Member
0 Likes
848

Hi,

Could anybody tell me how I can determine the screen element type or get all the type attributes of all the elements in a screen.

I used

Import Dynpro

statement but was unable to detemine if the screen element is a Text field or label or table control etc.

Is there any FM to do this or any statement or is there any way to determine the same from the list of data returned by the

Import Dynpro

statement??

Please help.

1 ACCEPTED SOLUTION
Read only

former_member209703
Active Contributor
0 Likes
670

Hi

There are several FM including RPY_DYNPRO_READ. You just have to pass the program name and the dynpro number to get all elements in that dynpro

You can give it a try.

Regards

2 REPLIES 2
Read only

former_member209703
Active Contributor
0 Likes
671

Hi

There are several FM including RPY_DYNPRO_READ. You just have to pass the program name and the dynpro number to get all elements in that dynpro

You can give it a try.

Regards

Read only

raviahuja
Contributor
0 Likes
670

Hi Try


CALL FUNCTION 'RS_IMPORT_DYNPRO'
    EXPORTING
      dyname  = IV_REPID
      dynumb  = iv_dynnr
      request = 'F'
    TABLES
      ftab    = lt_d021s
      pltab   = lt_d022s
    EXCEPTIONS
      OTHERS  = 0.