Calling report from forms :- need to disable file menu in report previewer

Hi all,
I am using report 6i and forms 6i
I am invoking report from forms
if report_status='N' then I want to disable the file menu in report previewer
Is it possible to disable and enable file menu in report previewer
Please help
Thanks
:8}

i got way

Similar Messages

  • Invalid Id when i run reports from forms

    When i try to run my reports from forms, i get FRM-41219 Cant Find Report: Invalid ID.
    I am using 8I and Developer 6.0.
    The RDF files are saved on my hard disk.
    Any help is appreciated
    Thanks
    Fadi

    Hello fadi,
    if you are still getting the problem, even when every thing is fine, just do this one, you replace with full absolute path in the place of report name when passing arguments to the run_product, i have the same problem initially but now its working hope this works, if still your problem exists, just try to build new report with default settings, it might be vauge, just try out some things work out in this way only.
    have a nice day.
    murali
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Fadi Anani ([email protected]):
    Candace,
    I am running my reports in a Client server environment. I tried both RUN_REPORT_OBJECT and RUN_PRODUCT and I am getting the same error in each method.
    And Yes, My reports run fine when I run it directly.
    Thanks
    Fadi<HR></BLOCKQUOTE>
    null

  • OAS in Unix: URL not found when run report from Form???? please help

    Hi,
    We have succesfully install OAS with Form Server and Report Server in
    Unix. We able to run Form and Report direct from browser. But we having
    problem to run Report from direct Form within the browser. The message from
    the browser was 'The requested URL was not found'. We use run_product to run
    report from form. Below is the statement:-
    Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    NULL);
    Does anyone have an idea??
    Thanks in advance.
    null

    please check env. variables
    1. FORMS60_MAPPING
    2. FORMS60_OUTOUT
    FORMS60_MAPPING should point to vartual directory on your forms webserver
    FORMS60_OUTPUT should point to physical
    directory path of vartual directory
    FORMS60_MAPPING
    regards
    Darshan
    [email protected]
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by leong([email protected]):
    Hi,
    We have succesfully install OAS with Form Server and Report Server in
    Unix. We able to run Form and Report direct from browser. But we having
    problem to run Report from direct Form within the browser. The message from
    the browser was 'The requested URL was not found'. We use run_product to run
    report from form. Below is the statement:-
    Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
    NULL);
    Does anyone have an idea??
    Thanks in advance.
    <HR></BLOCKQUOTE>
    null

  • Unable to run report from forms developer.

    hi....
    i m not very much in developer 9i.from last 2 month i m doing developer 9i.I m desiging and running
    report from report builder.but i m not able to run that report from forms developer.Can anyone help to solve my problem?is there any particular extension i have to follow or any configuration(Application server) i have to made change?What code i have to write to run a report from forms?

    Hi frank...
    Thanx for ur reply...
    Actually what i did,i created a report and save that report with .rdf extension.I set reports_path(In Registry) property to the particular folder where i put all of my reports.In forms developer i add the report as report object from that folder.i set the following few lines in a button click event
    --=============================================
    declare
    rep_id report_object;
    v_rep varchar2(30);
    begin
    rep_id :=find_report_object('report4');
    v_rep :=run_report_object(rep_id);
    end;
    --=============================================
    when i click the button it is showing a error "You didnot specify the report name".This is all about from me what i did to run a report from forms.So should i do to run report?

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Calling report from FORM - error Invalid value of paramente 'P_YEAR'

    Hi guys,
    Could you please help me to figure out what is going wrong
    with my form which run a report?
    I am using Developer suite 10g.
    when i run report from report application it run fine,
    but when i call that report from a form it gives me error.
    I have checked the datatype, checked the parameter value
    that I assign from form is available in the report parameter value.
    What else do i have to check in order to run this report
    from the form.
    Error Message from Report Queue Manager:
    Invalid value for parameter 'P_YEAR'.
    Your insight will be appreciated.

    Thank you for reply Denis,
    Here is the code which run_report from form.
    DECLARE
    -- variables for running individual reports
    report_filename               VARCHAR2(40);
    var_reportpath               VARCHAR2(100);
    report_otherparms      VARCHAR2(200);
    -- variables to keep track of successful reports in silent mode
    rep_status                         VARCHAR2(40);
    rep_req                                   NUMBER := 0;
    rep_count                              NUMBER := 0;
    dummy                                        NUMBER;
    -- variables to load the report names and checkboxes into the parameter list
    pl_id                                        PARAMLIST;
    plname                                   VARCHAR2(20) := 'rpt_list';
    -- variables to loop through the parameter list and run the reports
    i                                                  NUMBER;
    split_loc                              NUMBER;
         param_value                         VARCHAR2(40);
         checkbox_name                    VARCHAR2(40);
         report_basename               VARCHAR2(40);
         svc_name                              VARCHAR2(4);
         run_report                         BOOLEAN;
         disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    BEGIN
    -- Are any reports selected?
    IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
    if not CHECKBOX_CHECKED('print_null_report') then
    disp_exist := TRUE;
    orth_exist := TRUE;
    hosp_exist := TRUE;
    end if;
    -- Create Report Parameter Listing
    pl_id := GET_PARAMETER_LIST(plname);
    if NOT ID_NULL(pl_id) then
         DESTROY_PARAMETER_LIST(pl_id);
    end if;
    pl_id := CREATE_PARAMETER_LIST(plname);
    if ID_NULL(pl_id) then
         GENERIC_ALERT('Error creating report listing');
         RAISE Form_Trigger_Failure;
    end if;
    ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
    ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
    ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
    ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
    ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
    ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
    ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
    ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
    ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
    ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
    ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
    ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
    ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
    ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
    ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
    ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
    ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
    ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
    ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
    ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
    ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
    ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
    ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
    ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
    ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
    ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
    ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
    --- set up other parameters to send to generate_report
    if :reports_control.output_choices = 'FILE' then
    var_reportpath := :global.report_directory || :reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
    end if;
    var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
    else
         var_reportpath := '';
    end if;
    report_otherparms := 'p_year='||:reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         report_otherparms := report_otherparms || '     p_quarter='||:reports_control.quarter_list;
    end if;
    report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
    --- Check if reports are checked and submit to Reports Server
         for i in 1..35 loop
              GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
              split_loc := instr(param_value,'!');
              checkbox_name := substr(param_value,1,split_loc-1);
              report_basename := substr(param_value,split_loc+1,length(param_value));
    if CHECKBOX_CHECKED(checkbox_name) then
         run_report := TRUE;
         svc_name := substr(report_basename,1,4);
         if svc_name = 'DISP' then
              if not disp_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'ORTH' then
              if not orth_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'HOSP' then
              if not hosp_exist then
                   run_report := FALSE;
              end if;
         end if;
         if run_report then
              report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
         GENERIC_ALERT(report_filename || ' ' || report_otherparms);
              rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
              rep_req := rep_req + 1;
              if rep_status = 'FINISHED' then
                   rep_count := rep_count + 1;
              end if;
         end if;
         end if;
         end loop;
    -- if we're in silent mode, display a completion message
         if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
              SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
         '' || rep_count || ' of ' || rep_req || ' reports created successfully');     
              dummy := SHOW_ALERT('REPORT_CREATED');
    end if;
    ELSE
    dummy := SHOW_ALERT('select_report');
    END IF;
    END;

  • Calling a report from Form 6i

    Hi,
    I want to call a report from Form 6i at run time. And I write the following code in When Buttton Press trigger . when I press the button it will gives no response.
    declare
         x report_object;
         y varchar2(100);
    begin
         x:=find_report_object('billform');
         y:=run_report_object(x);
    end;
    for more information , path of my report is: C:\REP\billform.rdf
    please send me the solution of this problem
    E_mail: [email protected]
    Shahzad

    hi,
    now i am using the following code in when button press trigger. if u give me ur e_mail address i will send u FMB and RDF files used for Scott/tiger EMP table for the sample.
    declare
    repo_Para     ParamList;
    BEGIN
    repo_Para:=Get_Parameter_List('Report_para');
    IF not Id_null(repo_Para) THEN
         destroy_parameter_list(repo_para);
    end if;
    repo_Para:=Create_Parameter_List('Report_para');
    Add_Parameter(Repo_para,'PARAMFORM',TEXT_PARAMETER,'No');
    Add_Parameter(Repo_para,'MAXIMIZE',TEXT_PARAMETER,'Yes');
         Add_Parameter(Repo_para,'BDATE',TEXT_PARAMETER,:BLOCK3.a_dptno);
         Add_Parameter(Repo_para,'EDATE',TEXT_PARAMETER,:BLOCK3.b_dptno);
         RUN_PRODUCT(REPORTS,'c:\apu\DDATE.rep', SYNCHRONOUS,
              runtime, FILESYSTEM,Repo_para,NULL);
    end;
    BDATE & EDATE are two user parameters created in report.
    when i press the button in form pass parameters the report will be called but no data will be display but when i directly run reprot from report buider and pass same values of BDATE & EDATE it will show data.
    please give me ur e mail address or help me for this problem
    best regards,
    shahzad

  • Calling Report From Form To Many Destinations

    Hi
    I am calling reports from forms using SET_REPORT_OBJECT_PROPERTY and then run_report_object.
    I dont know the destination until runtime of the report which is ok as I can pass this in via my procedure, but if that destination is many ie mail and file what is the best way to distribute the report?
    I could call my procedure for each destination but that seems a bit unefficient since the report would be created many times, is there another way?

    what about adding a drop-down-list near your report-button where you can choose the destination?
    when you click the report-button you simply read the value selected in the drop-down-list and send it to your reports-server too.

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • REP 110 & REP 0110 .calling reports from Form 10g(10.1.2.0.2)

    Hi All,
    We are migrating form from Oracle form 6i to Oracle 10g(10.1.2.0.2). I am calling reports from forms
    using Web.Show_Docment(). When we run reports in report builder 10g it works fine.
    But when we try to run reports from Forms 10g it throws error which is given below.
    We want to run reports from UNIX. After using this url to submit report we get error REP 110 and REP 0110
    URL
    http://GEM:7777/reports/rwservlet?server=rep_server&report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    ERROR
    REP-110: File '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2' not found.
    REP-0110: Unable to open file '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2'.
    I will really appreciate your help.
    Thanks
    Sandy

    Hello,
    You are mixing 2 separators in the URL : & and +
    Use only one separator in the URL :
    Example :
    http://GEM:7777/reports/rwservlet?server=rep_server+report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    Regards

  • FRM-41219 - Cannot able to call reports from form generated in Designer

    Hi
    I'm trying to call a report from form whit a button generated in Designer 10.1.2.0.2
    But I'm getting error : FRM-41219 Invalid report id
    I'm tying with a menu but I'm getting the same error.
    Please help me

    Note 1056653.6
    FRM-41219 Cannot Find Report: Invalid ID
    Problem Description:
    You are getting error: FRM-41219 Cannot Find Report: Invalid ID
    Problem Explanation:
    The code is using find_report_object and passing a report name to the function.
    The statements are as follows:
    DECLARE
    repid REPORT_OBJECT;
    BEGIN
    repid := FIND_REPORT_OBJECT('report1');
    END;
    Solution Explanation:
    The error message frm-41219 is a new error code which corresponds to the
    Oracle Developer forms/report integration.
    This message essentially means that the report cannot be found. Specifying the
    correct name of a report object found in the forms object navigator (not the
    actual name of the rdf file) usually resolves the problem.

  • How to call jsp web report from forms 9i

    Dear fellows,
    How can i call a jsp report from forms 9i.
    Thanx
    Mochoo

    Use web.show_document instead of Run_Report_Object. If the jsp contains a paper layout you can still use Run_Report_Object, but you have to specify the filename extension .jsp along with the filename.

  • CALLING A REPORT FROM FORMS (PROBLEM)

    MY PROBLEM IS THE NEXT:
    I CREATED A MASTER-DETAIL REPORT CALLING 'ASUNTOS'WITH THE NEXT QUERY:
    SELECT ABOGADOS.APELLIDO_P,ABOGADOS.APELLIDO_M,ABOGADOS.NOMBRES,
    ASUNTOS.EXP_INT,ASUNTOS.MATERIA,ASUNTOS.GERENCIA,
    ASUNTOS.EMPRESA,ASUNTOS.RECLAMA,ASUNTOS.PESOS,
    ASUNTOS.DOLARES
    FROM ABOGADOS,ASUNTOS
    WHERE ABOGADOS.FICHA = ASUNTOS.F_ABOG
    AND ASUNTOS.F_ABOG = :ABOGADO ;
    -- ABOGADO = PARAMETER.
    THIS REPORT WORKS FINE THE PROBLEM IS WHEN I TRY CALL THIS REPORT FROM FORM I'VE USE A BUTTON(WHEN_BUTTON_PRESSED) WITH THE NEXT CODE:
    DECLARE
    LISTA PARAMLIST := GET_PARAMETER_LIST('ABOG');
    BEGIN
    IF ID_NULL(LISTA) THEN
    LISTA := CREATE_PARAMETER_LIST('ABOG');
    ADD_PARAMETER(LISTA,'DESTYPE',TEXT_PARAMETER,'PRINTER');
    ADD_PARAMETER(LISTA,'DESNAME',TEXT_PARAMETER,'LPT2');
    ADD_PARAMETER(LISTA,'ABOGADO',TEXT_PARAMETER,TO_CHAR(:ASUNTOS.F_ABOG));
    -- ADD_PARAMETER(LISTA,'PARAMFORM',TEXT_PARAMETER,'YES');
    END IF;
    RUN_PRODUCT(REPORTS,'ASUNTOS',SYNCHRONOUS,RUNTIME,FILESYSTEM,LISTA,NULL);
    END;
    BUT THE REPORT NOTHING DISPLAY.
    THERE ARE SOMETHING WRONG WITH THE CODE IN THE BUTTON

    Roberto,
    Does your report work when it is not called from Forms?
    try the following:
    [TOOLS_HOME]\BIN\RWRUN60 module=ASUNTOS destype=screen userid=<username>/<password>@<tns> ABOGADO=<some_valid_code>
    where TOOLS_HOME is the directory where Reports is installed.
    I can see nothing wrong with your code.
    Maybe some error in the query?
    Also, I would check for the existence of multiple ASUNTOS report definitions. Maybe Forms is calling an older one.
    Hope this helps,
    Pedro das Neves
    ([email protected])

  • Calling a report from forms with a paramter form

    Hello,
    How do you call a report from forms and get it to display the parameter form. Where you can then call the report using this parameter form. I have been using paramform=yes. but it simply runs the form.
    I saw on a a thread ages ago that this was a sample of this available for download. Is this true?
    thanks

    Here is my code sorry about posting twice. Please note that the parameter list has been created as described.
    report_id := find_report_object('MENU_REPORT_NODE');
    Tool_Env.Getvar('ReportsServer', reports_server);
    Tool_Env.Getvar('ReportsFolder', reports_folder);
    dest_file := reports_folder || :global.username || '\' || rep_name || '.pdf';
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_FILENAME, rep_name);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, reports_server);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS); -- wait for the report to finish
    -- SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESNAME, dest_file);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_OTHER, 'paramform=yes' || ' ' || 'mode=bitmap');
    report_job := run_report_object(report_id);

  • How Call crystal report  from form

    Hi all
    i make report by crystal report but i can't call it from form , which function in form builder do that?

    Hi all
    i make report by crystal report but i can't call it from form , which function in form builder do that?

