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 does not seem to reflect changes when called from main program.....

Former Member
0 Likes
957

Hi all,

here's an issue that i've been trying to solve for a few days now,

i had created a screen in the screen painter, inside which i've included a table control (screen number 100: ).

i, then created a second screen pointing to the same program as screen 100 and assigned screen number 200 to it. so both scrn 100 and scrn 200 has got table controls and the validations occur in modules from the same program.

the issue i face is that, while any changes i make in screen 100 works fine when i call screen 100 from the main program; it does not work when i try to modify the table control in screen 200. for example, if i were to add a new column, it messes up the allignment of the other columns in screen 200, i can't seem to assign fixed colums, etc....

has anyone come across similar issues? if so how can i solve it? could it be an error with the SAP GUI?

any response will be appreciated. points will be rewarded as well... if that's how things work here.

Thanks,

David.

Edited by: david joseph on Aug 14, 2008 2:33 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
788

>

> Hi all,

> here's an issue that i've been trying to solve for a few days now,

> i had created a screen in the screen painter, inside which i've included a table control (screen number 100: ).

> i, then created a second screen pointing to the same program as screen 100 and assigned screen number 200 to it. so both scrn 100 and scrn 200 has got table controls and the validations occur in modules from the same program.

>

> the issue i face is that, while any changes i make in screen 100 works fine when i call screen 100 from the main program; it does not work when i try to modify the table control in screen 200. for example, if i were to add a new column, it messes up the allignment of the other columns in screen 200, i can't seem to assign fixed colums, etc....

>

> has anyone come across similar issues? if so how can i solve it? could it be an error with the SAP GUI?

>

> Thanks,

> David.

>

> Edited by: david joseph on Aug 14, 2008 2:33 AM

Hi David,

The description of the problem is not so clear.

Let me know where I'm wrong, you have 2 screens and 2 different tablecontrols ? When you do any changes from the sapgui to the screen 100 there is no problem. But when you do that to the screen 200 is messes up ?

My logic with table controls

if you want 2 screens to share the same control then add the control to a subscreen

when you want to have 2 screens with 2 differents controls :

in main program

CONTROLS : tc_100 type TABLEVIEW USING SCREEN 100.
CONTROLS : tc_200 type TABLEVIEW USING SCREEN 200.

In screen 100 / 200 assure the name of the controls are tc_100 / tc_200....

Using this method I never have any problem....

2 REPLIES 2
Read only

Former Member
0 Likes
789

>

> Hi all,

> here's an issue that i've been trying to solve for a few days now,

> i had created a screen in the screen painter, inside which i've included a table control (screen number 100: ).

> i, then created a second screen pointing to the same program as screen 100 and assigned screen number 200 to it. so both scrn 100 and scrn 200 has got table controls and the validations occur in modules from the same program.

>

> the issue i face is that, while any changes i make in screen 100 works fine when i call screen 100 from the main program; it does not work when i try to modify the table control in screen 200. for example, if i were to add a new column, it messes up the allignment of the other columns in screen 200, i can't seem to assign fixed colums, etc....

>

> has anyone come across similar issues? if so how can i solve it? could it be an error with the SAP GUI?

>

> Thanks,

> David.

>

> Edited by: david joseph on Aug 14, 2008 2:33 AM

Hi David,

The description of the problem is not so clear.

Let me know where I'm wrong, you have 2 screens and 2 different tablecontrols ? When you do any changes from the sapgui to the screen 100 there is no problem. But when you do that to the screen 200 is messes up ?

My logic with table controls

if you want 2 screens to share the same control then add the control to a subscreen

when you want to have 2 screens with 2 differents controls :

in main program

CONTROLS : tc_100 type TABLEVIEW USING SCREEN 100.
CONTROLS : tc_200 type TABLEVIEW USING SCREEN 200.

In screen 100 / 200 assure the name of the controls are tc_100 / tc_200....

Using this method I never have any problem....

Read only

Former Member
0 Likes
788

hi,

thanks for your response stephan. the trouble i had was solved by assigning the correct screen numbers in the table control definition.