cancel
Showing results for 
Search instead for 
Did you mean: 

Change ID of Web Template Web Item In URL - BW 3.5

Former Member
0 Kudos

Hi,

We recently got BW 3.5 and I'm experimenting with the "web template" web item.

I want to use commands in the URL to change which web template id that the "web template" web item uses.

I tried <SAP_BW_URL item="TEMPLATE3" template_id="ZMYWEB">

where TEMPLATE3 is the name of the web item and ZMYWEB is the name of a web template. This didn't work. I think i'm missing some syntax. I can't find any documentation on this command.

Any ideas?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Fong,

If you are trying to change the web template then the you need to use the following command.

<SAP_BW_URL CMD='CHANGE_TEMPLATE' TEMPLATE_ID=’DETAILS'>

If this is not your requirement, give me more inputs about your secnario.

Thanks

Saravanan.

Former Member
0 Kudos

That did not work for me. Using your code, how does it know which "web template" web item to change?

Here's my scenario.

I have 4 web templates.

1) Header

2) Footer

3) Content Area

4) Main web template that has the above 3 imbedded in it

On my Main (#4) web template I want to use URL commands to change the web template that is used for the Content Area (#3).

What's the syntax to accomplish this?

Thank you.

Former Member
0 Kudos

Hi Audrey,

Could you pls tell me, how you imbedded a web template using web item. I mean which web item you used for performing this functionality.

Thanks

Saravanan.

Answers (2)

Answers (2)

Former Member
0 Kudos

Saravanan,

In BW 3.5, there is a web item called "web template"

Heike,

Thanks. I won't pursue trying to figure out the command url now that I know it's not possible.

Former Member
0 Kudos

Hi,

changing the Template is not possible during runtime. Instead you should include all needed templates as Web Items and set the hidden parameter. Then you can unhide und hide the respective web item. Examples can be found in template 0ADHOC.

Heike