Application Development 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: 

How to read data from Screen Flow into Internal table

Former Member
0 Kudos

Hi All,

I have a screen SAPLBZFC No 0150. Following are the fields which are available inside the screen ,

RSFAC-MFELD, RSFAC-TNAME_M, RSFAC-INPUT, RSFAC-OBLIGAT, RSFAC-DISPLAY, RSFAC-NOTACT and RSFAC-INT.

In this case RSFAC is structure and fields like INPUT, OBLIGAT, DISPLAY and NOTACT are radio buttons. The value of these radio buttons differs based on RSFAC-TNAME_M and Profile RSFAC-BWERT.

I need to write a program which should compare radio button values based on RSFAC-BWERT.

I know that it is not possible to fetch data from Structure. Is there any way to get data from this screen. I checked all the available options like where used list, related data base tables but of no use.

Could you please assist me on this.

Thanks & Regards,

Nagaraj Kalbavi

4 REPLIES 4

Former Member
0 Kudos

You can find RSFAC-BWERT in TFAWC-BWERT...

Similarly all other fields get stored in some tables...

Please check once again...

0 Kudos

Hi Ramesh,

Thanks for the info,but I found lot of tables unfortunately I am not getting the value for radio buttons. Also I found a FM FIELD_SELECTION_CUSTOMIZE , IMPORT_DYNPRO etc which will call that screen based on profile but it will not store data any where. I found several tables like TCATS, TFAWC, TFAWF, TFAWT etc.But I am not getting the value for raduio buttons.

Thanks & Regards,

Nagaraj Kalbavi

Former Member
0 Kudos

Can't you simply LOOP AT SCREEN AND and get your values.

Former Member
0 Kudos

Hi All,

After two days of searching finally I got the function Module which reads the data from screen and provides me the output. It is a standard FM provided by SAP for program SAPLCATS and table TCATS-VARIANT.

Thanks a lot for all your help.

Best Regards,

Nagaraj Kalbavi