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

Screen fields

Former Member
0 Likes
553

Is there any table where we can get all the fields used in the Screen.

Thanks & Regards

Santhosh

5 REPLIES 5
Read only

Former Member
0 Likes
535

table is SCREEN but at runtime only u will get.

Regards

prabhu

Read only

Former Member
0 Likes
535

Hi,

Use the below code, u will get all the fields present on the screen and all of its attributes also.

In the PBO u will get the table 'Screen_itab' filled.

TYPES: BEGIN OF STRUCT,

NAME(132),

GROUP1(3),

GROUP2(3),

GROUP3(3),

GROUP4(3),

REQUIRED,

INPUT,

OUTPUT,

INTENSIFIED,

INVISIBLE,

LENGTH TYPE X,

ACTIVE,

DISPLAY_3D,

VALUE_HELP,

REQUEST,

COLOR(4) TYPE I,

END OF STRUCT.

DATA Screen_itab TYPE TABLE OF STRUCT WITH HEADER LINE.

START-OF-SELECTION.

CALL SCREEN 100.

MODULE STATUS_0100 OUTPUT.

LOOP AT SCREEN.

Screen_itab = SCREEN.

APPEND Screen_itab.

ENDLOOP.

ENDMODULE. " STATUS_0100 OUTPUT

Reward if usefull

Sudheer

Read only

Lakshmant1
Active Contributor
0 Likes
535

Hi Santosh,

Check FM DYNPRO_FIELD_GET.

Hope this helps.

Thanks

Lakshman

Read only

Former Member
0 Likes
535

HI Santhosh

In <b>Debugging</b> the program you can see the All Screen fields in Screen Table,and their Attributes also

Regards Rk

Read only

0 Likes
535

Hi,

U have to <b>award points for useful answers</b> and u have to mention it as solved if ur question is solved. Dont forget.

Regards,

Sudheer