Run the Report through a button in form 6i

Dear friends i am using oracle 6i and i want to run a report through a buton on form 6i

Permission granted... ;)
More seriously: Have you tried to look into (and understand) the examples that were shipped with the developer?
How far did you get, where are you stuck, what error do you receive?

Similar Messages

  • Run the report through command prompt on Linux

    can anyone tell me how can run report through command prompt (Reort server is on Linux)?
    that thing I want to implement in form calling report.
    Please guide about it..

    hi,
    There is a lots of documents available in the Internet for the same.
    Regards,
    Soumyajit

  • Urgent : i am not able to coonect the report through oracle forms  10g

    i created a report "test1" through oracle report 10g and calling from oracle forms 10g
    i tried to run the report from forms builder but i am getting the following error
    "server can not connect 41213 error"
    from run mode i already given the following command for running the report server
    rwserver server=rep_fsprod
    The help is saying like that
    cause:  There is a problem connecting to the specified Report server. Action:  Check the Report server and make sure it is up and running. Level:  20
    Any pleae provide me the necessor setting for this issue and give me some good reselution
    But i am not sure where is the problem
    If anybody thats will be helpfull for me. please provide the step that i need to take
    the following are the code
    ------------------------------------------------------------>
    Declare
         PL_Id     ParamList;
    v_Report VarChar2(30) := 'TEST1';
    v_Rep_Id Report_Object;
    v_Rep_Job_Id VarChar2(100);
    v_Job_Id VarChar2(100);
    v_Rep_Status VarChar2(100);
    v_Rep_URL VarChar2(1000);
    v_Host_Name VarChar2(100) := 'localhost';
    v_Port     VarChar2(100) := '8889';
    v_Rep_Server VarChar2(100) := 'abc';
    Begin
    PL_Id := Get_Parameter_List(v_Report);
    If Not Id_Null(Pl_Id) Then
    Destroy_Parameter_List(Pl_Id);
    End If;
    Pl_Id:=Create_Parameter_List(v_Report);
    Add_Parameter(PL_Id, 'Usr_Id', Text_Parameter, 'cms');
    Add_Parameter(Pl_Id, 'ParamForm', Text_Parameter, 'NO');
    --Find Report Object
    v_Rep_Id := Find_Report_Object('TEST1');
    --Communication Mode
    Set_Report_Object_Property(v_Rep_Id, Report_Comm_Mode, Synchronous);
    Set_Report_Object_Property(v_Rep_Id, Report_Desformat, 'HTML');
    --Handled Destination Type and Name
         Set_Report_Object_Property(v_Rep_Id, Report_DesType, CACHE);
    --Specify Report Server and Report File Name
    Set_Report_Object_Property(v_Rep_Id, Report_Server, v_Rep_Server);
    Set_Report_Object_Property(v_Rep_Id, Report_FileName, v_Report);
    --Run Report
    v_Rep_Job_Id := Run_Report_Object(v_Rep_Id, PL_Id);
    v_Rep_Status := Report_Object_Status(v_Rep_Job_Id);
    If v_Rep_Status = 'FINISHED' Then
              v_Job_Id := SubStr(v_Rep_Job_Id, length(v_Rep_Server)+2);
              v_Rep_URL := 'http://' || v_Host_Name || ':' || v_Port || '/reports/rwservlet/getjobid' || v_Job_Id || '?server=' || v_Rep_Server;
    Message(v_Rep_URL);
                   Web.Show_Document(v_Rep_URL, '_blank');
    Else
         Message('Error Running Report');
    End If;
    End;
    ------------------------------------------------------------>

    i am facing same please do some favour me for this report issue

  • Running report from a button in forms 6 with parameter

    im new to reports 6 please give me the code for running report from a button in forms 6 with parameter
    regards

    Hi ,
    Use this SRW.RUN_REPORT..
    Go thru the help in Reports by typying
    Running a report from Form Builder or Graphics Builder
    go thru the instuctions and examples.
    --Basava.S                                                                                                                                                                                                                                                                                                                                                                           

  • Problem while running the report from a form

    Hi,
    I am able to call a report from forms9i using run_report_object. This report just has a boilertext within it. I did this just to check the functionality of run_report_object built-in. This worked perfectly.
    But when I am trying to call a report based on emp table from the form, it gives me error saying that it cannot run the report.
    Can anyone please help me.
    Thanks
    Narain

    Hi Ino Laurensse ,
    Thanks for the response.
    The error code and message is as follows
    frm-41214 Unable to run report.
    I am able to call from forms9i a report with some boilertext but not a report accessing the database. Thro' out I have never changed the username.
    The following are the changes I made
    In the rwservlet.properties
    I specified the
    reportserver name = repsrv ( I created it and started from the services)
    singlesignon = no
    I am able to run the report which is accessing the emp table from the report builder with the same user as the one which I am using in forms, but, the same I am not able to call from forms.
    thanks
    Narain

  • Error running the report from Form

    Hi,
    I am try to run the report from the form by using these code of line
    DECLARE
         RPT_OBJECT      REPORT_OBJECT;
         RPT_RUN          VARCHAR2(100);
    BEGIN
    RPT_OBJECT := FIND_REPORT_OBJECT('REPORT7');
    SET_REPORT_OBJECT_PROPERTY(RPT_OBJECT, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(RPT_OBJECT, REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(RPT_OBJECT, REPORT_OTHER,'P_CITYCODE'||:CITYCODE||'PARAMFORM = YES');
    RPT_RUN := RUN_REPORT_OBJECT(RPT_OBJECT);
    END;
    but i m not using any Form server and Report Server i m completly using Oracle9iDS
    It gives the error rep-0110 file not found and
    rep-1070 error while opening and saving the file
    please give me the solution
    Shehzad

    Shehzad,
    this means that Reports Server cannot access the Reports module. You can test this assumption by copying your Reports module into <Oracle Home>\reports\samples\demo. The demo directory is out of the box accessible fro Reports.
    If this allows you to run the Report, then all you need to do is to specify the Reports_Path to include the reports modules.
    btw.: An other reason can be that your Reports contains uncompiled PLSQL, so you may want to check this too.
    Frank

  • To stop Running the Report when we dont find data in the table

    I am running a 6i report and this report fetches data from custom table.
    I need to check whether data exists in the custom table in the After parameter form and if doesnt return any data then i need to Stop the report execution and write a message without raising any exceptions or errors
    note: we tried with srw.program_abort ---- it stops the report but it returns an exception
    Thanks

    Here the tricky is
    if we don't have last month data we should not go the data model. The data model query will run regardless the previous month data.
    we are trying to find the previous month data in after parameter form. if it is not there we want to stop the report there itself it should not go to layouut or data model.
    how to achive this one?
    we try to terminate the report through program_abort but it is raising an exception

  • Problem in sending the report to Outlook from Oracle Forms.

    hi buddies
    I'm trying to send a report to outlook from form.
    but when I run the report with the following report parameters:
    Add_Parameter(param, 'DESFORMAT', TEXT_PARAMETER, 'pdf');
    Add_Parameter(param, 'DESNAME' , TEXT_PARAMETER,'d:\main\abc.pdf');
    Add_Parameter(param, 'DESTYPE' ,TEXT_PARAMETER,'mail');
    it gives the following message before opening the outlook:
    "c:\program files\common files\system\msmapi\1033\mpa03240
    cannot create output file. check to ensure path and file name are correct."
    then it opens a dialog box of outlook asking the cotacts whom I wanna mail this file and then opens outlook with the above mentioned report file but with a default file name like "Report.pdf" and it doesn't show the send mail button in opened outlook window.
    can u tell me the reason why is it giving this message n where is the error?

    Hi Vengal !
    What is your module configuration in comm channel ??
    what is your current result and the expected one.
    Regards,
    Matias.

  • While running a report through workspace getting "Null" error

    While running a report through workspace i am getting "Null" error.i have checekd the db connection and also access to hfm.
    Thanks

    Hi Raj,
    There are a few OSS Notes for your issue.
    If your Query has hierarchy in it then check 734184
    If your query is based on Infoset then check Note 784502 and 701941.
    Also check 668921.
    Bye
    Dinesh

  • How can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • Error when running the report

    hello,
    i am running a report, which has three parameters begin date, end date and dept full name.
    for example when i am running the report with following parameter's works fine they are 01/01/2002, 02/02/2002 and dept name is Animal Control.
    but when i am running the report with the following parameters its giving problem i.e.
    01/01/2002, 02/02/2002 and dept name is Mayor's office its not running the report says command line syntax error rep-0159.
    in the database the dept name is Like Mayor's office.
    i dont know how to convert the apostrophe to a string or what ever, to get the report.
    this is production problem.
    please do help me out.
    thanks.

    Hello!
    I guess you are running your report using rwrun60.exe, probably in batch mode.
    In such cases string parameter with single quote inside of it should be passed in a such way: rwrun60 ... paramname3='Mayor''s office' ...
    In Reports 6.0.8.11.3 it works fine.
    No problems at all if you are calling report from the Forms using run_product built-in and passing prameter list into the report.
    Regards,
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000
    http://www.brainbench.com

  • Unable to run a report through Portal.

    Hi All,
    I am not able to run a particular BEX report through portal.
    I get a white screen and no pop-up for selections and later nothing happens.
    I have checked my Roles but no changes has been made.
    My other colleagues are able to run the report.
    Please let me know what could be the possible reason/solution for such an issue.

    are different roles assigned?
    i.e., for you and for your colleagues.  Please try login with your id in their PCs and vice versa.
    let check the compatibility. if you are failed to execute in that PCs also, then it should be authorization issue. Ask your basis folks to add that particular info area and info cubes to your role.
    Hope this would give you clear pic.

  • How to get SYSDATE in the header section dynamically when we run the report

    I have one more issue may i know how can i get the sysdate in the header section when i run the report.
    as we have the requirement like this
    In the header section
    Run Date : ("sysdate").
    How to get the sysdate dynamically in the RTF template, when i go across the google i found that header and footer section did not allow form fiields .
    So is there any way to do it.
    Thanks in Advance.
    Have a Nice Day.

    You cannot insert form fields in the Header section, but you can just insert the code to achieve this. For example: insert this in the header section to view the sysdate: You could format the date as you would like..
    <?xdoxslt: sysdate(‘YYYY-MM-DD’)?>
    Since you are new to BI publisher, search the forum, review the Report Designer's guide for BI publisher. You will find that most of your basic questions are answered there and there are examples as well.
    Thanks!

  • Variable-Selection before running the report

    Hi Bex experts,
    i have a Web-Report with Navigation block.
    Before user run the report he should enter a value for Profit Cetner.
    In Query definition, I defined a simple variable ( typ: user entry/default value).
    Profit center has an attribute u201CStatusu201D.
    We have in system let say more than 1000 profit centers and only 200 of them are with Status u201Cactiveu201D. Like below.
    PC1 activ
    PC2 non-active
    PC3 activ
    u2026
    Before user run the report, he clicks on Selection Button for Profit Center and  he see there all Profit- Center from masterdata  but he want to see only the active Profit -Center for selection.
    Is it possible ?
    Thanks.

    Hi,
    in Backend Level (RSA1) Make STATUS as a Navigational Attibute, insert it as a Nav Attr in Infoprovider
    in Query Designer: create a Manual input variable for the Profit center Status - (Nav Attr)
    when you execute the report,  in the variable screen you will have 2 seperate variables
    1) Profit Center
    2) Profit Center Status (Nav Attr)
    Hopes it will help you
    Regards
    ReddY A

  • How to create a file when i run the report

    hi all
    i want to run the report and each time i run the same report to create a separate word file for the report o/p ?
    is there exist a procedure to create a fiel?

    hi magoo thanks for your consederation
    i use forms 10g
    But your answer is to create the file , but when i run the report next time the file overided by the new file ,
    But i want to generate a new file beside the old created file (how can i create separate file althouth the file name take the same name of the report)
    thanks.

