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

Table Control Problem

Former Member
0 Likes
944

Hello Everyone,

I have two table controls in my Subscreen. Depending on the buttons i click on the Subscreen i need to show the corresponding table control and hide the other. When i hide the first Table Control the second one should occupy the place of the first table control(just like the i/o fields do). But this is not happening..any hints of why it isnt working?

(I didnt find any thread having this kind of problem or may be the search string i gave didnt match with the respective threads if any.)

Best regards,

rama

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
903

HI,

Check in the screen attributes tat the property

switch off runtime compress is unchecked .

Regards,

Madhukar Shetty

7 REPLIES 7
Read only

Former Member
0 Likes
904

HI,

Check in the screen attributes tat the property

switch off runtime compress is unchecked .

Regards,

Madhukar Shetty

Read only

0 Likes
903

Yes it is unchecked.

Best regards,

rama

Read only

0 Likes
903

Hello,

In PBO you have

CALL SUBSCREEN SUB INCLUDING REPID DYNNR

IN Top include declare 
data : repid type sy-repid, " This is the Module pool program name
          dynnr type sy-dynnr value '0100'. " This is the first subscreen

in PAI

module call_correct_screen.

in program.

module call_correct_screen.
case Ok_Code.
when 'BUTTON1'.  " This is the perticular Button you are clicking
dynnr = '0200'. Where your second table control is included
when 'BUTTON2' " Another Button which intends call third Subscreen for example
dynnr = '0300'.
when 'BUTTON3'.  " Lets say a nothing should display then call a dummy subscreen without any elements on it
dynnr = 400.
endmodule.

Hope this serve your purpose

Cheerz

Ramchander Rao.K

Read only

0 Likes
903

Hi,

Thanks for the reply..nice idea that

Best regards,

rama

Read only

0 Likes
903

Thank You.

Best regards,

rama

Read only

Former Member
0 Likes
903

Hi,

Check this link on how it should work.

Link:[Table Control|http://dalhpa13.dal.mobil.com:8115/helpdata/EN/fd/02da2a61d811d295750000e8353423/frameset.htm]

Regards,

Himanshu

Read only

0 Likes
903

Hi,

Link is not working..it says Server not found..could you please give the url.

Best regards,

rama