Call a web template with default parameter in BEx Web Application D
In BEx Web Application Designer, As in traditional way. Assume that I have a query which have parameters. When I create a web template using this query and excute it. the first page is displayed and I should input the parameters at this page(for example: "Period/Fiscal"). after I input the data and press Enter key. the <b>reporting page</b> is displayed.
And Now I hope I can run the template at another way: the template should <b>direct go to the reporting page</b> with the preset parameters (for example: "Period/Fiscal = 2005.006").
thanks
Hi,
Alternatively you may use command URL, to enforce the variable value during calling up the web template. For example:
http://yourAppServer:yourPort/SAP/BW/BEx?CMD=LDOC&template_id=yourTemplate&var_name_1=myParameterVariable&var_value_ext_1=4711
In the implementation you may create a web template that redirect the URL to above reporting link, so the user will directly see your reporting page.
For detail you may check in the WAD documentation.
Hope this helps.
Message was edited by: Eddo
Similar Messages
-
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 -
Hi, We have quite a few reports we have developed for users that have around 5 or 6 tabs. When we adding or remove any functionality we have to maintain each of these reports. Does anyone else have/had this issue and what is a good strategy to move away from Web Templates with tabs?
Thanks!to my knowldge, we don't have any option... we need to maintain every time.
I can think how complex it is...if you have 5 or 6 tabs... it 's very complex. Going forward... for small change.. like adding new tab etc... you need to be very careful.
On every call... try to reset to initial every time you call a tab... then try to pass values as per the requirement. ex: Title, Filters, settings, table etc.
Initial view we will disble every thing... we will one by one... with multiple commands...
Nagesh Ganisetti. -
Open web template with different language!!
Hy experts, i have this question: i have a web template and i would create a command that open the same web template with another language.
I tried to insert a hyperlink with sap-language parameter but in this way navigation properties on table and filter value's aren't maintened in the new web template .
Could you help me?
Thank's a lot
AndreaI have done this using iviews in the portal by using
ie
Language = ZH in the application parameter
will fire up the iview in chinese on a hardcoded EN BI portal
Then you can have the same iview without the language string and that fires in the portal language (if hardcoded) or the personalisation language of the user -
How to use a Web Template with queries from multiple BW Systems?
Hi all,
can anybody help me how to use a Web Template with queries (DATA PROVIDER)in it from multiple BW Systems?
Thanks in advance, best regards
FrankGreat! Thanks for the quick response.
Have you tried this for XMLA datasources created within the EP system also?
i.e use Web Analyzer to create a view from the XMLA source and use that view within WAD?
Thanks. -
Calling a package procedure with Date parameter only
Hi All,
Please help me to call a package procedure with Date parameter from sql prompt.
ArifCheck the below procedure.
SQL> ed
Wrote file afiedt.buf
1 create or replace procedure procdate (p_date_in date)
2 is
3 p_date_out date;
4 begin
5 p_date_out := add_months(p_date_in,6);
6 dbms_output.put_line(p_date_out);
7* end;
SQL> /
Procedure created.
SQL> exec procdate('01-JAN-2010');
01-JUL-10
PL/SQL procedure successfully completed.
SQL> exec procdate(to_date('01/01/2010','DD-MM-YYYY'));
01-JUL-10
PL/SQL procedure successfully completed.
SQL> exec procdate('31-DEC-2010');
30-JUN-11
PL/SQL procedure successfully completed. -
How to create a web template with company logo
how to create a web template with company logo . can any one help me with the steps. or any notes. thnaks in advance .
2. i have 25000 articles and client want to have a selection feild to see top article ex:50,10,20, 100, 1000 etc . same for bottom articles . plz let me know how to do it . thanks for replay . i am new bw so plz .
thanks to you allHi
1) Please read
http://help.sap.com/saphelp_nw04/helpdata/en/4a/c8353c51aab32be10000000a114084/frameset.htm
2) Create a condition in the Query Designer: Use a formula variable
See http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/frameset.htm
Heike -
Building a JSP-based Web Report with a Parameter Form
Hi,
I tried in building a report as shown in the example in OTN under reports in the url
http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
Thank you in advance.hi,
we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
for a regular select list you would use the following (only pseudo-code)
<select ...>
<rw:foreach>
<option value="<rw:field .../>">
</rw:foreach>
</select>
to populate a select list.
regards,
philipp -
How to call a Store Procedure with IN PARAMETER
Hi, im new using Oracle 10G with Oracle SQL Developer, my cuestion is how to call a Store Procedure with IN PARAMETER, I tried the following without results
SELECT * FROM procedure_name(parameter);
PROCEDURE procedure_name(parameter);
EXEC procedure_name(parameter);
CALL procedure_name(parameter);
Please help me....Hi,
As Beijing said,
EXEC procedure_name(parameter);
CALL procedure_name(parameter);work for me.
So does
BEGIN
procedure_name(parameter);
END;Can you be more specific about what you're doing? That is, are you testing it in SQL Developer? Where are you entering the commands? Where are you looking for output? Do you get error messages? Does anything else (like "SELECT SYSDATE FROM dual;") work? -
Calling query doc. (text file) from a web template with JavaScript
Hi,
I would like to have an explanation of the following:
My goal is to develop a solution within a dynamic web template that supports calling of query documentation (description and purpose of the certain report). This query documentation will be provided from a textfile(e.g .csv) and presented under the information tab applying a text element web item. This will be done with query technical name acting as key with the following column structure:
Technical name Description Purpose
I really would appreciate if anyone could provide me with a more or less detailed solution proposal for this. Javascript etc.?
Thanx in advanceYou can use the command line tool cURL instead of a GUI browser.
set myFonts to do shell script "curl http://site.com/fonts.txt" -
Web Template with two dataproviders ! Provided in url !
Hello,
I would like to create a standard web template more or less according to the 0ANALYSIS_PATTERN (Web Analyzer) with some standard features like Buttons, Charts and Table-View, etc.
In the 0ANALYSIS_PATTERN (when you execute your query from the BEx QueryDesigner in the web) the query name is provided as a parameter in the url like
...&QUERY=PSD_MONTHLY_REPORT. The web templates then uses this query as data provider. This is also possible for any other web template.
My problem is that I have always two different data providers for chart and analysis item. Unfortunately it is not possible to supply more than one QUERY-Parameter in the URL.
Has anyone of you come across such a problem?
Any ideas are welcome.
Thanks,
HeikoHi,
This is an old thread, but I have a solution for your problem :o)
What you need to do, is the specify the web template instead of the query - like this: ?TEMPLATE=Z_YOUR_WEBTEMPLATE
Then you add the following syntax:
&BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE
&BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1
&BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_2=DP_2
&BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING
&BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=<your filter value>
&BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=<your filter infoobject>
The URL contains a reference to two different dataproviders in your web template and will filter both.
Hth,
Jacob -
Template function default parameter instantiated unnecessary
Hi,
I think the following is valid C++ code. The default parameter of template (member) function should not be instantiated until it is actually required.
Is it a bug of CC?
$ cat enumid.cc
template<class T>
class TClass
public:
void f(int i = T::EnumID);
class Unknown;
class X
public:
TClass<Unknown> m;
$ CC -c enumid.cc
"enumid.cc", line 5: Error: EnumID is not a member of Unknown.
"enumid.cc", line 11: Where: While specializing "TClass<Unknown>".
"enumid.cc", line 11: Where: Specialized in non-template code.
1 Error(s) detected.
$ CC -V
CC: Sun C++ 5.8 2005/10/13
Thanks,
QingningYou are right. This test case is valid and shows compiler bug
C++ Standard 14.7.1-1
The implicit instantiation of a class template specialization causes the implicit instantiation of the declarations, but not of the definitions or default arguments, of the class member functions, member classes, static data members and member templates; and it causes the implicit instantiation of the definitions of member anonymous unions.
If you have a service contract with Sun, please file a bug report via your service channel. You can be kept informed about progress, and get pre-release versions of the compiler that fix the bug.
If you don't have a service contract with Sun, please file a bug report at bugs.sun.com.
If you prefer not to file the bug report yourself, let me know, and I'll file one for you. -
Getting error while Calling Oracle Stored Procedure with output Parameter
HI All,
From long days i am working on this but i unable to solve it.
Even i have studied so many forums in SAP but i didn't find the solution.
I am calling Oracle Store procedure with 3 inputs and 1 output without cursor.
Store Procedure:-
CREATE OR REPLACE PROCEDURE PDS.send_rm
IS
proc_name VARCHAR2(64) := 'send_rm';
destination_system VARCHAR2(32) := 'RAWMAT';
xml_message VARCHAR2(4000);
status_code INTEGER;
status_message VARCHAR2(128);
debug_message VARCHAR2(128);
p_ret INTEGER;
BEGIN
DBMS_OUTPUT.PUT_LINE( proc_name || ' started' );
xml_message := '<RAW_MATERIAL>'||
'<BAR_CODE>10000764601</BAR_CODE>'||
'<MATERIAL>1101448</MATERIAL>'||
'<VENDOR_CODE/>'||
'<PRODUCTION_DATE>0000-00-00</PRODUCTION_DATE>'||
'<EXPIRE_DATE>0000-00-00</EXPIRE_DATE>'||
'<BATCH/>'||
'<PO_NUM/>'||
'<MATERIAL_DESCRIPTION>POWER SUPPLY</MATERIAL_DESCRIPTION>'||
'<SPEC_NAME/>'||
'<STOCK_CODE>BSW-JH</STOCK_CODE>'||
'<INSPECTION_LOT>00</INSPECTION_LOT>'||
'<USAGE_DECISION_CODE/>'||
'<MATERIAL_GROUP>031</MATERIAL_GROUP>'||
'</RAW_MATERIAL>';
dbms_output.put_line('XML '||xml_message);
-- vp_interface.load_rawmat@cnprpt1_pds(SYSDATE, destination_system,
-- xml_message, p_ret);
vp_interface.load_rawmat(SYSDATE, destination_system,
xml_message, p_ret);
dbms_output.put_line('Return Code '||p_ret);
COMMIT;
EXCEPTION
WHEN OTHERS THEN
status_code := SQLCODE;
status_message := SUBSTR(SQLERRM, 1, 64);
-- Extract_Error_Logger(proc_name, 'LOCAL', SYSDATE, -999,
-- status_message, 0, debug_message);
ROLLBACK;
END send_rm;
And while i am calling this Store procedure in MII, I am facing error.
I have tried different ways but didnt solved
In SQL Query, i kept mode as: FixedQueryOutput
Can anyone tell me or send code for calling above store procedure
And onemore thing, While creating store procedure in Oracle for MII. Do we need to Create output parameter as cursor or normal.
Thanks,
Kind Regards,
Praveen Reddy MHi Praveen
Our wrapper was created because we could not modify the procedure we call (it was not returning a cursor).
CREATE OR REPLACE PROCEDURE CHECK_PUT_IN_USE
(STRCMPNAME in varchar2,
STRSCANLABEL in varchar2,
RCT1 out SYS_REFCURSOR
AS
charDispo Char(1);
charStatus Char(1);
intCatNo Integer;
charCatDispo Char(1);
strCatQual VarChar2(2);
strCatDesc VarChar2(30);
strMsg VarChar2(128);
BEGIN
qa.check_put_in_use@AR(STRCMPNAME,
STRSCANLABEL,
charDispo,
charStatus,
intCatNo,
charCatDispo,
strCatQual,
strCatDesc,
strMsg);
OPEN RCT1
FOR Select charDispo,charStatus,charDispo,charStatus,intCatNo,charCatDispo,strCatQual,strCatDesc,strMsg from Dual;
END;
Hope this helps
Regards
Amrik
then with a FixedQueryWithOutput
call mixar.qasap.wrapper_update_put_in_use('[Param.1]','[Param.2]',[Param.3],?)
Hope this helps. -
How to create a web template with photoshop?
hie all, I am having a blog Youth Hotspot (http://www.youthhotspot.com/). I actually want to design a web template for this blog using Photoshop. can anyone help me out with the basic tutorials of creating it ?
What does this have to do with PS? You need to read up on how to customize Wordpress themes on the Wordpress developer site.
Mylenium -
Web template with HTML framset not working after transport
Hi,
I've built a frameset which consists of two web-templates (role-menu and content area) those two are combined together using plain HTML which does not acontain any web items (uploaded via WAD). This works fine in development. After transporting to our QA environment all the templates have been transported with concode 0, but the frameset does not get loaded. I always get an "Error loading template ...". The two templates which contain web items work fine when used stand-alone.
When looking in transport connection I see the following message:
"Object ZWF_WEB_FRAMESET (Web Template Name) could not be collected for object ()"
I also see the same behavior on another transport of a template. Nine out of ten ar fine, but one, all are exact copies - only the query used is different, does not work either. The query that is used has been transported and is working.
Has anybody an idea what could cause this?
Is there a way to regenerate templates (like RSRT for queries) ?
Thanks in advance
Bernd Dümmel
KODAK Stuttgart
using ve created aDid you upload the video?
Did you provide the correct path to your HTML object?
Maybe you are looking for
-
When I install itunes 10.3 64 bits all icons of other programmes change to the itunes icon. I am using windows 7 pro.
-
Error while Configuring ALBPM in weblogic
HI, I am trying to configure ALBPM 6 in weblogic 10 on RHEL 4 (IA64) OS. I am getting errors while deploying PAPI WS ear file. Following is the error shown on server logs <Error occurred while setting document root for "weblogic.servlet.internal.WebA
-
Using key position to lock navigation in place after scrolling, this portion works but when you scroll to the bottom the page starts to zoom. I have narrowed it down to the key positioning by eliminating everything else on a fresh page. Sam Friedman
-
Anyone know about centarl address management.
hi expert, nyone know about centarl address management. how to use it in xdo1
-
okay, i've tried changing my password, i've checked in with my bank on my credit card, but still nothing. It keeps saying to "contact iTunes support to complete this transaction" every time i try verifying my billing account. Any Help or ideas?? I ev