cancel
Showing results for 
Search instead for 
Did you mean: 

loading web template with multiple tabs to show 2nd tab on initial load

former_member730190
Participant
0 Kudos
78

I have a web template with multiple tabs. When the page initially loads, I want to see the 2nd tab instead of the 1st. Is this possible? I want the tab to be in the 2nd position, and I want that to show up on initial page load and not the 1st tab.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Plz. set 'Initial Tab Index' to 2 under Tab Pages Properties -> Internal Display at design time. When the page loads initially, it would display the 2nd tab instead of default 1st.

--Priya

former_member730190
Participant
0 Kudos

Thanks Priya. That works. But can it be dynamic where I can pass it as a URL parameter?

Former Member
0 Kudos

Since you wish to have the 2nd Tab only on initial load, you can set it at design time as suggested. Is there a need to call your web template from some other template? Well, in that case too, it would work since the setting is on initialization of the web template. I believe you can use Command URLs to set the Tab Pages webitem Parameter to achieve the same functionality in WAD 3.5.

--Priya

former_member730190
Participant
0 Kudos

Ideally what I would like is show 1st tab on page load but when it is being used as a link from some other template, load 2nd tab.

Former Member
0 Kudos

I don't see a way how you can override the webitem parameters' of the web template you are abt to open from an existing web template using WAD 7 Commands. But in WAD 3.5 you can have parameterized URLs while calling web templates from existing templates - but I'm not too sure on how the URL (http://myAppServer:myPort/SAP/BW/BEx?CMD=LDOC&template_id=yourTemplate) changes from 3.5 to 7. Maybe you can try it out;

Refer parameterized URLs:-

http://help.sap.com/saphelp_nw04/helpdata/en/27/6c013a53271a05e10000000a11402f/content.htm

Refer changing webitem parameters:-

http://help.sap.com/saphelp_nw04/helpdata/en/3b/94f6acc710284da3aa1dfbff327934/content.htm

--Priya

Former Member
0 Kudos

Hi,

in 7.0 WAD you can insert a command before . Use the command SET_ITEM_PARAMETERS as a standard action before first display in the properties of Web Template.

Bye

Gilbert