Maybe you are looking for

  • Purchase bills payments against the PO (URGENT)

    hi experts i am finding ap invoices payments against the Purchase orders. where i can get this informations stores ..can anybody tells me where should i focus .. and in which tables i can get this information combination stores. In the depth explans

  • JSF error message - retain ?

    HI all, i am using jsf <h:messages />. its getting cleared, if i click a commandlink which shows a popup div. That popup div is rendered in a bean. How to retain the error messages after getting the response. Samething happened when i change a select

  • Upgrading Operating system from Mac OS X 10.4.11 to Snow Leopard

    I have a MacBook pro & am thinking of upgrading the operating system - will there be any machine and/or software compatibility issues with, say, upgrading to the Snow Leopard when it is due out in Sept 09 ??

  • WRT1900AC - NAS Administration issues...

    I just installed the WRT1900AC to replace a failed E3000.  I lived with the E3000 for years as Linksys gradually improved the software support for usb connected NAS drives and have the drive (A 1TB Western Digital USB drive) connected and successfull

  • Pas de contenu en français

    Je possede une Apple tv 3 et je suis français. je très deçu de voir qu'il n'y a pas de contenu en français , toutes les chaines proposent du contenu en anglais sauf youtube. A quand une mis a jour vers des bandes annonces en français par exemple ou a