Maybe you are looking for

  • What is a System Function / Kernel Routines

    Hi All,      Can anyone let me know what is a "Sytem Function" or "Kernel Routines", Where can i check the code behind system function, Is the coding done in ABAP or C, Where can I get the list of all available system functions. Regards, Simin Raveen

  • Message: MIDI server can't be opened

    Helo all, I just got my new iMac yesterday. Today while loading Reason I keep getting the message; STOP failed to open MIDI support library. I tried to access the Audio MIDI setup and the following message appears: Audio MIDI Setup couldn't open the

  • Interactive Reports: Servlet error when saving as Excel

    Hi All Environment: Apex 3.1, Database 10g 10.1.0.5, Oracle HTTP Server: OAS 10g Release 2 (10.1.2) I'm getting the following error when trying to download an interactive report in Excel format. Servlet error: An exception occurred. The current appli

  • Driver pgm for f-58?

    Hi guys,              While printing checks i wanted to find out the driver program for the script mentioned in the field ALTERNATE FORM of trx F-58  and not the default script assigned thru configuration in FBZP trx. thanks, SB

  • How to extract TEXT for archived Purchase Orders ?

    Hi Friends, Can any one tell me how to extract TEXT for archived Purchase Orders ? I have used READ_TEXT but that is not fetching texts for archived PO's. Whenever I am trying to fetch data from STXH against archived PO, no value is coming and result