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: 

Table Control Problem

Former Member
0 Kudos

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

Former Member
0 Kudos

HI,

Check in the screen attributes tat the property

switch off runtime compress is unchecked .

Regards,

Madhukar Shetty

7 REPLIES 7

Former Member
0 Kudos

HI,

Check in the screen attributes tat the property

switch off runtime compress is unchecked .

Regards,

Madhukar Shetty

0 Kudos

Yes it is unchecked.

Best regards,

rama

0 Kudos

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

0 Kudos

Hi,

Thanks for the reply..nice idea that

Best regards,

rama

0 Kudos

Thank You.

Best regards,

rama

Former Member
0 Kudos

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

0 Kudos

Hi,

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

Best regards,

rama