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

problem in Tab strip

Former Member
0 Likes
594

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.

4 REPLIES 4
Read only

madhu_vadlamani
Active Contributor
0 Likes
567

Hi,

Please check pf-status,screen no.

Regards,

Madhu.

Read only

Former Member
0 Likes
567

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

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
567

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

Read only

Former Member
0 Likes
567

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