‎2008 Aug 13 3:04 AM
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
‎2008 Aug 14 9:11 AM
>
> 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....
‎2008 Aug 14 9:11 AM
>
> 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....
‎2008 Aug 18 7:52 AM
hi,
thanks for your response stephan. the trouble i had was solved by assigning the correct screen numbers in the table control definition.