Parameters from prompt in webi
Hi experts,
I have a report where I use prompt date. I would like to bring to the blank cells the month value (number) of the start date and end date. The idea is to calculate the amount of months interval. How is this posivel? Thanks. Regards. Paulo
Hello,
Our database is Oracle 11 g. I'm using "between" in the query filters. What I need is to put the body of the report information (the beginning and end of month (number)) in 2 free cells. Example: The user enters the command prompt:
Start Date: 11/01/2011
Date of end: 31/12/2001
In the report I need to use the month of each input prompt cells in 2 "blank cells" as:
Cell: 11
Cell: 12
Thank you a lot.
Paulo
Edited by: Paulo Muller on Jan 10, 2012 4:30 PM
Similar Messages
-
Open Doc Function to pass parameters from Xcelsius to WEBI
Hi All,
I need to have a drill through functionality from xcelsius report to WebI report I am using the following open doc URL
http://BO ServerName/OpenDocument/opendoc/openDocument.jsp?
sType=wid&sRefresh=Y&sIDType=CUID&iDocID="Doc ID"&mode=full&lsSRegion=""&lsSDay=""&lsSPlant=""&lsSProduct%20Name=""
When I run the flash in Internet Explorer then the drill through webi report opens without any error for the 1st time
but when I try to reopen the report again with new set of parameters , the browser gets hanged
Also when I run the flash in Firefox , I get error while opening the Webi Report for the 1st time but when I try to open the report again it works fine.
Please let me know if anyone has faced similar issue before.
I am Using Xcelsius 2008 SP3 and BO XI 3.1
Thanks,
ShwetaHi Shweta
If you place the URL un the browser directly does the report open and refresh ok? Can you try altering the parameters of the URL, also directly in the browser?
Something else to check would be if the prompts in the WebI report can be optional, store the last value etc, and I wouldn't recommend having a prompt which has a space in the name such as you have (Product%20Name). Keep the prompts as simple as possible, and make sure that the 'equal to' and 'in list' operators are properly reflected in the URL.
Regards
Charles -
Passing Parameters from Xcelsius to Webi
Hi,
I have done a dashboard in which I need to call the Webi report. But Iwas not able to call the webi report with dynamic prompt values passed from the xcelsius, following is the OpenDoc link which I used.....
http://arbodv:8080/OpenDocument/opendoc/openDocument.jsp?iDocID=Ae8ejQvQW_BAmEz9rkJ1Zc4&sIDType=CUID&sType=wid&sRefresh=Y&nbPrompts=2&lsSPlant="&C5&"&lsSYear="&F5&"&sWindow=New
I am passing Plant and Year as parameters where C5 is the destination cell for the Combo box containing Plant and F5 is the destination cell for the Combo box containing Years.
When I use this I am able to open up the Webi report, but it is coming up with message "No Data to retrieve" eventhough there is data.
Plz help me in this..............
Regards,
ArunKGHai
Here is the Step by Step Procedure
http://www.forumtopics.com/busobj/viewtopic.php?p=640660
http://www.forumtopics.com/busobj/viewtopic.php?p=586186&sid=5246278a4142a5cdd3e4a121d7f07352
http://boardreader.com/thread/How_to_pass_parameters_dynamically_from_6shlrX14yv8.html
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0ecd052-ec2f-2c10-a89b-9be7c89e1f33?QuickLink=index&overridelayout=true
http://www.forumtopics.com/busobj/viewtopic.php?p=731036&sid=ae288ad1b95a774d992aad0955660df4
http://www.crystalreportsbook.com/Forum/forum_posts.asp?TID=3235 -
Passing parameters from portal to web dynpro
Hi,
I have a scenario in which the portal iviews are on one server and the web dynpro application is on another server,but i need the username details in the dynpro application,How can it be done.Would using webservics be helpful in this scenario?
Regards,
BhavanaHi,
Have look at this thread
Re: Navigate from Web Dynpro app to portal page
Regards,
Saravanan K -
Stop Crystal from Prompting for Parameters
Hi there,
I am trying to stop Crystal from prompting for a parameter that has the Optional Prompt flag set to True as I want to use the HasNoValue attribute to retrieve all records when there is not a specific value sent to the parameter.
When the parameter is created from a store procedure, I can simply set the value to nothing and handle the resulting NULL in the procedure.
I was expecting that I could do the same for the regular parameters but this returns a "parameter field and parameter field current values are not compatible" error.
I have tried setting the HasCurrentValue to True but this is a read only attribute.
I have also tried setting the Viewer.ReuseParameterValuesOnRefresh to False (and True) but the report still prompts for the parameter.
I have searched the web for the last two days and have had no joy on this so any help or pointers would be appreciated.
Thanking you in advanceHi Don,
I am using Crystal 2008 for both the report and the assemblies.
Using the word All is not really an option as I need to process all types of parameters i.e. Boolean, integers and dates as well as strings.
I could create some complex formulas to handle this but I need the report creation to be simple as possible as possible so that the customer can create reports at will.
Using the Optional Prompt feature now available in 2008 I can create a simple record selection formula that looks like something like this :-
(not HasValue({?MyParameter}) OR {Table1.Field1} = {?MyParameter})
My problem is getting the parameter to register through my code that it has been set to HasValue = False so that the user is not prompted by the viewer to enter the parameter again. -
Passing parameters from an URL to a WAD Web Template 7.0
Hi guys, I need to pass parameters from an URL to a web template created with WAD 7.0. We need to open a template with certain filters starting from a link button located on an Xcelsius Dashboard. Our customer wants a web template to be opened with the filters defined within the Xcelsius
The idea is to run the template with the filters defined in the URL. I know this was incredibly easy with WAD 3.x, but I didn't find any suitable solutions to use with WAD 7.0.
What is the easiest way to do this with WAD 7.0?
Thanks in advance and regards.
Fabio CristiHi,
It is possible in 7.0, but unfortunately it is a lot more complicated than i 3.x. There are quite a few examples here:
http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/content.htm
I used it in a case where I wanted to embed a Web template in a BPS application and pass characteristic filters from the BPS application to the web template - similar to your requirements. Basically you need the following just to restrict one characteristic :o(
&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-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=PDS06
&BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=0D_PH2
I could only get it to work with one characteristic and I suspect, that the reason is that the URL simply gets to long (very quickly). You have to repeat the above for every characterstic you want to use :o(
Hth,
Jacob -
Parameters from abap web dynpro to visual composer
Hello ,
Can we pass output parameters from abap web dynpro to visual composer?
<i><u>For Example:</u></i>
ID NUMBER that we got in the application (Abap web...)
and we want to pass it to import parameter of visual composer (start-point)
I know about the mapping(in GP) but how we can see the output parameter of the abap web dynpro in GP-callable object(output parameters).
When we use GP (callable object), we have input/output parameters.
I need to map from abap web dynpro <b>(output)</b> to visual composer <b>(input)</b>
Thank You,
Boaz.Hi Boaz,
Unfortunately it's one of the GP restrictions that it's not possible to transport parameter values from an ABAP web dynpro UI into the GP context. Vice versa is feasible, i.e. you can use an ABAP web dynpro UI and fill it with parameter values from GP context.
Regards,
Jan -
How do shutdown the weblogic server from the command line prompt using web logic 8.1
I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
Any help will be greatly appreciated.
MariaMaria <[email protected]> wrote:
How do I shutdown the weblogic server from the
command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
Hope this helps...
Brian J. Mitchell
Systems Administrator, TRX
email: [email protected]
office: +1 404 327 7238
mobile: +1 678 283 6530 -
Passing parameters from dynpro to a web dynpro
Hi all,
we have following scenario: a user starts a web dynpro, fills in the week and push a button. By this, an interactive form is created, with the users personal ID and the week, so the user can maintain his worked times.
Now our problem is that we want to go into that interactive form skipping the web dynpro, i.e. we don't know how to pass parameters from a dynpro to a web dynpro.
Do someone have a clue how we can do that? I would highly appreciate any help.
Many thanks in advance
Regards
Annahi anna
please check the following links it is explains simple webdynpro java examples which is using interactive forms.
http://help.sap.com/saphelp_nw04s/helpdata/en/dc/f1783fe3263042e10000000a114084/frameset.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2b6db1c4-0801-0010-faa5-ff4b4df55b45
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d60ac9-3f59-2a10-4a86-a612d41c24e4
Thanks and Regards
shanto aloor -
Start a BO report from within a web-application.
Hi,
An enuser want to start a BO report from within a web-application.
The BO report ideally should not prompt for a login. The fact that we are using BO for reporting purposes should be transparent to the end users. The report should produce its output directly in Excel (pdf?) format. In WebI i can do a 'Save As' to obtain this, but it should go automatically so that the end users get their response directly in Excel
the report should be parametrized. These parameters will be added to the URL by the calling application.
To do a basic test of the Opendocument.jsp i created a number of test reports in WEBI, and i use the following URLs to execute them directly
http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=tmsd1&sType=rep&sRefresh=Y
http://s-olaf-vtst150:8080/OpenDocument/opendoc/openDocument.jsp?&sPath=[My reports]&sDocName=Yearselection&sType=rep&sRefresh=Y&lsSYear:=2002
So this covers points 1 & 4
What are the options for points 2 & 3?
Kind regards,
JohanThe BO XI 3.1 environment works quite well now.
Two more questions:
1. When a user being member of the Readers group, still sees the Edit button in Webapplication - Infoview. Is it possible to hide or disable that Edit button ?
2. Is it possible to make a user only seeing a part of the data in the universe ? When a query is run with a parameter, the user ses the parameter in the left column ... but in that way a normal user can change the value of that parameter giving him the possibility to see things he should not see. Making a separate query per user is overkill and too much work to do. Is BO XI 3.1 able to offer this possibility and how ?
Rgds,
Johan -
How to send Parameters FORM to PHP WEB Page with method POST (secure)?
Hello everyone,
i hope someone can help me to find a solution to this problem!
i have to send "+precious+" parameters from an oracle form to php page, like username and password, with a secure method... i tried with WEB.SHOW_DOCUMENT procedure but it uses GET Method and when the web page open up you can read those parameters in the url...no good!
some suggestion?
Thank a lot in advance... FMicioThe other way you have is to make a PJC java bean ...
which uses HTTPClient library..
for example:
PostMethod post = new PostMethod("http://jakarata.apache.org/");
NameValuePair[] data = {
new NameValuePair("user", "joe"),
new NameValuePair("password", "bloggs")
post.setRequestBody(data);
// execute method and handle any error responses.
InputStream in = post.getResponseBodyAsStream();
// handle response.I have done a multipart form data post to upload files to my db over httpClient.. and other things...
Or with java.net.* api-s
try {
// Construct data
String data = URLEncoder.encode("key1", "UTF-8") + "=" + URLEncoder.encode("value1", "UTF-8");
data += "&" + URLEncoder.encode("key2", "UTF-8") + "=" + URLEncoder.encode("value2", "UTF-8");
// Send data
URL url = new URL("http://hostname:80/cgi");
URLConnection conn = url.openConnection();
conn.setDoOutput(true);
OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
wr.write(data);
wr.flush();
// Get the response
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String line;
while ((line = rd.readLine()) != null) {
// Process line...
wr.close();
rd.close();
} catch (Exception e) {
}Or you can call your web page (post data) from your database
http://awads.net/wp/2005/11/30/http-post-from-inside-oracle/
Edited by: Peterv6i on Mar 30, 2012 3:49 PM
Edited by: Peterv6i on Mar 30, 2012 3:55 PM -
How do I use the Parameters from URL to filter on Content Query in ItemStyle.xsl?
Hi, I might need your help with code that Content Query under <xsl:Template...> that I need a filter for 3 parameter from url (from date, to date(for date range) and type.
eg: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports
I've google for help and not sure they seem working so far.Hi,
If you want to filter a Content Query Web Part with the parameters from URL, we can achieve it with OOTB of Content Query Web Part by adding "Additional Filters" in "Web Part Properties"->"Query". We can add
three filters like:
date is greater than [PageQueryString:DateFrom]
And
date is less than [PageQueryString:DateTo]
And
type is equal to [PageQueryString:Type]
Then redirect to the URL: www.mywebsite.com/pages/Filter.aspx?DateFrom=01/01/2012&DateTo=01/01/2013&Type=sports, the query results will be filtered.
Please reply freely if I misunderstand your meaning or there any other questions.
best regards
Patrick Liang
TechNet Community Support -
Pass parameters from JSP Dyn Page to WDJ Application
Hi,
I am trying to pass parameters from my JSPDyn Page to WDJ Application.
I am using NWDS 7.1 EHP1
My code is :
function to_WEBDYNHK()
EPCM.relaxDocumentDomain();
EPCM.doNavigate
('ROLES://pcd:portal_content/Himanshu.Himanshu/TestDynUIApp?DynamicParameter="hkparam%3Dqwertyuio"');
This method is being called on click of a button.
hkparam is the parameter in question.
The JSPDyn page is an iView and the WDJ application is a page and both have been assigned to a role.
In the properties of the WDJ Page, I have removed DymanicParameter from "Do not Forward These Parameters To Web Dynpro" property.
However I am getting null as the value of hkparam in my WDJ application.
The code used is :
IWDRequest request = WDProtocolAdapter.getProtocolAdapter().getRequestObject();
String param1= request.getParameter("hkparam");
What seems to be missing here.
Please help.
I went through the documentation on SDN but it does not seem to help.
TIA,
HimanshuHi Himanshu,
Try this code.
EPCM.doNavigate("ROLES:portal_content/Himanshu.Himanshu/TestDynUIApp?hkparam=Dmypass1123")
if the parameter is hkparam and the value to be passed is Dmypass1123. You need not change any design time property of the WD page, and WDProtocolAdapter should retrive the parameter.
Regards,
Vishweshwara P.K.M. -
Accessing parameters from request header in init()
Hello
How can I access parameters passed on the client request header like
http://localhost:8080/servlet/DBServlet?database=mydatabase
from the servlet initialization method ini()
The getInitParameter() only returns parameters defined in the web.xml file (if is this correct).
I would like to use the getParameter() from the request class, how can I do this within init()
ThanksGreetings,
Hello
How can I access parameters passed on the client
request header like
http://localhost:8080/servlet/DBServlet?database=mydat
base
from the servlet initialization method ini()You can not. As you pointed out, the init() method is for servlet initialization - it is called by the container to allow the servlet to prepare to receive requests, which are then passed to the service() method.
The getInitParameter() only returns parameters defined
in the web.xml file (if is this correct). That is correct - parameters can be defined in the deployment descriptor in either the <servlet> level (passed to the servlet in ServletConfig), or the <webapp> level (passed to the entire webapp in ServletContext).
I would like to use the getParameter() from the
request class, how can I do this within init()Again, you can not - there simply is not any client communication during initialization.
ThanksRegards,
Tony "Vee Schade" Cook -
Crystal Reports 9 and Stored Procedures using supplied parameters from user
Hi,
I have a Crystal Reports 9 report that prints and works fine. It requests from the user 2 pieces of data which both are String data and not nulls. I want to use the same report in a Visual Basic.Net 2003 program. I can pull the report onto the form and it runs wonderfully. I want to make it run programatically with out prompting for the user to key in the parameters. I can supply them from an existing data file. I have tried many things but have lacked the solution.
How can I pass the parameters from VB.Net 2003 to the stored procedure which runs the Crystal Report with in the VB.Net 2003 program.
I appreciate all help and comments.
Can this be done or do I need to just re-write the report in VB.Net 2003?
Thanks,
NormanHi, Norman;
It sure is possible to pass parameters to a Stored Procedure via our .NET SDK.
Have a look at these samples:
https://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/9043bbbc-ae66-2b10-ce96-b48f9e25a450
There are samples showing passing parameters.
Regards,
Jonathan
Maybe you are looking for
-
CONDITIONS IN BAPI_PO_CREATE1
Hi, dear experts. Does anybody know how to fill correctly conditions in BAPI interface? I`d successfully use a field named "Condition amount" (POCOND-COND_VALUE in TABLES interface), but I need to use "Condition value". How can I fill it? In ME21N ("
-
Windows 7 system, updated to Firefox 6 and lost all bookmarks. Followed the Help instructions for retrieving them but can't open the JSON ile they came in, nor can Windows help me do it.
-
How do I permanently delete apps from my iPad?
When you delete an application, it's data is not permanently deleted. I'd like to know how you permanently delete all of the application data.
-
Help needed in problem in Installation
Dear Oracle Guys, When i install Oracle developer6 iam getting the following error : user.avf(44):unbound variable 'w32rsf80' and the installer quits.I tried clearing all the entries in registry(windows NT) and tried again and i got the same error. I
-
NOKIA BH-111 : Increase volume using volume wheel ...
Hello, My name is Sonus Sundar, Last month I bought Nokia BH-111 bluetooth headset. After using it for a month, Now I am not able to increase the volume of the device with the volume wheel. I increased the volume in phone to its extent. But when I he