Not getting the Parameter Form in Multi-tier Enviroment.
Hi all,
I am using Forms 6i and Reports 6i.
The reports run fine in Client Server mode. It asks for the desired
parameters based on which I am building the dynamic query.
But in 3-tier env., it just skips parameter form.
What is happening I don't know. It is not displaying the errors either.
Any help is appriciated.
Thanks.
SKPani
Hi,
Thanks Geeta & Jbaker for your help. But the problem is the user may run it in Client/Server mode as well as in browser. Is there any way to find out whether the application is running in Client/Server or web, so that accordingly i can call run_product or web.show_document().
Where can i find the file cgicmd.dat and what entry should i add to that file.
Thanks for your help
SKPani
Similar Messages
-
Can not get the parameter?
I use a form to upload files,
like this:
<form name="gdform10" action="upload.jsp" ENCTYPE="multipart/form-data" method="post">
<input type="hidden" name="picName" value="wxds.jpg">
<input type="file" name="file">
<input type="submit" name="savePic" value="modify">
</form>
but I can not get the parameter picName in the upload.jsp,
like :
String pname = request.getParameter("picName");
but pname is null.Hello,
In Jsp, if you want to upload file, you can't directly use "request.getParameter()".
There're two company provide components for you and it's free.
First is jspsmart company, it offer jspsmartUpload component and link is
http://www.jspsmart.com
Second is o'reilly, it offer MultipartRequest component and links is http://www.servlets.com/cos/javadoc/com/oreilly/servlet/MultipartRequest.html
for example, you use oreilly component.
<%@ page import="com.oreilly.servlet.MultipartRequest" %>
String saveDirectory = "c:\\Upload\\";
int maxPostSize = 5 * 1024*1024;
MultipartRequest multi= new MultipartRequest(request,saveDirectory,maxPostSize );
Enumeration filesname = multi.getFileNames();
while(filesname.hasMoreElements()){
String name = (String)filesname.nextElement();
FileName = multi.getFilesystemName(name);
File f = multi.getFile(name);
String ContentType = multi.getContentType(name);
ps. above codes is from book named "java server pages tech reference" -
Not getting Reports Parameter Form in web-forms environ
I am not able to get a report parameter form to appear for a
report called from forms via a 'run_product' command. It works
fine in client/server mode. In web-forms the report just goes
ahead and runs without the needed parameters. I have tried
explicitly passing a parameter list with the 'paramform' set to
'yes' and this did nothing. I have this on a NT box with latest
Dev2 patches applied.
1. Is the reports parameter form supposed to work in web-forms
mode?
2. How do you set it up to work, if it is supposed to work?
Thanks for any replies.
nullI guess you have to use web.show_document - I found this article
on DevConnect:
Article-ID: <Note:68647.1>
Circulation: PUBLISHED (EXTERNAL)
Platform: GENERIC Generic issue
Subject: How to show Reports HTML PARAMFORM when
calling Reports
from Forms
Modified-Date: 09-AUG-1999 18:02:04
Document-Type: BULLETIN
Content-Type: TEXT/PLAIN
Impact: MEDIUM
Component: SQLREP
PURPOSE:
This bulletin explains how to overcome the current restriction
of calling an Oracle Report from Oracle Forms and showing a
PARAMETER FORM. This is currently not possible when using the
RUN_PRODUCT built-in with
WEB DEPLOYED APPLICATIONS.
DESCRIPTION:
When you call an Oracle Report from Oracle Forms using
RUN_PRODUCT in Client-server, you can specify an optional
parameter called PARAMFORM to display the parameter form defined
in the Oracle Report.
For web-deployed applications, the PARAMFORM parameter can be
set to HTML to produce a HTML version of the parameter form.
When calling Oracle Reports from an Oracle Form using
RUN_PRODUCT and specifying PARAMFORM=HTML in the parameter list,
the Oracle Reports parameter form doesn't show the in the client
browser. If the Oracle Reports Cartridge/CGI is used and
PARAMFORM=HTML is specified, then the Oracle Reports parameter
form does appear in the client browser.
Oracle Forms does not use either the Cartridge or the CGI with
RUN_PRODUCT, and it's these thin clients that produce the HTML
Oracle Reports parameter form.
As a workaround to this problem, you can use either the
Cartridge or the CGI with the WEB.SHOW_DOCUMENT Oracle Forms
builtin. This does require either the Oracle Reports Cartrige
or the CGI to be installed. Neither of these are necessary if
the parameter form isn't required.
INSTRUCTIONS:
The following items need to be installed:
1. Oracle Reports Multi-tier Server.
2. Oracle Reports Web Cartridge
or
Oracle Reports Web CGI.
Here is a typical URL that can be specified in a browser
to run a report using Oracle Reports Cartridge implementation:
http://your_webserver/r30ows?
server=repserver21+report=emp_30.rep+
destype=cache+desformat=html+userid=scott/tiger@mydb+paramform=ht
ml
For CGI implementation:
http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html
The Oracle Reports parameter form now is shown. This can be
used with WEB.SHOW_DOCUMENT issuing the request to execute the
report to the Oracle Reports Multi-Tier Server instead of using
RUN_PRODUCT.
The following code may be added to a program unit, which then
issues the request to run the report:
IF get_application_property(user_interface) = 'WEB' then
/* Use Cartridge configuration with WEB.SHOW_DOCUMENT. */
WEB.SHOW_DOCUMENT('http://your_webserver/r30ows?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html', '_self');
/* OR for CGI configuration. */
WEB.SHOW_DOCUMENT
('http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html', '_self');
ELSE
/* use RUN_PRODUCT for client-server with PARAMFORM=Yes. */
Add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'YES');
RUN_PRODUCT
(REPORTS,'emp_30.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid);
END;
RELATED DOCUMENTS:
Developer/2000: Guidelines for Building Applications, Deploying
Applications on the Web (for detailed instructions on setting up
the Oracle Reports Cartridge and CGI)
Laura (guest) wrote:
: I am having the same problem with Dev 6 on NT. The parameter
: screen for reports works in client/server but not web using
run-
: product. I am getting error REP-0788: Warning the value of
the
: restricted LOV parameter is not among the selectable values.
: Any reports without a parameter screen work fine with run-
: product.
: Any help would be appreciated.
null -
Not getting the registration form for activation of norton antivirus
i had purchased 8gb hp pendrive and iam unable to redeem my license key as i am not getting regestration form in the website which you have mentioned at backside of hp pendrive so please help me in this regard
Sorry for the inconvenience. Please confirm if you have already submitted the voucher code on our redemption page: http://www.nortonactivate.com/Campaign/fm1301
I've also sent you a private message. Please look in (Message section) on this page or on your profile page.
In meantime, you can download a 30 day trial of Norton AntiVirus from our web site:
http://us.norton.com/downloads-trial-norton-antivirus
Once you get the Product key, you can simply complete the activation and continue to use it for 1 year.
Thanks!
Harry
Norton Support -
Why local file destype does not appear in the parameter form ?
Hi,
There is a Destype option Local File but it does not appear in the list for Destype in the Parameter form.Why?
Even file is not working & the reports server is getting hanged if i specify the destype as file & a valid file name & format is given.
Print option from the app server is also not working, i mean remote printing.
My App server machine can see my local printer, but when i give the print share name or literally five\\machine name..printername then too print option is not working.
Thanks
MaheshHi Shaun,
I'am using 9iDS & the reports documentation says that Local File DesType Option is valid for rwclient & rwservlet.
When your specify in the command line option it works, no issues but in web reports where i get the parameter form Destype list does not contain Local File Option.
For web reports i use rwservlet.
i mean to say my url is something like this
http://oracle.guru:8888/reports/rwservlet?report=abc.rdf&userid=a/b@c&destype=cache¶mform=yes&server=myserver
one more peculiar thing, i have reported it on Metalink.
As you can see in the above URL i have given an argument of destype=cache, if i do not give this then my parameter for will not come up!!!, why should i give a destype for the parameter form to be displayed?
Ok coming to my current problem..
in 9iDS Reports is Local File supported? i.e. when i give a URL like above(My parameter form has system & user parameters including DesType,DesName & DesFormat).
coming to the file option in DesType.
In my parameter form if i select Destype as File & give a valid file name & a valid Desformat the report server hangs i mean there is no activity on the client & after this any report requests from any other clients is not responded by the Reports Server.
When i check in the performance monitor of my Reports Server the CPU Utilization will be constant at 100%
Thanks
Mahesh -
Web Report not working with parameter form
Hi,
I have a report which has got a parameter form. This report is
running fine in client/server environment. But when I deploy the
same report on web (CGI) using PARAMFORM=YES, I am getting the
parameter form and after pressing the SUBMIT button I am getting
a blank report under the following two cases even though I have
data for that query:
CASE1: <input type="hidden" name="desformat" value="html">
then I am getting the report with no data retrieved.
CASE2: <input type="hidden" name="desformat" value="pdf">
then I am getting completely blank report (no logo, no column
titles, etc.)
See the HTML code below. Remember, the same thing is running
fine in client/server environment. Moreover, if I make a HTML-
coded form for the report then everything on the client's
browser is running fine. But this is not what we want, 'coz we
are running the "BEFORE PARAMETER FORM" trigger in the report.
So, should I conclude that web-reports does not work with the
parameter forms?? Is it a bug???
Regards
Moiz
----------HTML Code------------------
<form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
bin/rwcgi60.exe">
Select the Weekend Date for which you would like to see your
Timesheet report
<input type="hidden" name="server" value="repserver">
<input type="hidden" name="report" value="timesheet.rdf">
<input type="hidden" name="userid" value="696122/696122@ors">
<input type="hidden" name="destype" value="cache">
<input type="hidden" name="desformat" value="html">
<input type="hidden" name="paramform" value = "yes">
<input type="submit" value="Run Report">
</p>
</form>
-------HTML Code END------------------
nullNo pal, that's not the problem. The problem lies with the
"BEFORE PARAMETER FORM" report trigger on the web. Check this
out on ur report server and u will understand my problem.
Moiz
Ramonito Te (guest) wrote:
: I think the cause is the missing question mark after
rwcgi60.exe.
: Anyway here is my html file that runs under cgi. Hope this
helps.
: <HTML>
: <!--Form Action is RWCGI60 URL-->
: <FORM METHOD=POST
: ACTION="http://ntserver1/ows-bin/rwcgi60.exe?" METHOD="POST">
: <!--Parameters not exposed to user are hidden-->
: <INPUT name=server type=hidden value="ReportsServer">
: <INPUT name=paramform type=hidden value="yes">
: <CENTER><H1>Set Reports Multi-tier Server Parameters </H1>
Report Name: <INPUT name=report type=text value="c:
: \orant\webdemo\deptemp.rdf">
: Database Connection: <INPUT name=userid type=text
: value="scott/tiger@orcl81">
: <INPUT name=destype type=hidden value="cache">
: Output Format: <SELECT name=desformat> <OPTION value=HTMLCSS
: selected> HTMLCSS <OPTION
: alue=PDF> PDF </SELECT>
: <HR><INPUT type=submit value="Run Report!">
: </CENTER> </FORM> </HTML>
: lue="Run Report!">
: </CENTER> </FORM> </HTML>
: M. Moizuddin (guest) wrote:
: : Hi,
: : I have a report which has got a parameter form. This report
: is
: : running fine in client/server environment. But when I deploy
: the
: : same report on web (CGI) using PARAMFORM=YES, I am getting
the
: : parameter form and after pressing the SUBMIT button I am
: getting
: : a blank report under the following two cases even though I
: have
: : data for that query:
: : CASE1: <input type="hidden" name="desformat" value="html">
: : then I am getting the report with no data retrieved.
: : CASE2: <input type="hidden" name="desformat" value="pdf">
: : then I am getting completely blank report (no logo, no
column
: : titles, etc.)
: : See the HTML code below. Remember, the same thing is running
: : fine in client/server environment. Moreover, if I make a
HTML-
: : coded form for the report then everything on the client's
: : browser is running fine. But this is not what we want, 'coz
we
: : are running the "BEFORE PARAMETER FORM" trigger in the
report.
: : So, should I conclude that web-reports does not work with
the
: : parameter forms?? Is it a bug???
: : Regards
: : Moiz
: : ----------HTML Code------------------
: : <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
: : bin/rwcgi60.exe">
: : Select the Weekend Date for which you would like to see your
: : Timesheet report
: : <input type="hidden" name="server" value="repserver">
: : <input type="hidden" name="report" value="timesheet.rdf">
: : <input type="hidden" name="userid" value="696122/696122@ors">
: : <input type="hidden" name="destype" value="cache">
: : <input type="hidden" name="desformat" value="html">
: : <input type="hidden" name="paramform" value = "yes">
: : <input type="submit" value="Run Report">
: : </p>
: : </form>
: : -------HTML Code END------------------
null -
Is there a way to suppress the parameter form?
We have created a report, in Oracle Reports Builder (Developer 10g - v9.0.4.0.33) and do not want the parameter form to show when the report runs. We have removed the check from the box in the preferences => runtime settings => parameter form, but a parameter form is always rebuilt at runtime of the report.
The report is run through a third-party aplication menu system (FAMIS) and we have no control over the command line that runs the report.Does your 3rd party application allow you the flexibility to use your own libraries, etc? I know we have an app where we needed to create our own Oracle Form libraries in order to do this exact thing. Other then having access to the URL to take out the "+paramform=yes", I'm not sure what else there is.
-
Null values not displaying in the LOV on the parameter form.
My report works perfect while in Oracle Reports 10g, however when I move it to our menu (Oracle Forms 10g) it does not display the null in the LOV on the parameter form.
This report allows the the user to select by inspector or district or everyone for certain dates.
Ex: I have 4 parameter fields. The user must enter the start & end dates and either the Inspector or the district or leave the inspector or district null to run for everyone.
The district LOV is :
select dnr_section_code, description from dnr_section_code where dnr_section_code in ('29', '38','52')
UNION
select null, 'All' from dual
order by 2 asc ;
The inspector LOV is:
select null , 'All' from dual
UNION
select person_seq, first_name||' '||last_name inspector from vw_eng_inspectors
order by 2 asc
In my Data Model query I use the :
My select
from tables
where clause
+
----by inspector
and (prod_fac_inspections.person_seq_inspector =
nvl(:inspector,prod_fac_inspections.person_seq_inspector))
---by district
and
(d.dnr_section_code = nvl(:district,d.dnr_section_code)
and d.person_seq = prod_fac_inspections.person_seq_inspector)
Again, it works perfect in Reports! It eliminates having 3 reports on the menu. This one report gives the user the option of selecting dynamic parameters.
Also, I got so frustrated, that I went a different route of using a default where.
I am stuck with the error of ORA:00933 SQL command not ended properly
1=1
I set the initial value to 1=1 and it does not like it.
I am stuck!
DB = Oracle Database 10g Enterprise Edition Release 10.2.0.2.0Hi Krishna,
I'm not sure I understand the probelm.
A progress bar control only displays numeric values. When do you mean by "unassigned values"? What would you expect to be presented?
Best regards,
Udi -
I installed Lion, but did not get the multi touch gestures feature. Also my "front row" is gone.
What model computer do you have? some early trackpads will not support all gestures.
Front Row was dropped by Apple in Lion. I beleive it can be recovered from Snow Leopard, I haven't tried it myself. -
When I click "+" to add another sheet I do not get the option to select A new seet or A new form - just a blank page into which I cannot anything. How can I fix this.
Troubleshooting extensions and themes
* https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
Restore the default home page
* https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page#w_restore-the-default-home-page
Check and tell if its working. -
Cosuming web service using consumer proxy - not getting the output
Hello All,
I am not getting the consumer proxy output structue filled though the web service is successfully executed. I did the following steps.
1. Created a webservice form RFC BAPISDORDER_GETDETAILEDLIST
2. Created a consumer proxy for the above created WSDL document.
3. Tested the service by executing the proxy directly by feeding the input in the XML (sales document and partner view). it is working fine
4. Created a program to access the consumer proxy by passing the input(same input as per XML). I am not getting the output in the proxy output structure ( but I can see the RFC is successfully executed and having the right values in the debugging mode).
Is this the issue is due to the date fields (XML cannot consider a blank date )?
Please note: the partner output table parameter in the bapi (output I am looking for ) is not having any date fields.
Please help me to sort out this issue.
Thanks,
GopiHi Gopi,
From your description, I assume you used the SE37 transaction's menu option Utilities -> More Utilities -> Create Web Service -> From the Function Module, to expose the BAPI concerned as a Web Service.
If this is the case, then it is possible that you are falling foul of your SAP User ID not having the necessary Remote Function Call authorization to execute the BAPI.
A prerequisite for successfully calling an RFC-enabled Function Module (which is what a BAPI is) is that the User ID used to call the function module must have the required RFC authorization (Authorization Object S_RFC). For example, when calling function module BAPI_CUSTOMER_GET_ROOT, if the User ID lacks the requisite authorization in the target system, the following error message will be received by the Consuming application:
User <User ID> has no RFC authorization for function group V02HBAPI.
Notice, as you can see from the above message, RFC execution authorization is implemented at the Function Group level, not at the Function Module level. In othere words, granting a user the authorization to a function group (authorization object S_RFC) enables the user to execute all RFC-enabled function modules contained within that function group.
I am guessing the BAPI works for you in debug mode because you are not calling the BAPI remotely.
Let me know if this helps.
Best Regards,
Andy. -
Hi,
we are running reports in Viewer 10.1.2.48.18 using URLs made in Portal.
It works fine but sometimes the parameter form in Viewer is really not needed (even "wanted").
The report needs the parameters but the user has already made the selections in Portal and the LOVs are not very useful when in Viewer.
Is there a parameter I can add or some modification to the sheet I can do, to hide the parameter form?
Kind regards
Tomas Albinsson
Stockholm, SwedenWell, I thought some more on this...
I wanted to hide the parameters from some reports. They have in common that a part of their title is "(skola)" (meaning school).
So I made a uix-hack. Note that this is not supported and dangerous and...
Make a security copy of the file <mid_home>/j2ee/OC4J_BI_Forms/applications/discoverer/discoverer/Worksheet.uix.
Edit the file.
At the end you'll find
</form>
</contents>
</body>
Add one line of javascript code, ending up with
</form>
<rawText text="<script> if('${uix.eventResult.workbookName}'.indexOf('(skola)')>-1) document.getElementById('paramshs').style.display='none'; </script>" />
</contents>
</body>
The parameter part of the report is kept in a table with the id paramshs. The above javascript code will simply hide that whole table if the name of the report contains "(skola)".
Note the use of < and > instead of < and >, to keep from breaking the xml code in the file.
Bounce discoverer (or the mid tier) and it should work.
Kind regards
Tomas -
How to get the parameter from Java Script into the Parameter crystal Report
Hi All,
Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
FYI.
Java script sends the right parameter value.There is no issue in java script.
This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
Please clarify? -
Returning to the parameter form in a report after closing the report page
hi all,
tell me a way to get the following solution
how can we return back to the parameter form of a "parameterised
report" after closing to the report window.
i ve tried a little bit with "srw_run_report"
reply me as quick as possible
prabhakaranTry using menu options
Tools\Parameter Form Builder
you can either select/deselect any parameter from the list -
Not getting the Connect to join the shared review notice in Adobe Reader 9
I click on my e-mail and entering Shared review but I am not getting the Adobe Acrobat Shared Review Window
that asks me to click to connect to join the Shared ReviewThere's not really anything you can do with just Reader. The creator of the form set it up to behave this way, by intention or not. It could have been set up so that a user is unable to enter more text than can be displayed in the area defined for the field, and that the font size would automatically decrease as the limit is reached, down to a minimum size of 4. If you know who created the form, you may be able to request a new version.
George
Maybe you are looking for
-
Can you sync multiple iphones to one itunes account
can i sync multiple iphone to the same itunes on the same computer
-
Problem with BAPI of Material Master creation
Hi, I am creating material master(mm01) through BAPI_MATERIAL_SAVEDATA. Program is working fine but when i m checking in MM03 to display uploaded data through BAPI, i cant able to see material which i created to through BAPI but i can see in MARA tab
-
Devloper system configuration (weblogic in debug mode on Eclipse/windows)
Hi, I work on a project, which we may consider as big. Couple of thousads of java files, muilti-tired. We use, weblogic in eclipse on widows for development. Curreltly we have 1G ram on each of developer mechines. But most of us are complaining that,
-
I am recording from some old reel-to-reel tapes and one of them has a fast vibrato effect that I'd like to remove. The vibrato is sort of like a "shaky" sound not created by the instruments. It is constant throughout the tape. Any thoughts?
-
Macbook Color Profile Question
I just bought a Macbook from my cousin yesterday. It's in great shape and not very old, which is why I bought it. It's amazing how addictive it is, I've been PC person forever. I immediately brought it home and installed all my programs, set a deskto