Web Template Heading as variable per URL parameter?????
Hi,
is it possible to give the Heading/Title of a BW web template by giving over the (wished text) as parameter value in the the URL.
As far as i could find out, with the standard web Objects available in the Web Application Designer it is not possible. (May be i am wrong but all i could see was the BW Objects with the value relating to the Query objects. Whereas a simple Template heading has noting to do with any QueryObject)
Is there any other way of doing this? Maybe Java Script?
Thanx for anyone replying.
Umair
Hi,
the best approach to do this (would also work with bookmarks, ....). Set a caption of a web item where the caption is not displayed and add in your url the command sequence &cmd_1=item%3dYourItem%26caption%3dYourtitle
Then use the SAPBWGetItemProp function to get the caption.
http://help.sap.com/saphelp_nw04/helpdata/en/09/0b453c8bf3f30ee10000000a11405a/frameset.htm
and place the caption in the title section.
Heike
Similar Messages
-
Problem passing Session variable as URL parameter?
Hi,
I am trying to create a multiple page entry form using
coldfusion session. But I am having some problem when passing the
session variable to url parameter. For test purpose I have created
the following code:
<cfif Not IsDefined("SESSION.AE")>
<!--- If structure undefined, create/initialize it
--->
<cfset SESSION.AE = StructNew()>
<!--- Represent current form srep; start at one --->
<cfset SESSION.AE.StepNum = 1>
</cfif>
<cfif IsDefined("Form.GoBack")>
<cfset SESSION.AE.StepNum = #url.StepNum# - 1>
<cfelseif IsDefined("Form.Next")>
<cfset SESSION.AE.StepNum = #url.StepNum# + 1>
</cfif>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<form method="post"
action="/AE/try.cfm?StepNum=#SESSION.AE.StepNum#">
<input type="submit" name="GoBack" value="Back">
<input type="submit" name="Next" value="Next">
</form>
</body>
</html>
When run it I get the following error:
The value "" cannot be converted to a number
The error occurred in C:\CFusionMX\wwwroot\AE\try.cfm: line
11
9 : <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
10 : <cfelseif IsDefined("Form.Next")>
11 : <cfset SESSION.AE.StepNum = #url.StepNum# + 1>
12 : <!---<cfset SESSION.AE.StepNum = #url.StepNum# +
1>--->
13 : </cfif>
I couldn't figure out where is the problem. Any help is
really appreciated.
Thanks in advance.You are mixing up your gets and posts aren't you?
You have your form method set to post which creates form
variables not
url variables. So when you try to use the url variable to set
your
session it does not exist.
Change your SESSION.AE.StepNum = #url.StepNum# to
Session.AE.StepNum =
form.StepNum, note there is no need for the #'s.
OR
change your form method="post" to form method="get"
Nagelia wrote:
> Hi,
>
> I am trying to create a multiple page entry form using
coldfusion session. But
> I am having some problem when passing the session
counter to url parameter. For
> test purpose I have created the following code:
>
> <cfif Not IsDefined("SESSION.AE")>
> <!--- If structure undefined, create/initialize it
--->
> <cfset SESSION.AE = StructNew()>
> <!--- Represent current form srep; start at one
--->
> <cfset SESSION.AE.StepNum = 1>
> </cfif>
> <cfif IsDefined("Form.GoBack")>
> <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
> <cfelseif IsDefined("Form.Next")>
> <cfset SESSION.AE.StepNum = #url.StepNum# + 1>
> </cfif>
>
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
> </head>
> <body>
> <form method="post"
action="/AE/try.cfm?StepNum=#SESSION.AE.StepNum#">
> <input type="submit" name="GoBack" value="Back">
> <input type="submit" name="Next" value="Next">
> </form>
> </body>
> </html>
>
> When run it I get the following error:
>
> The value "" cannot be converted to a number
>
>
> The error occurred in C:\CFusionMX\wwwroot\AE\try.cfm:
line 11
>
> 9 : <cfset SESSION.AE.StepNum = #url.StepNum# - 1>
> 10 : <cfelseif IsDefined("Form.Next")>
> 11 : <cfset SESSION.AE.StepNum = #url.StepNum# +
1>
> 12 : <!---<cfset SESSION.AE.StepNum =
#url.StepNum# + 1>--->
> 13 : </cfif>
>
> I couldn't figure out where is the problem. Any help is
really appreciated.
>
> Thanks in advance.
>
>
>
> -
How to fill two variables from url parameter?
Hello friends,
the following case should be discussed:
The URL restricts the values for 0CALMONTH (e.g. FILTER_IOBJNM=u20190CALMONTHu2019 FILTER_VALUE_LOW_EXT=u20191u2019 FILTER_VALUE_HIGH_EXT='2').
Is ist possible to fill variable VAR01 with the LOW-value and VAR02 with the HIGH-value ?
In our case we want to show in column 1 the value of the actual month, the column 2 the value of the month before. The selection must be given by URL - it is externally generated.
We think about customer-exit solutions (CMOD EXIT_SAPLRRS0_001 for variables), but found not yet any working solution.
Any ideas?Hi Durgesh,
we talk about a portal solution, where SAP ERP and SAP BW broadcast data. In this case the URL is generated by SAP ERP for SAP BW query.
But the URL restricts the data for the complete SAP BW query, so we cannot restrict in the URL for the actual month only - then the month before is not in the BW-query result (the month before would be completely out of range).
If we restrict in the URL two months, we need to "break" the URL-values into two variables.
Regards,
Matthias
Edited by: Matthias Krause on Oct 25, 2011 9:30 AM
Edited by: Matthias Krause on Oct 25, 2011 9:32 AM -
How to Execute a Web Template Without Using the Cache?
Hi All,
I am trying to execute a webt emplate to determine performance and optimisation. The trick is that the web template starts using the cache. Is there any way to turn off the cache for the web template? Maybe using a URL parameter or something?
Thanks in advance for any assistance provided.Hi,
You can do it thru RSRT, choosing HTML, the query and the template, then in the menu you have to check the box dont use cache, aggragates and BIA.
Regards, Federico -
Filter Web Template with URL Cmd: doesn't work with compound infoobject ?
Hello all,
I've to filter the query contained on a web template with URL command, but it doesn't work.
The web template contains only one query, and on the free chars I have 0PLANT.
I call the web template adding to the normal url the following command:
&FILTER_IOBJNM=0PLANT&FILTER_VALUE=33
where 33 is the code of the plant I want to filter.
The command is executed, I think, because the result is "NO APPLICABLE DATA FOUND". The fact is that when I execute this query on the Bex filtering 0PLANT by value 33 the data exists.
May be because 0PLANT on our system is in compound with 0SOURSYSTEM ? In this case, what's the value I can use as filter ?
Thank's in advance,
MaxHi,
please see http://help.sap.com/saphelp_nw04/helpdata/en/59/edfe395dd76846e10000000a114084/frameset.htm
especially:
If the variant with ending 'EXT' is selected, the fully compounded value has to be entered in the external format, for example, 24.12.2000.
If the ending 'EXT' is not used, the fully compounded value has to be entered in the internal format, for example, 20001224 for 24.12.2000.
and
In the internal display (see table below) you can easily determine the name of the characteristic and the filter value using the URL parameter &snippet_operations=%20 (see also Object Tag for the Properties of Web Templates). Call the Web application with this URL parameter. If you filter using the context menu, the parameters FILTER_IOBJNM and FILTER_VALUE are automatically added to the URL in the Web browser. You can then use the desired values with Command URLs in hyperlinks.
Heike -
Web template not showing "force variable property" under generic tab
Hi All,
I have a problem regarding web template property.One web template is not showing "force variable" property under generic tab in DEVELOPMENT sys but the same web template showing "force variable" property in QUALITY sys.I want property in DEV sys also.
Plz help me.
Thanks In Advance.
Priyesh.Hi Priyesh,
Are you sure youhave the web template properties open and not those of any web item in this template? If you can;t find the option you can try coding it in HTML (look at the code in the Q system and copy - paste it into your template in Dev)
Hope this helps... -
Call custom web templates in Solman_workcenter?
Hello,
in the solman_workcenter you can call a couple of web templates in the test evaluation; e.g. Status Report -> for selected test plans opens the web template 0TWB_TESTPLAN_STATUS as seen at the parameter TEMPLATE_ID in the url. The template contains a query, also called 0TWB_TESTPLAN_STATUS, which shows a couple of values for the selected test plans.
I would like to call a custom web template instead of the standard template.
Is there any way to do this without an enhancement of the web dynpro?
Edit:
I can switch the called standard query inside the web template for a custom query in the web application dasigner. But I'm afraid that these changed settings will be overwritten after an update of the BI content.hi, robert, i just like to know why the cubes are still empty after the activation of the BI content ?
-
Hi,
when I try to open a Webtemplate via
the Internet Explorer it is not working.
Please assist.
Regards,
AnitaYou can determine the properties of the Web template both in an object tag (see Object Tag for the Properties of Web Templates) and or with command Call Web Template.
CMD
LDOC
Parameter
Description
TEMPLATE_ID
Name of the Web template
Name under which you stored the Web template in the Web Application Designer.
STATELESS (optional)
X = Yes, = No
End the connection to the server as soon as possible
For Web templates that are used almost exclusively for display without further navigation, it is more useful to set the attribute STATELESS. The session on the application server is terminated when the Web template is created. This saves resources on the application server.
If this attribute is not specified, it is assumed that the page is still needed for navigating.
USE_PERSONALIZATION (optional)
X = Yes, = No
Use personalized Web template
If the parameter is set to X, the personalized Web template for the current user is used. If personalization does not exist for the Web template or the parameter is not set, the Web template is executed without personalization.
STYLE_SHEET (optional)
Path for a stylesheet that you want to use to display the Web template.
This overwrites any stylesheet that you may have already assigned.
TRACE (optional)
X = switch on, = do not switch on
Switch on OLAP trace
To analyze problems with SAP, you usually need a trace. You can activate the trace with the help of note 112458 or by using the TRACE parameter.
JAVASCRIPT (optional)
X = switch on, = do not switch on
Use of JavaScript
Using this parameter, you ensure that Web applications are created using JavaScript (extensive interaction options) or suppress the use of JavaScript (restricted interaction).
If this parameter is not transferred, JavaScript is activated automatically in Web browsers of version >=4.0.
SNIPPET_OPERATIONS (optional)
X = switch on, = do not switch on
Reload changed components of the page
You use this parameter to control whether only changed objects are loaded in navigation. This function has higher Web browser requirements. For this reason, this function is only supported by MS Internet Explorer version >=.
If this parameter is not transferred, loading is activated automatically for the suitable Web browsers.
ENABLE_OPEN_WINDOW (optional)
X = switch on, = do not switch on
Open new window
Using this parameter, you can control whether a new browser window is opened, for example, for the properties dialog box or for filtering. If this parameter is not specified, new windows are opened (if supported by the Web browser).
VARIABLE_SCREEN (optional)
X = display variable screen, = do not display, if possible
Display variable screen
If you call up a Web template that has query views containing variables that are ready for input, you can use these parameters to display the variable screen. Is you do not set this parameter, or set it to , the variable screen is hidden, whenever possible. However, it will still be shown if, for example, the required variables that are ready for input have not yet been filled.
MELT_VARIABLES (optional)
X = merge, = display each query individually
Merge variables
If you call up a Web template containing several query views that have variables that are ready for input and you go to the variable screen display, you can determine, through these parameters, whether variables, which are used in all query views and in the same context (same InfoProvider, same compounding), are to be provided for input only once.
VARIABLES_CLEAR (optional)
X = reset variable, = do not reset
Reset default variables
If you call up a Web template that contains one or several query views that have variables that are ready for input, you can specify this parameter to reset the default variables through the query view. The variables then contain the defaults from the variable definition.
SUPPRESS_WARNINGS (optional)
X = do not display warnings, = display warnings
Suppress warnings
With this parameter, warnings are not displayed. With this parameter, warnings are not displayed.
SUPPRESS_SYSTEM_MESSAGES (optional)
'X' = Do not display system messages
' ' = Display system messages
Suppress system messages
With this parameter, system messages are not displayed.
DATA_MODE (optional)
NEW = use current data
STORED = Use precalculated data
HYBRID = use precalculated data, request current data if this is missing.
STATIC = use precalculated HTML pages
STATIC_HYBRID = use precalculated HTML pages, if there are none, search by precalculated data and when there is none, request current data
Data mode
This parameter is optional. If you do not specify one of the options for this parameter, a request is always sent to the OLAP processor and current data is read.
For the modi STORED and HYBRID, data has to be precalculated using the Reporting Agent.
See Defining the Web Templates Setting
The parameters PAGEID and WBID that are used in BW 2.x are supported for the Web templates created under BW 2.x. We recommend, however, that you no longer use these.
Calling up the Web template without navigating
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&STATELESS=X
Calling up the Web template with trace switched on
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&TRACE=X
Calling up the Web template with reset variables and active variable screen
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&TEMPLATE_ID=yourTemplate&VARIABLE_SCREEN=X&VARIABLES_CLEAR=X
Thank
Bhima -
Need help w/BW user authorization to see Web Templates thru portal
Hello,
We have designed Web Templates in BW which we intend to use through the SAP Portal. When these web templates are accessed via a URL which also passes a generic CPIC UserID/Password (created on the BW server), the template is fully functional and does not prompt the user for any further authentication. When we try to call up this same URL via the portal (including the CPIC User ID and password information), the report under /sap/bw/BEx comes up fine, but we are prompted for logins for nearly every object under the /MIME/ repository called by the Web Template. We have already set the /sap/bw/BEx/MIME service (ICF) to be an anonymous service (using the same UserID and Password that we are passing in the URL). So, to me it seems like additional role needs to be assigned to this user. Any ideas?
Here is the error message we get:
Logon failed
What has happened?
Call of URL http://xxxxxxxx:8002/sap/bw/Mime/BEx/JavaScript/epcfproxy.js terminated due to error in logon data.
Note
Logon performed in system T04 .
Logon performed for client 020, user , and language EN.
What can I do?
Check that you have entered the client, user, and password correctly.
If you do not yet have a user ID, contact your system administrator.
Error Code: ICF-LE-http-c:020-l:E-T:1-C:6-U:-P:-L:4
HTTP 401 - Unauthorized
Your SAP Internet Communication Framework Team
Thanks in advance for your help!
Regards,
Abu SadeqHi abu,
DId you solved your problem. if yes please help me. i am facing the same issue
Thanks
Sarang -
How to print a web template in background
Hi experts,
i want to print a web template which includes 4-5 Queries over a background job for different Profit Centers (for example, for all Profit Centers that are in Region Europe)?
How can i simply achieve this ?
Thanks.Hi Arun,
web template have a variable, that is Profit Center
Now user wants to give on web, only Region = Europe, not Profit Center. (Region is an attribute of PC)
Then he wants to have for each Profitcenters in Europa (let say 50 PCs) a seperate printout.
Now he should call the report 50 times for each profit center should click on Print Button...
Cheers -
How to Cache a Web Template in RRI scenario
Hi,
We have used RRI functionality to one of our requirements where in user can look at Territory wise info first and can drill down to any specific territory for Dealer wise info. We have used Control Query to cache Dealer info based on all the territories. However, when user drills down from Territory to Dealer, system is not using the cache alreay created by the control query and resulting into slow response time.
Any thoughts on how to cache the Dealer info in this scenario? Any valuable input is appreciated.Hi Arun,
web template have a variable, that is Profit Center
Now user wants to give on web, only Region = Europe, not Profit Center. (Region is an attribute of PC)
Then he wants to have for each Profitcenters in Europa (let say 50 PCs) a seperate printout.
Now he should call the report 50 times for each profit center should click on Print Button...
Cheers -
Reporting Agent Web Templates. I'm missing previous precalculated data.
Hello Gurus. I'm precalculating a web template that has variables, so the customizing has variants for the variable values. The web template shows weekly information and the user needs to see historic reports, from previous weeks.
But when a run the planification package I lost the previous precalculated web templates. The only way I have found to obtain the reports for various weeks has been creating a variant for each week. But the users needs to consult a complete year, 52 weeks, so 52 variants!!
How can I create new static data for the reports without missing the old data?hello,
Tell me how are you scheduling the package..? is that on EVENT??
have you craeted an event in SM62 first??
--Nandita -
Maximize a Web Template Window
Again, sorry for what is probably a basic question, but I just can't find the answer and I hope someone can help.
I have a Web Template called directly by a URL Link, and the window which the Template is shown in I want to be maximized automatically. Is there a URL commad I can use?
Failing that do I have to maybe put some Java Script or something similar in the HTML of each Web Template? If so, does anybody have an example they would be so kind as to let me have?
Many Thanks in advance
SimonHi,
You can use this javascript to maximize the window.
<script type="text/javascript">
var scr_w;
var scr_h;
scr_w = screen.width;
scr_h = screen.height;
window.moveTo(0,0);
window.resizeTo(scr_w, scr_h);
</script>
You only have to copy the code into your templates.
regards,
Alex
PS: feel free to assign some points -
Hi.
We are going to create URL iview in Portal 60 SP15.
When we create URL iview, We want to use variable for URL parameter. (For example <User.UserID>)
Any idea ?
Regards, Arnold.hi,
under configuring url parameters you can see that
http://help.sap.com/saphelp_nw2004s/helpdata/en/ef/98dc60ad8243139402836e11abb2ba/frameset.htm
If you set the parameter as a variable that can be personalizable by end users , then this value will be the parameters default value. However, if you set the parameter as not personalizable, then this value is the fixed value of the parameter.
Regards,
Ganesh N -
Hi,
We are using both 3X & 7X Web Templates in our BI System.
TCode where i can find the DEFAULT WEB TEMPLETE(3X & 7X) that is being used in system
ThanksHi suser1234, To assign/check the default template: Transaction SPRO > SAP NetWeaver > Business Intelligence > BEx Web > Set Standard Web Template. The following objects refer to the default templates pattern (most commonly used ones). Go to RSA1 > Meta Data Repository. The following objects would be available in either Activated Objects or Business Content. If you need to edit them & customize according to your requirements; like say you need to work on 0ANALYSIS_PATTERN web template, edit it using Web Application Designer. You may check out this [link |/thread/1151337 [original link is broken];also for your reference.
Object type Valuation Description (short) Description (long) Technical name
0 Analysis Analysis 0ANALYSIS_PATTERN
0 Analysis Pattern Exp Analysis Pattern Export 0ANALYSIS_PATTERN_EXPORT
0 Special Analysis Pat Special Analysis Pattern Export 0ANALYSIS_PATTERN_EXPORT_SPEC
0 Analysis Pattern - F Analysis Pattern - Filter Information 0ANALYSIS_PATTERN_FILTER
0 Special Analysis Pat Special Analysis Pattern - Filter Information 0ANALYSIS_PATTERN_FILTER_SPEC
0 Footer Web Template Footer Web Template for SAP Standard Templates 0ANALYSIS_PATTERN_FOOTER
0 Header Web Template Header Web Template for SAP Standard Templates 0ANALYSIS_PATTERN_HEADER
0 Analysis Pattern for Analysis Pattern for ICP 0ANALYSIS_PATTERN_ICP
0 Special Analysis Pat Special Analysis Pattern for ICP 0ANALYSIS_PATTERN_ICP_SPECIAL
0 Analysis Pattern: In Analysis Pattern: Information 0ANALYSIS_PATTERN_INFO
0 Special Analysis Pat Special Analysis Pattern: Information 0ANALYSIS_PATTERN_INFO_SPECIAL
0 Analysis Pattern - S Analysis Pattern - Special Variant 0ANALYSIS_PATTERN_SPECIAL
Note: Just a word of caution, editing standard templates will affect look/patterns of all queries/reports in your system. Thanks!
Edited by: Arun Bala G on Oct 25, 2010 11:39 AM
Maybe you are looking for
-
Airport disconnected after waking from sleep
Hi... I posted what follows below a couple months back and am still having the same problem so I decided to put it out there again with a little more information... Though not always, still most of the time when I allow my MacBook Pro to go to sleep,
-
Resteasy in-built exceptions not caught in the exception mapper
Hi friends, I have written some exception mappers to catch and handle the in-built rest easy exceptions like NotFoundException,MethodNotAllowedException, etc., Sample code as shown: @Provider public class NotFoundExceptionMapper implements ExceptionM
-
Hi all, I have to perform a query like x,y not in(select x,y from k). How to do this. These two columns are composite primary keys in both tables although no references exists. A sample table and expected result. create table v(name varchar(10),place
-
Hi, I am recording customer. I am going through shdb after entering all, finally in the contact person tab its throughing error like enter valid value. In the contact persong tab fields are fromof,name,firstname,telephone no,department,function and
-
Third party order & Inter copany STO
HI SD Guru's can anyone tell me please about the configuration steps and the Procedure for "Third Party" & "Inter company STO" <b><REWARDS OFFER REMOVED BY MODERATOR></b> Thanks