Oracle reports calling problem from FORMS

Hies
Guys I've a problem in oracle report calling from Oracle FORMS. I am using reports and forms 6i. When the report name length is more than 30 characters the report engine runs first time correctly but on the second call of report the system gives an error :
" RWRBE60.exe has generated errors and will be closed by windows.You will need to restart the program ".
After this error the report engine closes and i have to call the report again.
Is there a length fixed for reports name in Oracle 6i.
Is any possible solution available.
Remember i dont want to shorten my report names.
Kindly help me with this.
Thanx.

Thanx Frank
Well one solution is that i can decrease the length of my report name and the problem does not occur than.
any ways thanx ..but where to get the patch from.
Kindly provide me with the link if possible.
Thanx,
Qaiser Qayyum Malik.
[email protected]

Similar Messages

  • Calling oracle reports 3.0 from ASP(IIS Server)

    Hi,
    Please can any one guide me how to call
    Oracle Reports 3.0 from an ASP Web Application .I would appreciate if any one could provide me the details and the code for this .This is very urgent .
    Thank u,
    suresh

    If you are using parameters in the report create a url using ASP variables and concatenate the same to produce a link that invokes the report.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by sureshnair nair ([email protected]):
    Hi,
    Please can any one guide me how to call
    Oracle Reports 3.0 from an ASP Web Application .I would appreciate if any one could provide me the details and the code for this .This is very urgent .
    Thank u,
    suresh<HR></BLOCKQUOTE>
    null

  • Report not working from forms.

    Hi
    we are beginners and please help us.we have installed in LAN database 11g on vista
    and application server 10g on os 2003.
    we are developing some applications from our developer pc in vista and using developer suite 10g.
    we want to generate some reports and call them from forms.
    This is the code in when button pressed.
    DECLARE
    repid REPORT_OBJECT;
    repjobid VARCHAR2(200);
    repstatus VARCHAR2(200);
    repjobno number;
    repserver VARCHAR2(100) := 'rep_mbxserver_FRHome1';
    BEGIN
    repserver := 'rep_mbxserver_FRHome1';
    /* Check to see if forms application is WEB deployed */
    IF get_application_property(user_interface) = 'WEB' THEN
    message('web');
    repid:= FIND_REPORT_OBJECT('REP');
    message('report found');
    /* Set Report parameters given WEB deployment */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'e:\users\pro\reports\emp.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repserver);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    /* DESFORMAT could be HTML, HTMLCSS or PDF here */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    /* Run the report */
    repjobid := RUN_REPORT_OBJECT(repid);
    message('run report');
    /* Check the report status */
    repstatus:=REPORT_OBJECT_STATUS(repjobid);
    WHILE repstatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    repstatus := report_object_status(repjobid);
    message('rep status');
    END LOOP;
    IF repstatus='FINISHED' THEN
    message('REPORT WAS CORRECTLY RUN');
    /* Display the report output in the client browser */
    repjobno := length(repserver) + 1;
    WEB.SHOW_DOCUMENT ('http://printer1.mbxnet.com:8889/reports/rwservlet/showjobs?server='||repserver,'_blank');
    copy_report_object_output(repjobid,'\\ansu\mtb-erp\emp.lis');-- (Trying to copy to local folder)
    message('File copied to local pc');
    /* If report has failed display message to user */
    ELSE
    message('REPORT FAILED WITH STATUS: '||repstatus);
    END IF;
    message('222222222222');
    ELSE
    /* Else if forms application is Client-Server deployed */
    /* Set Report parameters given Client-Server deployment */
    message('client server');
    repid:= FIND_REPORT_OBJECT('rep1');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'e:\users\pro\reports\emp.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\printer1\mtb-erp\emp.lis');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt.prt');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repserver);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO');
    /* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
    /* Destype SCREEN or PREVIEW can be used here */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,SCREEN);
    /* Run the report */
    repjobid := RUN_REPORT_OBJECT(repid);
    copy_report_object_output(repjobid,'\\printer1\mtb-erp\emp.lis');
    message('File ok');
    --     host('c:\mtb-erp\ansu.lis');
    END IF;
    END;
    we are struck and unable to proceed.Actually when we run the report from report builder it works.we are calling the report from application server.
    Also if we replace the above web.show document with this statement it works but even though it gives FRM-41214 error.
    web.show_document('http://ansuya.mtbnet.local:8889/reports/rwservlet?destype=cache&desformat=html&report=\\mbxserver\developers\emp.jsp&userid=scott/tiger@mbxsql&paramform=no');
    One more doubt , is it possible if we don not want to show the report in a browser in case of client server locally in lan
    but just generate the report from forms and save it in local folder like we do in previous old versions.If so please guide us.
    Thanks in advance.

    Hello ansu,
    Did you solve this problem ?
    Regards,
    Felipe.

  • Calling JSP from Forms and going back from JSP to Forms

    Hi,
    We are calling JSP from Forms 6i using show_document
    I'd like to go back to tha calling Form from the JSP.
    How can I construct the URL that would lead me back to the same Form and Forms session where the JSP was called from?
    Thanks,
    Arpad

    Thanks Shay,
    works for me too...
    Now:
    when I use the "Back" button of my IE to go back from JSP to the Forms session, it works for Jinitiator 1.1.8.19, but if I use Jinitiator 1.3 I got hung...
    Any ideas how could I make it work from Jinit 1.3?
    Thanks again/
    Regards,
    Arpad

  • How Do You Debug Oracle Report Calls From Forms On The App Server?

    I am working on a system which uses oracle forms and reports 10g.
    In our system we call, we are calling oracle reports from oracle forms. How do we debug the form code when the form and report both are running on the application server in production.
    To my knowledge, this can not be done when the form is running locally since there is only OC4J forms services locally.
    I understand one views error messages through the jinitiator console but how does one turn on this facility? How do you determine what line the error occurred?
    I am looking for step by step instructions as answer to this issue.
    Please be specific. Please write in good English.

    Good afternoon,
    If you have the developer suite installed on your PC, run the report from your form and then follow this tree from the start button on your PC:
    Developer Suite Home =>
    Reports Developer =>
    Oracle Application Server Report Services =>
    Reports Queue Manager
    Select View => Past Jobs and then find your report in the list, double-click the report entry and you'll see the error message that was generated by the Report Server when you tried to run the report.
    Good luck,
    Don.

  • Calling Reports on Web from Forms 6

    Hi
    The problem I have when I am calling Reports from Forms is, if I am calling 3 reports from the Forms the first report called is never shown in the browser while all the others are shown in the previewer.
    Is there any property setting I am missing! Please Help!
    Thanks,
    null

    hello,
    please check the DESTYPE and DESFORMAT settings of the report that does not show up. if you do not pass these settings in you parameter-list the report uses the default values set in the report definition. if these are set to DESTYPE=FILE or PRINTER then the report never shows up.
    regards,
    the oracle reports team

  • 10g Report not running from Forms if called thru paramform on other domain

    Hi...
    I'm using Dev10g Rel.2....If I call a report with paramform=no and pass it a value from forms then report runs well. but if I call report thru parameter form and pass value from parameter form the report doesn't run with error:
    The webpage cannot be displayed.
    Interesting fact is that If I call the report from a client on same domain as that of Application Server then it runs even thru paramform. I've also entered the application server I.P and name on other domain's client but no way. Can u guess whats the problem there???

    It sounds like a Firewall permissions issue to me. You might want to have your Firewall admin watch the firewall as you run your form to see if the packets are getting intercepted and blocked.
    Hope this helps,
    Craig
    If a response is helpful or correct, please mark it accordingly.

  • Calling Reports on Web from Forms

    Hello Friends,
    Right now I am able to run my reports from HTML page/by
    giving URL in IE.
    but I want to call reports from form application. in
    client/Server model, I used RUN_PRODUCT built-in. when i am
    converting to web, i don't know how to call reports from form.
    one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    pass the Parameter List, as we pass parameter list in
    RUN_PRODUCT built-in.
    even though we can pass like
    report=xyz.rep&destype=screen ....
    If there is '&' in the paramtere value , how should we take
    care of this. If any one knows solution, please let me know
    Thanks in advance
    Regards
    Surendra.
    null

    Surendra Babu (guest) wrote:
    : Hello Friends,
    : Right now I am able to run my reports from HTML page/by
    : giving URL in IE.
    : but I want to call reports from form application. in
    : client/Server model, I used RUN_PRODUCT built-in. when i am
    : converting to web, i don't know how to call reports from form.
    : one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    : pass the Parameter List, as we pass parameter list in
    : RUN_PRODUCT built-in.
    : even though we can pass like
    : report=xyz.rep&destype=screen ....
    : If there is '&' in the paramtere value , how should we take
    : care of this. If any one knows solution, please let me know
    : Thanks in advance
    : Regards
    : Surendra.
    Hi Surendra,
    Run Reports using Run_product tool by passing all the parameters
    reqd. for your report and save it as a file in *.pdf format(
    recommended) then call the saved report in WeB.Show_document
    which will call your saved report .
    Ex:
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id:=Get_parameter_list('mtetgdata');
    IF NOT Id_Null(pl_id) then
    Destroy_Parameter_list(Pl_id);
    END IF;
    Pl_id:=CREATE_PARAMETER_LIST('mtetgdata');
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER
    (pl_id,'DESTYPE',TEXT_PARAMETER,:REP_LAUNCH.DESTYPE);
    ADD_PARAMETER(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    ADD_PARAMETER
    (pl_id,'P_RECV_129',TEXT_PARAMETER,:REP_LAUNCH.RECV_129);
    ADD_PARAMETER(pl_id,'DESNAME',TEXT_PARAMETER,'J:
    \WEBFORMS\RepTemp\ACHD_129.pdf');
    ADD_PARAMETER(pl_id,'P_START_DATE',TEXT_PARAMETER,TO_CHAR
    (:REP_LAUNCH.START_DATE,'DD-MON-RRRR'));
    RUN_PRODUCT(REPORTS,'J:
    \WebForms\REPORTS\ACHD_129.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl
    _id,NULL);
    WEB.SHOW_DOCUMENT
    ('http://xdb.oraweb.net:8889/Webforms/RepTemp/ACHD_129.pdf','_sel
    f');
    end;
    I hope this will solve your problem
    Rao Guduru
    null

  • Oracle Report Font problem when run report from oracle EBS R12

    Dear All
    I have developed one Report in ORACLE REPORT BUILDER in windows environment. I see the output of that report, its ok, I deployed it on the EBS R12 which is on Linux environment, when i see the output, its fonts totally change and due to change in fonts, output not same as like in previous stage. When i print from dot matrix Printer then sometime its shrink the character and sometime break the output..
    Kindly help me in this regard, because this problem i am facing from last few days.
    i am waiting for your quick response.
    Thanks in advance....
    Regards,
    Nawaz
    Edited by: Haq Nawaz on Nov 5, 2012 11:45 AM

    Thank you very much for your reply
    I have changed the fonts in the report, but when i run it from the EBS its has the same problem. from the EBS output font look like as (COURIER) rather than CALIBRI WESTERN.
    tell me what i have to change anything.

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Problem with IN OUT parameters whiloe calling procedure from Form 6i

    Hi
    Could some help please? I have the following scenario.
    I am calling a stored procedure from form 6i by pressing a button on the form. Procedure has two IN OUT parameters, and I am passing these two IN OUT parameters and have declared them the way they are declared passed to the procedure. But I get an error when calling that procedure with these IN OUT parameters. the procedure works fine if parameters are IN only. The error says:
    PLS:00363: Expression '1' cannot be used as an assigment target.
    NO matter I pass some value or leave it blank, I get the same error message persistenetly.
    Please help.
    Thanks

    make sure you are calling your procedure with variables as parameters,
    i.e.
          l_v1 := 1 ;
          l_v2 := 'hello world' ;
          your_proc(l_v1, l_v2)
    not
          your_proc(1,'hello world')

  • [b]How call reports9i from forms 9i[/b]

    Please needed help for call reports9i from forms9i,
    I have the next code:
    PROCEDURE pro_llamar_reporte IS
    REPID REPORT_OBJECT;
    VC_REP VARCHAR2(100);
    REP_STATUS VARCHAR2(20);
    begin
    repid:=FIND_REPORT_OBJECT('REPORT224');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    -- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
    vc_rep:=RUN_REPORT_OBJECT(repid);
    MESSAGE(vc_rep);
    MESSAGE(vc_rep);
    -- rep_status:=REPORT_OBJECT_STATUS(vc_rep);--
    -- WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
    -- LOOP
    -- rep_status:=REPORT_OBJECT_STATUS(vc_rep);
    -- END LOOP;
    -- IF rep_status='FINISHED' THEN
    --WEB.SHOW_DOCUMENT('http://proyecto5de5:8888/reports/rwservlet/getjobid'||substr(vc_rep,instr(vc_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    WEB.SHOW_DOCUMENT('http://192.168.0.24:8888/reports/rwservlet?report=MODULE1&destype=cache&userid=scott/tiger@des9i&desformat=html&server=repserver90');
    -- ELSE
    -- MESSAGE('ERROR AL EJECUTAR EL REPORTE');
    -- MESSAGE('ERROR AL EJECUTAR EL REPORTE');
    -- END IF;
    end;

    What problem are you hitting?
    Try specifying the extension of your report on the command line:
    report=MODULE1.rdf
    and see if it works.
    For more information on Report-Forms integration see:
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Regards
    Sripathy

  • Report format (htmlcss) from Form

    I can't seem to get the report to run as htmlcss from a form.
    Here is a code snipet:
    runformat := 'htmlcss';
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,runformat);
    :global.reporthandle := RUN_REPORT_OBJECT(repid);
    I have also tried RUN_PRODUCT but still get plain html.
    The report in question also has a parameter form and I can't seem to get it to display correctly.
    Client/Server works fine; running from the web doesn't
    Ideas? Thanks...

    hello,
    did you try PARAMFORM=YES .. that should bring up the parameterform.
    about the HTMLCSS problem : try UPPERCASE; just a guess. if that does not work, contact oracle support services.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Integrating Forms and Apex. (Calling Apex from Forms).

    Hi all.
    We'll soon start an upgrade of our Forms / Reports 6i Application to 11g.
    I was wondering, maybe, it would be nice to add some value for the upgrade process as a whole, using some of Apex new features like web mobile interface or maybe an integration between Forms an Apex, for example to provide users with the powerful features of Interactive Reports, just to name one.
    I have found this interesting link: http://roelhartman.blogspot.com/2008/11/integrate-oracle-forms-with-apex.html. (not a 100% clear for me, but at least it is a start).
    Obviously, to make it attractive, one would expect automatic login between the two Apps. As far as i know, this could be done like this:
    1) Using SSO. With that a Portal / Forms / Reports/ Discoverer/ version would be mandatory (too expensive for some clients).
    2) Oracle Access Manager? Not sure, can Oracle Forms connect to Access Manager? or LDAP? How about the licensing costs?. Not a clue.
    3) Make all Apex pages public? Not feasible.
    4) Now this one: in our forms application, every user authenticates within the application and we internally map that application user to an actual database user. At all times we hold metadata info about the current user (app, and DB), as well as application context. So this is my question:
    It is possible to create an Apex app, with database authentication method, and somehow pass the metadata from forms, and have a kind of custom login procedure that does all the application to DB user conversion process and application context setting????
    This is a very important question for us, although not sure where to really post it...
    Feedback will be greatly appreciated .....!
    Regards,Luis ....:)=

    I did something like that once. What you can do is set some random session id after logging in in Forms. Pass this session id to Apex every time and let Apex check if it is a valid session id.
    More information here:
    http://sqlcur.blogspot.com/2009/04/forms-apex-integration-2.html
    In that example I create a new session id on every call to an Apex page from Forms, but you can use the same session id as long as the user is logged in in Forms.
    Ino

  • Report failed running from form

    Hi,
    I am new to Oracle reports.
    I am calling a report from a form when a button is pressed The code is like this:
    f_alert.display_error_message ('0',v_parameters);
    run_report(p_report_filename => '''my_report''',p_show_debug_msg =>'yes',p_params => v_parameters);
    From the debuging alert message, I can see the v_parameters value. Using the same parameters I run the report from report bulider, and the report is working. I am wondering why the report cannot be openned from the form. At the status bar of my application, a message shows "Report failed, status is: ", could anyone tell me how to debug this? I am working on an existing application, so I will assume all the configuration is ok.
    Thanks!

    I am using Oracle reports builder 9.0.2
    Edited by: user13332131 on Jul 10, 2010 1:25 AM

Maybe you are looking for