‎2007 Apr 20 7:47 AM
Is there any table where we can get all the fields used in the Screen.
Thanks & Regards
Santhosh
‎2007 Apr 20 7:49 AM
‎2007 Apr 20 9:18 AM
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
‎2007 Apr 20 9:21 AM
Hi Santosh,
Check FM DYNPRO_FIELD_GET.
Hope this helps.
Thanks
Lakshman
‎2007 Apr 20 9:58 AM
HI Santhosh
In <b>Debugging</b> the program you can see the All Screen fields in Screen Table,and their Attributes also
Regards Rk
‎2007 May 07 11:51 AM
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