Making parameter form appears

Dear All,
i have a problem regarding showing parameter form that made by report developer when i call the report from my form
first i use winXP sp3, database 10g ,developer suite 10g
the problem is as follow:
the report run perfectly from report builder and the parameter form appears but when i call the report from the form the report appears without parameter form screen and this make report empty
notice1 :  i call any other report it is appears successfully
in a short way (how can i make report parameter form appears when i call it from a form )
i call the report through the following procedure
procedure open_my_report (p_repname varchare2) is
report id  report object;
reportserverjob varchar2(100);
report_status varchar2(20);
begin
report_id := find_report_object('myreport');
set_report_object_property(report_id,REPORT_FILENAME,'c:\developersuitehome_1\reports\'||p_repname||'.rep');
set_report_object_property(report_id,REPORT_EXECUTION_MODE,BATCH);
set_report_object_property(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
set_report_object_property(report_id,REPORT_DESTYPE,FILE);
set_report_object_property(report_id,REPORT_DESNAME,'c:\reports\'||p_repname||'.pdf');
set_report_object_property(report_id,REPORT_DESFORMAT,'pdf');
set_report_object_property(report_id,REPORT_SERVER,'rep_raysoft');
reportserverjob := run_report_object(report_id);
if rep_status = 'FINISHED' then
copy_report_object_output (reportserverjob,'c/'||prepname||'.pdf');
host('c/'||prepname||'.pdf',no_screen);
message('report '||p_repname||' completed successfully');
else
message('error when running '||p_repname||' report .');
end if;
end;
notice2: i try to activate the parameter form by adding this line in the procedure
set_report_object_property(report_id,REPORT_OTHER,'paramform=yes');
but it desn't make any differance
so i will be so apreciated if anyone can help me
thanks
regards
yasser elbighily

Dear All,
thanks for your attention
really i modify my code to be appear as follow
PROCEDURE OPEN_MY_REPORT (p_repname Varchar2) IS
v_report_id Report_Object;
vc_ReportServerJob VARCHAR2(100); /* unique id for each Report request */
vc_rep_status VARCHAR2(100); /* status of the Report job */
v_reportservername VARCHAR2(50):='rep_raysoft'; /* THE NAME OF THE REPORT SERVER*/
vjob_id VARCHAR2(100); /* job_id as number only string*/
BEGIN
/* Get a handle to the Report Object itself. */
v_report_id:= FIND_REPORT_OBJECT('MYREPORT');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME,'C:\DevSuiteHome_1\reports\'||p_repname||'.rep');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,FILE);
/* Define the report output format and the name of the Reports Server
as well as a parameter form to be displayedwhen required. */
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,v_reportservername);
if p_repname = 'REPCENTERSPREADING' then
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'paramform=yes');
else
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'paramform=no');
end if ;
vc_ReportServerJob := RUN_REPORT_OBJECT(v_report_id);
message(vc_ReportServerJob);
message(vc_ReportServerJob);
vjob_id := substr(vc_ReportServerJob,length(v_reportservername)+2,length(vc_ReportServerJob));
message(vjob_id);
message(vjob_id);
/* If finished, check the report status . */
vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
IF vc_rep_status='FINISHED' THEN
/* Call the Reports output to be displayed in a separate browser
window. The URL for relative addressing is valid only when the Reports
Server resides on the same host as the Forms Server. For accessing a
remote Reports, you must use the prefix http://hostname:port/ */
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||'?server=rep_raysoft','_blank');
ELSE
message ('Report failed with error message '||vc_rep_status);
END IF;
END;
and it helps me to display the parameter form but i face another problem that is when i enter values for my parameter it gives me the following error
REP-52007: Parameter form format error.
note: i test the report directly from report builder and it work successfully without any problem
so can anyone help me please
yasser elbighily

