10-01-2008 1:52 PM
Hi,
I have one screen with two tabstrips, one of them contains a chart and the other an ALV. If I leave the screen from the chart-tab and call it again, everything is ok. But when I leave it while ALV-Tab is active and call it again, the alv shows the values from the first call.
I already tried to refresh the Tab-Control before calling again with "REFRESH CONTROL 'tabver' FROM SCREEN '9400'.
The error I got is:
CONTROL_NAME_TOO_LONG
Could anybody help?
Best regards,
Nico
10-01-2008 2:15 PM
Hi,
Call the free method of the ALV when leaving the transaction and clear any reference variables.
Darren
10-01-2008 3:07 PM
Hi,
thanks first for your help, but it doesn`t work.
I think this is more a problem of the Tabstrip control which doesn`t get refreshed.
Best regards,
Nico
10-01-2008 3:14 PM
use the control name with out quotes.
tabver is the control name, which you defined like the below
controls: tabver type tableview using screen 9400.
then this is
wrong
REFRESH CONTROL 'tabver' FROM SCREEN '9400'.code}
Correct
REFRESH CONTROL tabver FROM SCREEN '9400'.
10-17-2008 10:59 AM
Hi,
may it possible that these function is only for tableview controls, and not for tabstrip controls?
Regards,
Nico
10-17-2008 11:02 AM
are you getting any error..? you can use that what ever you defined using CONTROLS
10-17-2008 11:11 AM
the name of my tabstrip control is:
CONTROLS: tab_verbr TYPE TABSTRIP.
The used dynpro is: 9400.
now I tried following:
REFRESH CONTROL tab_verbr FROM SCREEN '9400'.
and got the error:
"Control-Name "TS_VER1 TS_VER1" is to long."
10-17-2008 11:16 AM
same error you are repeating.
REFRESH CONTROL 'TAB_VERBR' FROM SCREEN '9400'.
it should be in single quotes.
10-17-2008 12:25 PM
now I got the error:
"current control can not be processed as tableview control."
10-17-2008 12:29 PM
CONTROLS tab_strip TYPE TABSTRIP.
....
...
REFRESH CONTROL 'tab_strip' FROM SCREEN '0100'.
where you got the error. During runtime or during syntax check
10-17-2008 12:32 PM
10-17-2008 12:35 PM
hmmm looks like it is not possible to refresh the tabstrip like Table control.