Report1

hi experts,
can anybody explain me about interactive report which lists the billing document number,currency,salesorganization,billdate,company,billitemno,materialno,netvalue.

hi experts,
can anybody explain me about interactive report which lists the billing document number,currency,salesorganization,billdate,company,billitemno,materialno,netvalue.

Similar Messages

  • Linux - Oracle - Crystal Report Server XI : Error in File Report1: Failed to load database information.

    I am using Crystal Reports Server XI on Linux Server with Oracle Server 10g.
    I did install Oracle Client on Report Server and config Oracle SID in tnsnames.ora also. It works well with tnsping command. Then, I published a report which was created in Crystal Reports developer on this server.
    When I preview the report on Report Server. I got the following error message:
    Error in File Report1: Failed to load database information.
    Try to fix the problem I ran web Central Management Console -> Objects ->Report1->Process -> Database and set there the following parameters:
    Database driver: Oracle
    Server: servers_host_name
    Database: (tried both ORACLE_SID and tns_name)
    User: oracle_user_name
    Password: oracle_pw
    It still got the same problem.
    I will appreciate any help.
    Tham.

    I was having a similar problem in Crystal Reports Server 2008 v1, and had to install the full client to resolve it, which I didn't like.  I poked around some, and was able to get the Instant Client working with a few minor changes.  Note that I tried it only with the 32-bit Instant Client even though I was on a 64-bit system because that was what SAP recommended when I talked to them.
    The changes I had to do was initialize the Oracle environment variables (the instant client doesn't have a script to do this for you) and to create a soft-link which is included in the full client, but not in the instant client.
    To setup the environment variables I created a file called env.sh and put it in /opt/crystal/bobje/setup/oracle/, where /opt/crystal was my install path.  This ensured that it got called by the /opt/crystal/bobje/setup/env.sh script which runs as part of the System init scripts to initialize the environment.  The following is what I put in my file (again for the 32-bit 11g R2 instant client):
         export ORACLE_SID=summitdb
         export ORACLE_HOME='/usr/lib/oracle/11.2/client'
         export ORACLE_BASE='/usr/lib/oracle/'
         export TNS_ADMIN='/usr/lib/oracle/11.2/client/network/admin'
         export PATH="$:/usr/lib/oracle/11.2/client/bin"
         export LD_LIBRARY_PATH="$$/usr/lib/oracle/11.2/client/lib"
    After that, I created the missing soft link using this command:
         ln -s "$/lib/libclntsh.so.11.1" "$/lib/libclntsh.so.10.1"
    Once I had done those two things, and restarted the service using the /etc/init.d script, it worked fine.

  • Navigation issue in OBIEE 11g from report1 to report2

    Hi All,
    I am in OBIEE 11.1.1.6.2, I have a two reports report1 and report 2
    report 1 is like this (i.e it contains fields from Emp1 dim table and fact table)
    Emp1.EmpCode| Emp1.Empname| fact.Revenue
    1|David|100
    2|Jim|200
    3|Terry|500
    report 2 is like this (ie it contains fields from Emp2 dim table, Sales dim table and fact table)
    Emp2.Empname|Sales.Salesnumber|fact.revenue
    David|222|25
    David|333|75
    Jim|888|150
    Jim|999|50
    Terry|666|400
    Terry|666|100
    This is the issue,
    I need to have a navigation on the revenue column of report1, so that it passes the value of Emp1.Empname to report2 (on other dashboard page) and displays me the report for that employee only. So for eg, if i click on '100' in report 1, it should pass the value of David to report2 and show me rows corresponding to David only. The issue is my Emp1 table and Emp2 table are two different tables, they just have Empname field in common. If it would have been same table in both the reports, I would have done Empname column "is prompted" in report2.
    But How can I do that in this case? is there any way to take the value is some kind of variable and apply it to report2.
    Any help would be greatly appreciated.
    Thanks,
    Ronny

    Thanks Veeravalli,
    But in mater detail view too, If I make Emp1.empname column as master, I will have to include the same column in the detail view too so as to limit the detail report on the basis of empname.
    But in my case, I have Emp2.empname ( a different table) in my report2 which I want to limit on the basis on Emp1.empname column. Can I create a master detail report in which master column in Emp1.empname and detail column ( which is listening) is Emp2.empname?
    I hope you got my point.
    Thanks,
    Ronny

  • How to call one report2 from report1 using report1 selection screen

    hi experts,
    iam presently working in report1.
    now, from my report1, i want to call report2 with report1 selection screen.
    how to call?
    thanks in advance.

    Below is an sample example, from where i am calling transaction MB5B (Report-RM07MLBD).
    Here i am using selection screen data from report ZTEST and passing it to RM07MLBD.
    REPORT  ZTEST
    DATA : listtab LIKE abaplist OCCURS 1.
    DATA : listtab_tmp LIKE abaplist OCCURS 1.
    DATA : N TYPE n.
    *DATA mseg_wa TYPE mseg.
    *SELECT-OPTIONS s_matnr for mseg_wa-matnr.
    *SELECT-OPTIONS S_WERKS for Mseg_wa-WERKS.
    PARAMETERS : S_MATNR LIKE MSEG-MATNR,
                 S_WERKS LIKE MSEG-WERKS,
                 S_CHARG LIKE MSEG-CHARG.
    DATA MKPF_WA TYPE MKPF.
    SELECT-OPTIONS S_BUDAT FOR MKPF_WA-BUDAT.
    REFRESH listtab.
    CALL FUNCTION 'LIST_FREE_MEMORY'
    TABLES
    listobject = listtab.
    SUBMIT RM07DOCS using SELECTION-SCREEN '1000'
    WITH matnr = S_MATNR
    WITH werks = S_WERKS
    WITH charg = S_CHARG
    WITH budat-low = S_BUDAT-low
    WITH budat-high = S_BUDAT-high EXPORTING LIST TO MEMORY AND RETURN .
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listtab
    EXCEPTIONS
    not_found = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DESCRIBE TABLE listtab LINES n .
    CALL FUNCTION 'WRITE_LIST'
    EXPORTING
    write_only = 'X'
    TABLES
    listobject = listtab
    EXCEPTIONS
    empty_list = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Set results of Report1 as filters/prompts for Query3

    Hi everybody.
    Unfortunately I tried to find a solution to my problem in this forum, but I couldn't find anything similar. Therefore I'd like to post the problem as a new thread.
    Here it is:
    I have a Query1, which leads to a Report1, that contains lets say 15 entries, in my case passenger cars. Each of those passenger cars has 5 different attributes, like manufactuerer code, mileage, age, listprice and damages. Mileage, age, listprice and damages are being rounded to 1000-Euros.
    I have another Query2, that contains a Report2 with sold vehicles, around 5.000 entries. All of those entries also have the same attributes, as seen in Report1.
    Now I'd like to create a Query3, that takes the results of Report1 as filters/prompts. Report3 should basiclally show Report1, but with additional averages of sales prices, may be even for different sales channels (cross-tab?!).
    I've editing rights to our WebIntelligence client, so I can create WebI queries. I have neither access to the BO universe, nor am I an administrator for this universe.
    Can anyone help? THX
    Sven

    The only way I can think of to achieve it is by using a subquery in Query3.
    Let's say this is your Query1:
    Objects:
    class1_dimension_car, class1_damages
    Filters:
        class1_my_date equal to 'Prompt insert a date'
    and
        class1_my_company equal to 'Prompt insert a company id'
    Then your Query3 should be like this:
    Objects:
    class2_dimension_car, class2_averages
    Filters:
        my_date equal to 'Prompt insert a date'
    and
        my_company equal to 'Prompt insert a company id'
    and
       class2_dimension_car  in (  --this is a subquery, it is inserted with subquery button)
                            (  class1_dimension_car
                                    class1_my_date equal to 'Prompt insert a date'
                                 and
                                    class1_my_company equal to 'Prompt insert a company id'
    Note that this subquery is almost equal to Query1

  • Pass values from report1 to report2 but without displaying the web element

    Need to pass a string value from report1 to report2.This can be done by using web elements. But in that case the web element is showing up when we run report1.So what is the way to avoid display of web element but still pass the value to report 2.
    Thanks

    if you have no need for webelements controls on a report and just need a simple hyperlink, use opendocument syntax in conjunction with an object's hyperlink properties in the formatting editor.
    see your online help for more info on opedocument.

  • There is a webi report "Report1" and "Report2" by mistake "Report2" is been saved as "Report1" . Now is there any option to get back original report "Report1" from server?

    Need help....

    Hi,
      Now again transport Report 1 From Dev/QA system to Prod.
    I dont think there is a possibility to get Report 1 in Prod system other than re-import from DEV/QA
    Hope this Helps,
    Sundar Kumar

  • Captilization Report1

    hi SAP Gurus,
    I am looking at Capitalization report and on this report I see only 1 Cost there in the report and field called Addition Cost in legacy. Can anyone help me what cost it can be on the capitalization report. It's the only 1 cost listed there though. What table and field name should I be using in SAP?
    On the Adjustment Reports:
    I see the Adjustment Cost and the Tax adjustment cost field name in the legacy, but ideally what field it would be in the SAP along with the Table name?
    Very important!
    Thanks in advance.

    ohhh those buggers... of course!
    Thank you

  • Printing REPORT1 to Tray1, REPORT2 to Tray2

    I am trying to automate two different reports so that
    one Reports Paper Source is TRAY1 and the Other Reports
    Paper Source is TRAY2. I have tryed using printer definition
    files with escape sequences, but they only seem to work when
    DESTYPE=file. I need DESTYPE=PRINTER to work for this.
    Any suggestions would be appreciated,
    Ken

    how about the built-in srw.set_printer_tray
    from the 6i online help :
    Description This procedure specifies the name of a valid
    printer tray and can be used to switch to different printer
    trays as your report formats.
    Syntax
    SRW.SET_PRINTER_TRAY('tray');
    Parameters
    tray     Is the name of a valid printer tray and can be used to
    switch to different printer trays as your report formats.
    Usage Notes
    n     If you use SRW.SET_PRINTER_TRAY in the Format Trigger of
    an object, the printer tray will be changed on the page where
    the object is printed. The printer tray you specify remains in
    effect until you change it in a subsequent trigger.
    regards,
    the oracle reports team --pw

  • Pls tell me some fico report1s

    hi all,
                           this is vikas . i want some fico reports.
                          pls tell me the name of fico reports.
    thanks and regards
      vikas saini

    U can find all d details regarding FI tables & their relations here....
    http://www.sapgenie.com/abap/tables_fi.htm
    You can find the details about the FI module here
    http://www.sap-img.com/sap-fi.htm
    check
    http://www.sap-img.com/sap-fi.htm
    Please refer to this link and all ur tcodes will be there
    http://www.erpgenie.com/saptech/transactions.htm
    Check this link
    http://www.erpgenie.com/saptech/transactions.htm
    Transaction SE84 may be useful.
    Choose Program Library -> Programs
    Enter the application component you need (for instance MM) and run.
    Also find the list below that helps in searching other programs, functiona modules etc..
    Programs
    TRDIRE Program attributes (from PROGRAM statement)
    VRSD Version administration: Directory table
    TRCL ABAP/4 program classes
    TDCT Dialog Modules
    Repository objects
    TADIR Catalog of R/3 Repository objects
    TBDIR For Repository Switch: delivered TADIR entries
    Function modules
    TFDIR Function modules
    TFTIT Function module short text
    Function groups
    TLIBG Person responsible for function class
    TADIR Catalog of R/3 Repository objects
    TLIBT Function Group Short Texts
    **reward points if useful***
    regards,
    n.jain

  • Report Generation for Excel does not work after using the Application Builder

    I have a VI that writes data to an Excel file using the Report Generation Toolkit. I recently compiled the VI into a single Application (EXE) using the Application Builder. My VI runs its tests properly, but no data is written to Excel. What could be the cause? I don't receive any error messages.

    Hi
    I usually build exe-files, which sometimes also have report functionality.
    Open the Application Builder and check the following things:
    1. Add the following vis: _Word Dynamic VIs.vi, _Excel Dynamic VIs.vi They should be located in the directory ..\LabVIEW X.X\vi.lib\addons\_office in the llbs _wordsub.llb and _exclsub.llb (report1.jpg)
    2. If you use an Installer, go to the Advanced Settings. There you can select some things to include in the Installer. Check if "NI Reports Support" is selected. (report2.jpg)
    These are the things I always do, if I need reports and I never had problems up to now. I made two screen-shots of these settings.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    report.zip ‏25 KB

  • How to read,dispaly and open pdf files

    Hi, I am very new to Java butI have VB6.0 background. My current requirement is to read pdf file names from a directory, then
    show them on a form in a list (with their path in background pointing to the actual pdf files) and then once a user clicks any
    file name, open that file on the form.
    For example:
    My pdf files are in a directory as following:
    C:\myreports\user1\
    report1.pdf
    report2.pdf
    report3.pdf
    C:\myreports\user2\
    report1.pdf
    report5.pdf
    The output on the form should look like this if user1 has logged in the system. Side note: I am able to get userid of the logged in person in a variable.
    My Reports:
    . Report 1
    . Report 2
    . Report 3
    When a user clicks Report 1, it opens on the same form in pdf format.
    Thanks
    S.yhong

    For the first part (Listing thepdf files in the directory) you can use the java.lang.File class.
    File f = new File("path to your directory");
    File files[] = f.listFiles();
    then process the files array to find the files with extenction pdf
    You can also use a file filter object and make the listFiles method return only the pdf files.
    Please read the documentation about the File class for more info about it.
    */ For the displaying the pdf part is it good enough if you load the accrobat reader and with it. In that case you can do that using the Runtime.exec
    Also you can search for free java based pdf viewers I am sure there must be meny.
    And also the JTextPane might support pdf but I am not sure about it.
    EDIT:
    Just to say that this is my 1000th post :)
    Message was edited by:
    LRMK

  • Can you open a report in Excel/Word desktop instead of the web pugin?

    using run_report_object( and web.show_document,
    how or can you get a report to open in the desktop/full version of MS Excel/Word instead of the web plugin versions?
    I can get the browser to open a report in pdf with my desktop adobe reader, but not with an rtf or xml/delimited desformat.
    Currently I don't pass a mimetype when opening as a pdf, but I do pass one in the url when i am destypes of xml, delimited and rtf,
    as this is the only way i have found out how to open the reports in word/excel.
    I'm in the process of upgrading from forms 6 client/server to 10g developer suite, so this is my try with a web based system.
    Does anyone have any suggestions, or where I should look.
    Below I listed my code from a procedure.
    the first part of the procedure is alot of converting, but if you skip down to the part between the 2 sets of double lines this fairly standard.
    PACKAGE BODY pmc_lib IS
    -- Procedure to run the report.
    procedure run_reports(v_report_name in varchar2, -- Report Name with or w/o a path.
    v_commode in number default synchronous, -- commode
    v_execmode in number default runtime, -- execute mode
    v_file_sys in number default filesystem, -- dummy
    v_param_list in paramlist, -- parameter list
    v_show_modes in varchar2 default null) is -- used for testing,
    -- if set to anthing but null, the report properties will display
    -- on the screen through an alert prior to printing.
    v_errorcode number;
    v_errortext varchar2(600);
    v_initialized boolean := false;
    v_prop_reportserver varchar2(200);
    v_report_path varchar2(200);
    v_user varchar2(100);
    v_user_sessionid number;
    v_forms_version varchar2(100);
    v_default_report_server varchar2(200);
    v_default_server_domain_path varchar2(200);
    v_connect_string varchar2(3) := get_application_property(connect_string);
    v_user_name varchar2(35) := get_application_property(username);
    report_id report_object;
    reportserverjob varchar2(100);
    v_jobid varchar2(100);
    rep_status varchar2(100);
    v_url varchar2(500);
    v_url2 varchar2(500);
    v_parameter_value varchar2(100);
    v_destype_param_value varchar2(100) := null;
    v_desformat_param_value varchar2(100) := null;
    v_desname_param_value varchar2(100) := null;
    v_value_n number := 0;
    v_param_type number := text_parameter;
    v_prop_execmode number;
    v_prop_commode number;
    v_prop_destype number;
    v_prop_filename varchar2(200);
    v_prop_source_block varchar2(200) := null;
    v_prop_query_name varchar2(200) := null;
    v_prop_desname varchar2(200) := null;
    v_prop_desformat varchar2(200) := null;
    v_prop_reportserver varchar2(200) := null;
    v_prop_other varchar2(200) := null;
    v_mimetype varchar2(200) := null;
    v_selected_mimetype varchar2(200) := null;
    report_not_generated exception;
    report_id_not_found exception;
    BEGIN
    v_forms_version := get_application_property(version);
    v_prop_reportserver := get_report_object_property('report1', report_server);
    v_report_path := null;
    v_user := v_user_name || '/' ||
    get_application_property(password) || '@' ||
    v_connect_string;
    if v_connect_string = 'NNN' then
    v_default_server_domain_path := 'pmcoracapp01.aapmc.com/reports/rwservlet';
    v_default_report_server := 'rep_pmcoracapp01_frhome1';
    else
    v_default_server_domain_path := 'oradevsrv.aapmc.com/reports/rwservlet';
    v_default_report_server := 'rep_oradevsrv_frhome1';
    end if;
    v_initialized := true;
    -- Check to see what version of forms is running.
    if substr(v_forms_version, 1, 1) <> '6' then
    -- Check to see if WEB version is running
    -- This may be an unnecessary check.
    if (get_application_property(user_interface) = 'WEB') then
    report_id := find_report_object('report1');
    -- id_null won't work on a report_id in Version 6, may put back in 10g once version 6 is gone completly
    -- if id_null(report_id) then
    -- raise report_id_not_found;
    -- end if;
    -- Because of Convertions from old system the following are needed.
    -- 1) If 'execmode' is runtime, then change it to batch.
    if v_execmode = runtime then
         v_prop_execmode := batch;
    else
         v_prop_execmode := v_execmode;
    end if;
    -- 2) If Report name has an attached path, then remove it.
    v_value_n := instr(lower(v_report_name), 'k:\pmc\new\');
    if v_value_n = 0 then
         v_prop_filename := v_report_name;
    else
         v_prop_filename := substr(v_report_name, v_value_n + 11);
    end if;
    -- From looking at the FORMS, 'destype' parameter is always passed in from the FORM.
    -- It is either 'preview' or 'file'.
    -- This is here for the converstion from Forms 6 to 10g.
    -- If for some reason destype has not been passed in as a parameter, you will get a FORM error,
    -- saying the parameter does not exists.
    begin
    -- 3) If 'destype' is one of the following, then change it to cache.
    get_parameter_attr(v_param_list, 'destype', v_param_type, v_destype_param_value);
    if lower(nvl(v_destype_param_value, 'null')) in ('preview', 'file', 'null') then
    v_prop_destype := cache;
    -- 3a) If 'destype' was = 'file' then check the 'desformat' and 'desname'.
    if lower(nvl(v_destype_param_value, 'null')) = 'file' then
    -- 3b) Get 'desformat' value
    get_parameter_attr(v_param_list, 'desformat', v_param_type, v_desformat_param_value);
    -- 'delimited' was not working, so change all 'delimited' to 'delimiteddata'.
    if lower(nvl(v_desformat_param_value, 'null')) = 'delimited' then
         v_desformat_param_value := 'delimiteddata';
    end if;
    -- 3c) If 'desformat' is NOT one of the following, then change it to pdf.
    if lower(nvl(v_desformat_param_value, 'null')) not in ('pdf', 'xml', 'rtf', 'delimiteddata') then
    v_prop_desformat := 'pdf';
    else
    v_prop_desformat := lower(v_desformat_param_value);
    end if;
    -- 4) Get 'desname' property.
    get_parameter_attr(v_param_list, 'desname', v_param_type, v_desname_param_value);
    v_prop_desname := lower(v_desname_param_value);
    end if;
    else
    v_prop_destype := lower(v_destype_param_value);
    end if;
    exception
    when others then
    null;
    end;
    -- If a desformat is rtf, xml, or delimited then get a mimetype to pass to the url
    if lower(v_prop_desformat) = 'rtf' then
    v_mimetype := '&mimetype=application/msword';
    elsif lower(v_prop_desformat) = 'xml' then
    v_mimetype := '&mimetype=application/vnd.ms-excel';
    elsif lower(v_prop_desformat) = 'delimiteddata' then
    v_mimetype := '&mimetype=application/vnd.ms-excel';
    end if;
    -- 6) If the Following are not set within the Report Object then
    -- set them to the following defaults.
    -- These are al required to be set for the Report Object to Function.
    -- These are the defaults for AAPMC.
    v_prop_execmode := nvl(v_prop_execmode, batch);
    v_prop_commode := nvl(v_prop_commode, synchronous);
    v_prop_destype := nvl(v_prop_destype, cache);
    v_prop_desformat := nvl(v_prop_desformat, 'pdf');
    v_prop_reportserver := nvl(v_prop_reportserver, v_default_report_server);
    -- Set All Report_Object Properties
    set_report_object_property(report_id, report_execution_mode, v_prop_execmode);
    set_report_object_property(report_id, report_comm_mode, v_commode);
    set_report_object_property(report_id, report_destype, v_prop_destype);
    set_report_object_property(report_id, report_filename, v_prop_filename);
    set_report_object_property(report_id, report_source_block, v_prop_source_block);
    set_report_object_property(report_id, report_query_name, v_prop_query_name);
    set_report_object_property(report_id, report_desname, v_prop_desname);
    set_report_object_property(report_id, report_desformat, v_prop_desformat);
    set_report_object_property(report_id, report_server, v_prop_reportserver);
    set_report_object_property(report_id, report_other, v_prop_other);
    -- Run Report_Object
    reportserverjob := run_report_object(report_id, v_param_list);
    v_jobid := substr(reportserverjob, length(v_prop_reportserver) + 2, length(reportserverjob));
    -- If Report Status is not 'FINISHED', then loop till it is.
    if reportserverjob is not null then
    rep_status := report_object_status(reportserverjob);
    while rep_status in ('RUNNING', 'OPENING_REPORT', 'ENQUEUED') loop
    rep_status := report_object_status(reportserverjob);
    end loop;
    if rep_status <> 'FINISHED' then
    raise report_not_generated;
    end if;
    -- Create 1st part of url.
    v_url := 'http://' || v_default_server_domain_path || '/getjobid' || v_jobid || '?server=' || v_prop_reportserver;
    -- Check for mimetype.
    if v_mimetype is not null then
    v_url := v_url || v_mimetype;
    end if;
    -- Final part of url.
    v_url2 := 'javascript:window.open("' || v_url || '", "", "fullscreen=no, titlebar=no, location=no, toolbar=no, menubar=no, status=no, resizable=yes"); self.close()';
    -- This is the built-in that calls a new browser window
    web.show_document(v_url2,'_blank');
    else
    raise report_not_generated;
    end if;
    end if;
    -- Destroy the parameter list.
    destroy_parameter_list(v_param_list);
    else
    -- This section if for Client Server, Version 6 of forms.
    -- It will do the same as before the conversion.
    -- It is only used before the complete conversion.
    if v_report_name is null then
    return;
    end if;
    v_value_n := instr(v_report_name, 'k:\pmc\new\');
    if v_value_n = 0 then
         v_prop_filename := 'k:\pmc\new\' || v_report_name;
    else
    v_prop_filename := v_report_name;
    end if;
    run_product(reports,
    v_prop_filename,
    v_commode,
    v_execmode,
    filesystem,
    v_param_list,
    null);
    end if;      
    -- create history record of the report being run
    insert into pmc_report_history values(
    s_pmc_report_history.nextval,
    v_prop_filename,
    v_user_name,
    sysdate,
    v_forms_version,
    v_jobid,
    v_destype_param_value,
    v_desformat_param_value,
    v_desname_param_value,
    v_prop_destype,
    v_prop_desformat,
    v_prop_desname,
    v_mimetype,
    v_window_open_params);
    commit;
    exception
    when report_id_not_found then
    show_user_alert('ERROR: Cannot Find Report Object!', null);
    when report_not_generated then
    show_user_alert('ERROR: Report Not Generated!', null);
    when others then
    v_errorcode := SQLCODE;
    v_errortext := SQLERRM;
    show_user_alert('ERROR : ' || v_errorcode || ' = ' || v_errortext, null);
    end;
    end;

    What you could try is downloading the report to the client pc using WEBUTIL_FILETRANSFER.URL_TO_CLIENT, then open the locally save file using something like:
    CLIENT_HOST('cmd /c rundll32.exe url.dll,FileProtocolHandler "localfilename"');

  • Error while Saving the report

    Hi,
    i have created some reports which are working fine,
    but now i am facing some errors while saving the files.
    Also the reports does show only one record while there are many records in the database.
    The error messages are as follows:
    REP-1051; Unable to save document to file ' F:\Database\Reports\report1.rdf '.
    REP-1070: Error while opening or saving a document.
    Please help me to find out the exact problem.
    Also tell me how can i show all the pages of Database records in a report( while one record on each page)

    As for the error while saving, you have only one possible thing to try. It it doesn't work, you're sunk.
    Assuming the report was not being newly created, i.e. that it was opened from a file on your system, then rename that file to something else (Report_001_OLD.rdf, for example). Then try to save it - Reports will think it is a new file to be saved rather than an existing file to be updated.
    Again, if that doesn't work, and if you do not have the auto-save option turned on, then you're sunk. You will have just lost all of the work you've put into that report.
    As you'll discover, Reports is not the most robust application ever written.

  • Viewing Crystal 2008 ActiveX  on Access 2007 forms

    Ok, i am a little confused as there seems to be a some doubt whether Crystal 2008 ActiveX can be used on Access forms. Another thread even has a reply that mentions that the ActiveX control is no longer included in Crystal Reports 2008..... Take a look at this, you can clearly see i have embedded the 2008 ActiveX control onto an Access form. link:[http://www.moktar.pwp.blueyonder.co.uk/AX.JPG]
    I have just installed 2008 and will get round to looking at this, however in my brief look, i couldnt see the run time library for 2008. By all accounts you can freely distribute the run time files for Crystal Reports 2008 as MSI or exe packages to your clients. I hope this is the case and i can get the ActiveX working.
    If anyone has some information on this subject i will welcome reading it.
    This is how its used to be done;
    1) Open the Access form in design view.
    2) Click on Add Tool button on the toolbar.
    3) Select Crystal Reports ActiveX toolbar control from the list of controls.
    4) Place the control on the form.
    5) Click on the View Code toolbar button to open the code for the form
    6) Choose u2018Referencesu2019 from the u2018Toolsu2019 menu
    7) Select u2018Crystal Reports ActiveX Design and Runtime Library 11.Xu2019 from the list of references and add to the project.
    8) On the Form_Load() event, please use the code given below to pass the report to the viewer:
    Dim crReport as CRAXDRT.Report
    Dim crApplication as New CRAXDRT.Application
    u2018 Use the appropriate path for the report
    Set crReport = crApplication.OpenReport(u201CC:\Report1.rptu201D)
    u2018 ReportSource property and ViewReport method will not be displayed on the viewer control
    CrystalActiveXReportViewer0.ReportSource = crReport
    CrystalActiveXReportViewer0.ViewReport
    'Hey Presto, the Crystal control on the Access form is now displaying a report. However, you had the age old issue of distributing the runtime files to clients that dont have crystal reports installed, and even more so of an issue, as this is Access and no method of doing it. I was hoping that 2008 with its MSI and EXE versions of the runtime files would solve this age old problem.
    Thanks
    Simon.

    Hello Simon,
    The RDC was retired after Crystal Reports XI R2 and no longer exists in CR 2008.
    The viewer control you are seeing is not meant for RDC applications.
    You will need to move to Java or .NET if you plan on using CR 2008.
    Best Regards,
    Jason

Maybe you are looking for