Similar Messages

  • Making a Form appear on the center on the screen

    Hi
    How can i make a form in java to appear at the center of the screen no matter what the resolution of the scrren is .
    Thanks

    I know of 2 ways:
    1. [The clean way]
    http://forum.java.sun.com/thread.jsp?forum=57&thread=537866 EvilEdna's post {most thorough}
    OR
    http://forum.java.sun.com/thread.jsp?forum=31&thread=552229 My post (reply #1) {less thorough but still good}
    2. [The dirty way]
    frame.setLocationRelativeTo(null); {dirty!}

  • REP-50134 occurs when using the submit button on the Reports Parameter Form

    Good Morning,
    I get the "REP-50134: Cache subitem reports does not exist" error after clicking on the Submit Button from a Reports parameter form.
    I am using Forms/Reprots 9i.
    Using the source code given in the Whitepaper 'Oracle Forms Services - Using Run_Report_Object() to call Reports with a parameter form', all works well when paramform=no, but when I have a Form print a report with paramform=yes, the parameter form appears correctly, but generates the error after clicking the Submit Button.
    Any inputs as to causation or possible places to look to solving this problem would be greatly appreciated.
    Thank you

    Hello and thanks.
    The value in the tag is <form method=post action="reports?">
    Looking at this I suspect my problem is related to this setting. I am trying to follow all the instructions in the White Papers but they are a little confusing as they are not all exactly the same. Each attempts to explain a specific functionality without regards to the whole.
    For instance I believe I need to have the variables P_ACTION, P_USER_CONNECT and P_SERVER_NAME in the report being called and then add a Before Parameter Form trigger to reset the values. But this seems to duplicate and override what has already been sent via the REPORT_OTHERS property. It is a tad bit confusing.
    Can you confirm?
    Thanks for any clarification you can provide.

  • Oracle Reports 10.1.2.3 output shows question marks, parameter form shows correct Arabic

    Hi
    Following is our environment
    Oracle Application Server     10.1.2.3.0
    Microsoft Windows 2003 Enterprise Edition Service Pack 2
    Oracle Database 11.2.0.2.0
    NLS_LANG     AMERICAN_AMERICA.AR8MSWIN1256
    When client runs the report on browser (IE), the parameter form appears fine with Arabic characters.
    Inserting the parameters in Arabic also look fine and characters display in Arabic but when report is generated, the output shows the inserted parameters as ????
    On server, regional settings are ALL Arabic. Also the registry has NLS_LANG setting of AMERICAN_AMERICA.AR8MSWIN1256.
    Report output is same for both html and pdf formats. For PDF subetting, uifont.ali file has been modified but the issue does not seem to be PDF related since the html format reports also shows ???
    It is a 3 tier setup hence there is no question of having NLS_LANG registry settings for client PCs that are running Windows OS with Arabic regional settings that match the server.
    Interestingly, the same report when run from a different application server having same architecture runs fine. The other application server has exact same version of OAS. Database supports Arabic and is configured as such.I tried comparing the different configuration files on both servers but apparently I cannot find the place where I should change something for the reports to show correct Arabic.
    SELECT * FROM NLS_PARAMETERS
    WHERE parameter IN ('NLS_CHARACTERSET','NLS_LANGUAGE');
    NLS_LANGUAGE
    AMERICAN
    NLS_CHARACTERSET
    AR8MSWIN1256
    I am writing this after doing quite some research but seems like I am unable to find a solution to this.
    Any help will be appreciated.

    Thank you Paul for your reply.
    I think you misunderstood me. I understand that it is all volunteer work and I never said I was looking for "quick" or "sure" response. I did not even use the words IMMEDIATE or URGENT in my post. I found it strange because I personally believe that there are many volunteers providing great support to others and yet my post somehow went unnoticed. In my personal opinion, however, if you do not wish to reply then you should just ignore rather than being rude. No one can force anyone to do the good work that people are doing here at oracle forums and they are all doing this out of choice. Let me also assure you that me and people like myself really appreciate their efforts.
    Having said that, I wish you had taken time to read about my issue. There is infact a registry setting that specifies the NLS_LANG and it is already set under both Infrastructure and Middle Tier in the registry. I mentioned it earlier. The value is AMERICAN_AMERICA.AR8MSWIN1256 and I believe this is correct for Arabic characters.
    What is confusing for me is the fact that if browser was not capable of showing Arabic characters then the static Arabic words in the reports layout (field name for instance) would also show as garbage or question marks. They appear to be fine. Since we are just passing some parameters in Arabic language and not saving anything in the database, the DB characterset does not come into play for now. Although the DB characterset is also set to store Arabic data. We are displaying the parameters that we are passing through the parameter form in the output of the report and this is where we see question marks (????).
    Finally, if it was a browser issue or a DB characterset issue, then in my limited knowledge, I believe that the report that we are running using the other Application Server that is pointing to the same database should also show the same behaviour. That is not the case as it displays the same report perfectly. Client machine is the same in both cases using Windows 7 and IE as browser.
    http://appserver1/reports/rwservlet?admin/myreport           (connecting to db1)    works fine
    http://appserver2/reports/rwservlet?admin/myreport          (connecting to db1)     show question marks
    Above URLs are examples. The point I am trying to make here is that the issue has to be with the new application server and it cannot be registry settings as I have double checked the entry and it exists in all Oracle Homes ie Infrastructure and Middle Tier. So maybe it is some configuration file setting that I am missing here.
    Any help will be appreciated.

  • Parameter form format error

    I have just deployed my first report to our 9iAS app server. I can successfully run the report in my browser if I pass ALL parameters in the URL. When I attempt to use paramForm=YES in my URL, the parameter form appears like it should, but when I selected values (LOV) on the parameter form and click "Submit Query", I get the following error.
    REP-52007: Parameter form format error.
    java.lang.IllegalStateException: Response is already committed!
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:973)
         at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:27)
         at oracle.reports.rwclient.RWReportRunner.setContentType(RWReportRunner.java:261)
         at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:135)
         at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:95)
         at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1322)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1139)
         at oracle.reports.rwclient.RWClient.doPost(RWClient.java:328)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Can anyone tell me what is wrong? This report run fine, including the parameter selection, in the Report Builder. I simply saved the report out to a JSP and copied it to the report server.
    Thanks,
    Kevin

    You may have hit a bug when passing parameter paramform as "PARAMFORM=yes" or "Paramform=yes", you will get the REP-52007 error. The fix will be available in Reports 9.0.2.1.
    As a work around, please submit the request with all lower case "paramform=yes" and try again.
    Hope this helps,
    -Jeff Tang

  • Suppressing parameter form when calling report  (Designer 6i R4.11)

    I use an action item on a Forms module to call a Reports module. This Report has one argument, and its value is provided by the Forms module. When I run the Form and press the button (= action item), the Reports parameter Form appears. How can I suppress the parameter Form since the value is provided by the Form?
    Setting the display property of the argument to 'No' doesn't work.

    Hi Harm,
    There is one parameter called 'PARAMFORM', this is text parameter saying report
    whether it has to show the Parameter form or not.
    If we set this to 'NO' when calling report,i t won't show the Parameter Form.
    Another way is...
    Open the report and delete all the items from the Parameter form layout.
    Pass all the parameters from the form. Now it wont show the parameter form.
    Think it will help you.
    Thanks.
    Siva.

  • 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
    Mahesh

    Hi 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&paramform=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

  • Image not appearing in the Web Parameter Form

    Hello Folks,
    I have image in the Parameter form, which is not showing up in the Web Parameter Form. I had set up the "REPORTS_PATH" also and still not appearing.
    Any clue greatly appreciated..
    Thanks,
    Senthil

    I ran into this problem as well, and there is a work around if you do not want to apply the patch. Put the image in your <oracle_home>/apache/apache/htdocs directory. Then in your report in the parameter section, create a text box. Put this in the text box:
    <img src="http://<your_servername>.<your_domain>:<your_port>/<your_gif>">
    Go into the parameters of the text box you just created(hit F4) and choose YES for Contains HTML. Then when you run the paramter form on your web server the image will be displayed.
    Martin

  • Making a form portlet reusable by allowing a parameter to be passed to it

    I have a form that allows maintenance on records. I need to filter the records that a user can maintain, (and insert) based on a column value. I can accomplish this by setting the default value for the (hidden) column. When I query and maintain the records in the form it behaves correctly by only affecting the records for the default value. Now I want to place the form into multiple pages as a portlet.
    The goal is to be able to change the default value for the portlet (reuse). I've seen many postings on how to pass things to and from forms, but nothing seems to address allowing a user to easily customize the portlet.
    Any bright people out there have a creative solution to this?

    I discovered the way to do this is by making the form based on a procedure and creating link to the form. When a form is based on a table or view, the link will pass field information and return records, when a form is based on a procedure there are no records to retrieve so it sets values passed as default.

  • Null value in parameter form.

    In parameter form I want to leave blank option in order to print a report for all the values in the parameter form. I am writing the query for the parameter LOV that it fetches the values and making a union with 'select to_char(null) from dual.
    I am getting a blank and the required output when the report is run using the report builder but the this blank space or null value disappears when the report is run on application server 10g. It seems to be a small problem but I am not able to get a solution for this. Please, suggest something.

    Hi,
    Instead of a Null, why not use '-ALL-',
       union all
       select '-ALL-'
       from    dualthen in your query, you will have,
    where column_1 = decode(:param1, '-ALL-', column_1, :param1) that way it will be more clearer for the users that if they picked '-ALL-' in the LOV that they will get all records and will eliminate the problem you are having with null when you deploy your report in application server.
    -Marilyn

  • Parameter form  which generates a report in delimited format

    Hello , I have a parameter form which calls a report in delimited format.
    In the RUN_REPORT* (Function Body) in program units , I have made the following modifications :
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'DELIMITED');
    I get a report in txt format . The problem is that when I convert my txt file to excel , I get the label of each row which repeats the number of records found ! I should have the label appearing once followed by the data . What can I do to make that possible please ?
    or if I have a simple query e.g SELECT * FROM BANKS to generate in txt format . Can I write some code in PL/SQL to write the results of such a query in txt format?
    Thanks
    Edited by: twinklin_girl on Aug 28, 2009 3:53 AM

    I think I got the solution !
    I simply need to add the following in my run_report procedure :
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'*DelimitedData*');
    I get the actual title of each field(as it is in the database) displayed once followed by all records . It's not a perfect solution but I think it will do for now.

  • Supressing the parameter form when calling report from form...

    Hi everybody
    I call a report from a form passing a parameter. After pressing
    the button, the runtime parameter from appears. How do I
    suppress it so that the report appears right after pressing the
    button???
    Thanks
    Serguei

    Hi Serguei ,
    You have to add a text parameter 'PARAMFORM' with the value
    'NO' to the passing parameter list.

  • How to hide the window of Runtime Parameter Form?

    I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
    Please help me!

    When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');

  • Order by in Parameter form for a formula col

    Hi,
    I have made a report for fast moving products and have ordered by on a formula column. Is there any way to select the order by (ascending or descending) in the parameter form at runtime for the same formula column. Instead of making two different reports one for ascending and one for descending, is there any way the user can select at runtime in the parameter form?
    For the same report, how can I specify Top 100, Top 50, Top 25 etc.
    Your reply or comments would be highly appreciated.
    Thanks
    Rgds
    Fahad Hanif

    I think by declaring one additional variable in which
    u will ask from user in which order he requires the
    outpu ascending/descending. and in second variable u
    assign the order,
    For exp
    your query in as
    select * from table
    &<var 2>
    if after parameter trigger of the report mention
    if <var1>='asc'
    <var2>:='Order by fieldname asc';
    else
    <var2>:='Order by fieldname desc';
    if;
    ill solve ur requirement.
    Thanks
    Shishu PaulHi,
    Thanx for your reply but unfortunately it dint work. It dint show me any error as such but the ordering did not take place.
    The issue is that I need to do the ordering on the Formula Column. Simply adding an order by statement like ' order by :cf_4 ' shows an error. Though routing it through the variable dint show any error it neither did serve the purpose.
    I need to find a way in getting the ordering on the formula column. Then I need is Top n number of products to be displayed based on the order by of the formula column.
    Pls help me out on this.
    Thanks
    Rgds
    Fahad Hanif

  • Parameter Forms - Web Reports

    I've managed to do it with PARAMFORM=HTML .... but when i press "submit query" on the parameter form, a database user authentication form appears.
    I have already specified the userid in the URL but as a precaution i enter the details again. Then I click submit and i get the error:
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Key "dummy" is unrecognized. Possible causes: bad URL syntax; key in URL was not found in the key map file.
    The above was for the cgi version, but for the cartridge version, everytime i push "submit query" on the parameter form, it would loop to the parameter form again.
    Can anyone help me with this?
    Some info:
    Windows NT 4 with SP3
    Oracle Apps Server 4.0.7.1
    Internet Explorer 5
    Developer 6 with Patchset 3
    -William Ho

    It looks like you're using Reports 6.0
    You need to either delete the 'dummy' entry in the cgicmd.dat file (fyi, no longer needed in 6i) or correct it.
    Please check out the whitepaper "Reports Server Configuration" available for download on OTN (under Reports 6.0 collateral) for information on this.
    Regards
    The Oracle Reports Team http://technet.oracle.com

Maybe you are looking for

  • Dynamic column of Charcter Mode Report

    Hi, I hope so you all r fine.M facing a problem in character mode reports(Transaction Register).i want to increase width of item field that appers on selection of one parameter (Sort by): Subinventory . am astonish how it is displays at run time as t

  • Quicktime Player opens off center and to large

    Hello, The QuickTime player always opens to large and off center on my screen. I have changed preferences in the options to every setting possible but nothing works. Using Windows 8. My windows 7 machine behaves exactly the same. I am running the Fre

  • Compile option is missing in the Packaging wizard

    I need to compile my local app jsp files but the problem is i could not able to find the compile option in the Packaging wizard. Can anyone advice how to compile  ?  The compile option is missing in the packing wizard. I was using it before without a

  • Adjustment layers lose effect when merged

    This is the look I am trying achieve while the Curves, Levels and the base image are in their own layers. But when I merge the layers...this is what happens. What's going on? What am I doing wrong? I've tried accessing the adjustments in the "Image"

  • I upgraded to OSX 10.6.8 why won't my email work?

    I upgraded my system from OSX 10.5 to Snow Leopard 10.6.8 and now my email will not function I get a message that says I am running Mail 3.7 and it will not run on this platform.  What upgrade do i need to install to get my email up and running again