‎2011 Nov 24 10:42 AM
Hello all,
I am facing problem in Tab strip where imy second tab is automatically getting in active position once after saving data in the first tab through save button in pf-status.
‎2011 Nov 24 10:56 AM
‎2011 Nov 24 11:14 AM
Hi Venkat,
You need to check the ACTIVE_TAB value
Normally in Tabstrip programs
iN PBO
call subscreen sub using sy-repid dynnr " Here DYNNR is a variable in TOP include (neglect if Syntax is incorrect)
case sy-ucomm.
when 'TAB1'.
DYNNR = 2000. " Your Subscreen number to which this Tab pointing to
ts_active_tab = 'TAB1' " This is the Tabstrip you declared in TOP Include
endcase.
For more info Take F1 help on Controls Key word or go throug demo programs
Hope this serve your purpose
Cheerz
Ramchander Rao.K
‎2011 Nov 30 9:38 AM
Makesure you pass the correct o-code to tab_strip--activetab plus you sent the right screen number in GV_DYNNR.
PBO
CALL SUBSCREEN test1 INCLUDING sy-repid gv_dynnr.
PAI
CALL SUBSCREEN test1 .
Nabheet
‎2011 Nov 30 10:50 AM
Hi dear
You can try this Take a Strig type attribute in context
goto the tabstrip properties there in option "SELECTED TAB" bind it with that string attribute
and provide the value of that attribute as the name of first tab of tabstrip
mine thing worked properly
please try the provided link too.
http://help.sap.com/saphelp_erp2005/helpdata/EN/e8/ac884118aa1709e10000000a155106/content.htm
Edited by: AMARENDRA on Nov 30, 2011 11:50 AM