Skip to Content

Scenario:At times certain web templates get corrupt, any new changes done to them cannot be saved and the only way out of this situation is to either create a new web template or to create a copy of this web template and totally discard the original web template. The problem with the new web template is that a new web template or a copy web template will have a new name and a new URL. Supposing the web template requiring change is a landing page of the portal from where you could launch different reports then changing the URL needs to be followed up with communicating the new URL to all the users, which can be a huge inconvenience as the users are already used to running the BW reports from a bookmarked link. And as human nature resists changes there may be series of disappointments that a BW team will have to face. This post is an attempt to have a copy of the non working web template being created without changing the URL, so that the user will never have to change his way of report accessing.

Example: A portal which holds the URLs to different reports requires a cosmetic change, but the web template refuses to accept the change and throws up an error message “The technical name of the object TMPL WEB_LANDING_PAGE is not valid”.1.JPG

Even the changes cannot be performed using the program RS_TEMPLATE_MAINTAIN.

2.JPG

3.JPG

Clicking on change and Save buttons throw up the below mentioned error:

4.JPG

The message points towards a transport problem, whereas a BEx transport has already been created. This error exists even after the web template has been added to the transport.

The execution works here just the way it works on the web:

5.JPG

The URL which the users use to access the page is as displayed below and an understanding of the different segments of the URL is important:

6.JPG

Upon executing the URL in web browser we receive the below web page, which is the landing page from where we can choose the required link which takes us further to another page with reports.

7.JPG

Step 1: Save the web template with a new name using SAVE AS option:

8.JPG

9.JPG

Here I have saved the web template as WEB_LANDING_PAGE_2.

Step 2: Delete the corrupt web template:

10.JPG

Run the same URL again to confirm the deletion:

11.JPG

Step 3: Now we have to create a new template so that the same URL fetches us the report output.

Open the web template which was copied earlier i.e,. WEB_LANDING_PAGE_2, carry out the required changes, which were not possible previously and save as a copy with the original template name, which was deleted previously i.e, ‘WEB_LANDING_PAGE’. 12.JPG

13.JPG

Run the original URL again:

14.JPG

Key in the login credentials and hit log on, the landing page will be displayed in the browser just the way it used to be but with the new changes done:

15.JPG

The same link can now be used to get the changed web template. From the different segments of the URL we understood that the only way a web template is referenced by a particular URL is by mentioning the WEB TEMPLATE ID, so in such scenarios if we make sure to have the same web template ID for the new web template then the old URL will access the new webtemplate.

References:

http://help.sap.com/saphelp_nw04/helpdata/en/3d/0dfe3980f23728e10000000a11402f/content.htm 

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

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply