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 and subscreen..

former_member570893
Discoverer
0 Likes
574

Hello everybody.

The answer to my problem I don't found. Please give me advice.

I have main screen 100 (where - two table control), and second subscreen 200(where - checkbox).

And I call subscreen 200 from main screen 100 in PBO:

call subscreen sub_scr1 including sy-repid '200'.

Question: How hide one of the tables on main screen 100, push on checkbox second subscreen 200.

                                                                                                                                                     Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
543

Hi Alex,

You can create a global variable in Report (gv_hide). In PBO of the main screen, you must add a new Module whith a LOOP AT SCREEN - ENLOOP...somethink like this:

LOOP AT SCREEN.

      if gv_hide = 'X'.

          Table_control_name-INVISIBLE = 'X'.

           MODIFY SCREEN.

      endif.

ENDLOOP.


Value of gv_hide is set to 'X' when in subscreen 200 you push on checkbox (gv_hide can be directly your checkbox input value).


Regards.

Luis.

Hello everybody.

The answer to my problem I don't found. Please give me advice.

I have main screen 100 (where - two table control), and second subscreen 200(where - checkbox).

And I call subscreen 200 from main screen 100 in PBO:

call subscreen sub_scr1 including sy-repid '200'.

Question: How hide one of the tables on main screen 100, push on checkbox second subscreen 200.

                                                                                                                                                     Thanks.

1 REPLY 1
Read only

Former Member
0 Likes
544

Hi Alex,

You can create a global variable in Report (gv_hide). In PBO of the main screen, you must add a new Module whith a LOOP AT SCREEN - ENLOOP...somethink like this:

LOOP AT SCREEN.

      if gv_hide = 'X'.

          Table_control_name-INVISIBLE = 'X'.

           MODIFY SCREEN.

      endif.

ENDLOOP.


Value of gv_hide is set to 'X' when in subscreen 200 you push on checkbox (gv_hide can be directly your checkbox input value).


Regards.

Luis.