Delivery problem - naming of delivered report

Hi everyone,
I've got a problem with delivering reports via mail ... I'm using the following code
DeliveryManager dm = new DeliveryManager();
DeliveryRequest req = dm.createRequest(DeliveryManager.TYPE_SMTP_EMAIL);
req.addProperty(DeliveryPropertyDefinitions.SMTP_SUBJECT, "XMLP Report"); req.addProperty(DeliveryPropertyDefinitions.SMTP_HOST, "mySMTPHost");
req.addProperty(DeliveryPropertyDefinitions.SMTP_FROM, "[email protected]");
req.addProperty(DeliveryPropertyDefinitions.SMTP_TO_RECIPIENTS, "[email protected]");
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_TYPE, "text/plain");
req.addProperty(DeliveryPropertyDefinitions.SMTP_CONTENT_FILENAME,
"something.out");
InputStream in = new ByteArrayInputStream("Hi ... this is an e-mail".getBytes());
Attachment m = new Attachment();
m.addAttachment("reportDocument.pdf", "name.pdf", "application/pdf");
req.addProperty(DeliveryPropertyDefinitions.SMTP_ATTACHMENT,m);
req.setDocument(in);
req.submit();
Everything is working fine, except the naming of the attachment
In Thunderbird, the attached file appears as "Part 1.2.pdf", in outlook it appears as "att001.pdf" ... what happend with the file name, that I've specified: name.pdf?
Does anyone know the problem?
Thank you

I also have a similar problem, but its giving the following error: Missing Required Property Exception: SMTP_TO_RECIPIENTS, even though I've set this property

Similar Messages

  • Does Adobe ever look at these forums to try to solve problems which have been reported???

    Does Adobe ever look at these forums to try to solve problems which have been reported?  Doesn't seem like we are getting any answers, does it??

    I think the best idea is to contact the book publishers, let them know that Adobe Digital Editions is not capable of delivering their book to you, and ask in what other, more reliable formats they can provide it. 

  • Problem with running bitmap report in Oracle 6i

    Hello,
    I am running a report from a form using run_product in client/server enviroment. And I use the same code in all forms that run reports. In test enviroment, everything works normally. But in customer enviroment there is weird behaviour. Some reports need a lot of time to be executed, and when they are finally finished, report previewer is not maximized as it is in test enviroment. And more important problem is that one report doesn't execute at all. Report background engine is started but report doesn't come out at all.
    Here is code which I use to run reports:
    declare
    izvestaj      varchar2(15);
    pListName varchar2(20) := 'parList';
    dt      varchar2(6) := 'Screen';
    pList      paramlist;
    BEGIN
    izvestaj := 'EBS12';
    begin
    pList := get_parameter_list(pListName);
    if not id_null(pList) then
    destroy_parameter_list(pList);
    end if;
    pList := create_parameter_list(pListName);
    if (not id_null(pList)) then
    add_parameter(pList, 'P_PREDUZECE', text_parameter, to_char(:kontrolni.preduzece_id));
    add_parameter(pList, 'P_PRENOS', text_parameter, to_char(:prenos.id));
    add_parameter(pList, 'P_RAD', text_parameter, :prenos.chk_radnik);
    add_parameter(pList, 'P_LOK', text_parameter, :prenos.chk_lokacija);
    add_parameter(pList, 'P_ZAR', text_parameter, :prenos.chk_isplata);
    add_parameter(pList, 'P_RAS', text_parameter, :prenos.chk_raspored);
    add_parameter(pList, 'P_NAL', text_parameter, :prenos.chk_nalet);
    add_parameter(pList, 'P_BEZ_RAS', text_parameter, :prenos.bez_rasporeda);
    add_parameter(pList, 'P_STATUS', text_parameter, to_char(:prenos.status));
    add_parameter(pList, 'P_RAD_ID', text_parameter, to_char(:prenos.radnik_id));
    add_parameter(pList, 'P_SORT', text_parameter, to_char(:prenos.redosled));
    add_parameter(pList, 'PARAMFORM', text_parameter,'NO');
    add_parameter(pList,'DESTYPE',text_parameter,dt);
    run_product(reports, izvestaj, synchronous, runtime, filesystem, pList, null);
    end if;
    exception
    when others then
    set_alert_property('cfg_error',alert_message_text,'Poziv izveštaja nije uspeo! '||sqlerrm);
    if (alert_button1=show_alert('cfg_error')) then null;
    end if;
    raise form_trigger_failure;           
    end;
    END;
    Is it maybe some enviroment settings problem and if yes, what should I pay attention on?
    Tnx in advance,
    Nati

    Hello,
    When you put a block on a "new stacked canvas" that canvas is generated as a popup canvas. If that popup overlaps with some other generated items (for instance: items in master block) Forms will not show it.
    You can try showing that popup canvas programatically with Show_View('canvas_name') in When-New-Form-Instance and see what happens.
    Dalibor
    P.S. Why do you have to put detail block on a popup canvas? Why don't you simply put it on a "same content canvas"?

  • Problem on using Crystal Report Viewer on windows application ("specified type is not valid ")

    Hi
    I am having problem on using Crystal Report Viewer on one of my windows application.
    I am not sure how to put the Crystal Report Viewer 11 Control onto the tool box.
    I could found a Crystal Report Viewer control on my computer, but it is version 8.5.
    I have also found another one which is Called Crytal ActiveX Report Viewer, i don't think it is the one I can use. As when I try to load a dummy report on to the Crytal ActiveX Report Viewer, It return an error. "specified type is not valid"
    Please see the Code sample below.
    private sub loadReport()
         Dim r as New ReportDocument
         'v is the name of the Crystal ActiveX Report Viewer Control
         r.Load("C:\Report1.rtp")
         v.ReportSource(r) <---It throw error on this line.
    End Sub
    Could you give me some advice about what have I done wrong, How to check if I have set up the Crystal Report Component correctly in my Visual Studio 2005 Standard edition.
    Thanks in advances.
    Many thanks
    Chi

    VS 2005 Standard and Express editions do not come with Crystal Reports; only the Professional and higher editions will have CR bundled. However, I believe you can purchase CR XI R2 Developer and it will give you the components you need to create a VS .NET 2005 application using the Standard edition.
    -MJ

  • I am facing a problem in a crystal report which is based on Infoset query

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1
    Best Regards,
    Srinivas

    Hi,
    I would first of all suggest you don't open the same question twice. this looks like a duplicate to this entry:
    Best Practices v3.31 - SAP InfoSet Query connection
    Did you assign the queries and the infosets to an InfoSet user group and you assign the SAP account to it as well ?
    Ingo

  • I am facing a problem in a crystal report which is based on Infoset query.i

    Hi All,
    I am facing a problem in a crystal report which is based on Infoset query.in the Cost Analysis - Planned vs. Actual Order Costs
    There are two querys like Query: CO_OM_CA_20_Q1 and InfoSet: ZBPBI131_INFO_ODVR. I build infoset query based on sap best practice user guide but problem is not able to find CO_OM_CA_20_Q1

    Please re-post if this is still an issue to the Business Objects Integration Kits - SAP Forum or purchase a case and have a dedicated support engineer work with you directly

  • Problem with output from  report to excel, calling the report from form 10g

    Hi everyone, I'm having a problem generating a excel from a report, which is called from a form, I'm using Forms 10g. The problem is this: My report has a variable number of columns. These columns appear according to data obtained from the database, these columns are dates, In vesion 6 excel file generated shows the columns one after another starting in column A1 to column CP. I mean that the dates are correlative. But in version 10g the excel file generated shows the same report starting in column A to column T, only shows the 20 dates correlative corresponding to this columns, the rest of the dates are down the excel sheet in groups of 20 dates, it's something, the file in 6i grows across and in 10g grows down the excel sheet. The report (rdf file) is the same in 6i and 10g, I compiled the 6i version to obtain the 10g version. The excel sheet generated in 10g looks like the report was in pdf format, because PDF format, cuts the report in pages and the file grows down, if I generate the report in PDF format it has the same structure excel file in 10g has. I hope yo can help because I have days trying to solve this but I have no succes. If someone could help I could email the excel files generated in two versions. Here I put the code I use to generate the files in 6i and 10g. I have tried with DESFORMAT=SPREADSHEET in 10g but the result is the same. Thanks for your help. Greetings for all.
    Code for version 6i (Works Very well)
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
    cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
         BEGIN
    nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
              BEGIN
              nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
         BEGIN
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';      
              END;
    ELSE
              BEGIN
                        nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');
    END;
    Code for version 10g
    PROCEDURE GUARDAREXCEL IS
    pl_id ParamList;
    nom_rep varchar2(20);
    cla_rep varchar2(20);
    cod_dis varchar2(4);
    nom_arch varchar2(100);
    fec date;
    --byt12122007.sn
    repid REPORT_OBJECT;
         vURL VARCHAR2(500);
         rep_status VARCHAR2(20);
         vJobID VARCHAR2(100);
         v_rep VARCHAR2(100);
    VAR NUMBER;
    w_name_repserv VARCHAR2(30);
    --byt1212007.en
    BEGIN
         --w_name_repserv:=F_OBTIENE_SERVREP;
    w_name_repserv:='repserv';     
    pl_id := Get_Parameter_List('mytmp_params');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('mytmp_params');
    IF :BK_PARAMETROS.LI_COD_DIS IS NOT NULL THEN
         cod_dis := :BK_PARAMETROS.LI_COD_DIS;
    END IF;
    IF :BK_PARAMETROS.TI_COD_CLI IS NOT NULL THEN
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,:BK_PARAMETROS.TI_COD_CLI||'%');
    ELSE
    Add_Parameter(pl_id,'P_COD_CLI',TEXT_PARAMETER,'%');
    :BK_PARAMETROS.TI_COD_CLI:='%';
    END IF;
    IF :BK_PARAMETROS.CLAS_REP=1 THEN
    cla_rep := '001';
    ELSE
         IF :BK_PARAMETROS.CLAS_REP=2 THEN
              cla_rep := '002';
         ELSE
              IF :BK_PARAMETROS.CLAS_REP=3 THEN
              cla_rep := '003';
         ELSE
              cla_rep := '004';
         END IF;
         END IF;
    END IF;
    Add_Parameter(pl_id,'P_COD_DIS',TEXT_PARAMETER, cod_dis);
    Add_Parameter(pl_id,'P_FECHA',TEXT_PARAMETER,to_char(:BK_PARAMETROS.FECFIN, 'DD/MM/YYYY'));
    Add_Parameter(pl_id,'P_CLASE',TEXT_PARAMETER, cla_rep);
    Add_Parameter(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    /*Add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER,'File');
    Add_Parameter(pl_id,'MODE',TEXT_PARAMETER,'Character');
    Add_Parameter(pl_id,'DESFORMAT',TEXT_PARAMETER,'DELIMITED' );*/
    select sysdate into fec from dual;
    IF :BK_PARAMETROS.TIPO_REP=1 THEN
    BEGIN
         repid := find_report_object('tdvenrli1577');
    --nom_rep := 'tdvenrli1577.rep';
    nom_arch := 'c:\windows\temp\RepCobranzaPlanos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1577');
    END;
    ELSIF :BK_PARAMETROS.TIPO_REP=2 THEN
    BEGIN
         repid := find_report_object('tdvenrli1578');      
              --nom_rep := 'tdvenrli1578.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaLargos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1578');
              END;
    ELSIF :BK_PARAMETROS.TIPO_REP=3 THEN
    BEGIN
         repid := find_report_object('tdvenrli1576');
                        Add_Parameter(pl_id,'P_XLS',TEXT_PARAMETER, '1');           
              --nom_rep := 'tdvenrli1576.rep';
              nom_arch := 'c:\windows\temp\RepCobranzaDetallados' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1576');     
              END;
    ELSE
    BEGIN
         repid := find_report_object('tdvenrli1545');
                        --nom_rep := 'TDVENRLI1545.REP';
              nom_arch := 'c:\windows\temp\RepCobranzaTodos' || TO_CHAR(fec, 'ddmmyyyy') || '.xls';
              SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME,'tdvenrli1545');     
              END;
    END IF;
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER,nom_arch );
    --Add_Parameter(pl_id,'DESNAME',TEXT_PARAMETER, nom_arch);
    standard.commit;
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESNAME,nom_arch);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, 'File');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESFORMAT, 'DELIMITED');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_SERVER, w_name_repserv);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_OTHER, 'paramform=no');
         v_rep := RUN_REPORT_OBJECT(repid, pl_id);
         rep_status := REPORT_OBJECT_STATUS(v_rep);
         WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')     LOOP
              rep_status:= report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' THEN
              vJobID := SUBSTR(v_rep, INSTR(v_rep, '_', -1)+1);
              vURL:='/reports/rwservlet/getjobid'||vJobID||'?'||'server='||w_name_repserv;
         END IF;
         WEB.SHOW_DOCUMENT(vURL, '_blank');
         IF NOT form_success THEN
              MESSAGE('Error: PL/SQL held against Button failed to execute');
              RAISE FORM_TRIGGER_FAILURE;
         END IF;
    /*Run_Product(REPORTS, nom_rep, SYNCHRONOUS, runtime, FILESYSTEM, pl_id,'');
    EXCEPTION WHEN Run_Product_Failure THEN
    message('Error');*/
    END;

    There are two problems with your VI.  First, the basic logic of writing/appending to a file (Excel, TDMS, anything) should go something like this:  Open the file, position yourself at the end of the file, then, in the loop, acquire data and write it to the file until you are finished with data acquisition.  When you exit the acquire/write to file loop, then close the file.  In particular, the opening and the closing of the file should not be inside the loop.
    As others have pointed out, writing to Excel might not be optimal, particularly if you are acquiring data at a high rate (and would therefore be writing a lot of data). We actually use Excel in our data acquisition routine, mainly reading from a WorkSheet to get the parameters of a particular stimulus, but also writing the outcome of the response to the stimulus.  As it happens, our "acquisition rate" in this example is on the order of several samples per minute, so there's no problem using Excel (we also sample 16 channels of analog data at 1 KHz -- this gets written as a binary file).
    Second, if you really do want to use Excel, use the (existing) Excel file to which you want to append as the "template" argument of the New Report function.  Then use the Excel Get Last Row function to position yourself at "end of file", as noted above.
    Good Luck.
    Bob Schor

  • Problem in Exporting a Report Group having a Report Painter Report.

    I am having a problem in exporting a Report group having a Report Painter report.When I am trying to export the Report Group using transaction GR57 with all dependent objects,it is displaying:
           group 0102CPDNUEA-CCROSI not transported.
           Transport groups separately if necessary.
    There are 6 such groups which are not transported.Can anybody help me in this regards.Can anybody help me in exporting these Groups.Specifically in Report painter reports what do these Groups signify and how can we see them.Please help me....

    hi,
    I am able to export my report groups with dependent objects successfully.
    I dont know why you are getting error message. Just keep break point at ***** and execute it for single group and find out why it is giving error.
      IF SY-BATCH = 'X' OR NO_LIST = 'X'.  "direct or batch
        SET PF-STATUS 'LIST'.
    *****PERFORM TRANSPORT_OBJS USING 'X'.  "transport all jobs
        IF FILE_EXP <> 'X'.
          READ TABLE WT_E071 INDEX 1.
          IF SY-SUBRC = 0.
            LEAVE.
          ENDIF.
        ENDIF.
      ELSE.                                "online
        SET PF-STATUS 'MENU'.
       PERFORM WRITE_TRANSP_OBJS.
      ENDIF.
    regards,
    ram

  • Problem with exporting a report to excel vial citrix server

    Hi,
    We are encountering a problem with exporting a report to excel through ALV local file icon.A spread sheet is downloading only one row (From header) instead of many rows from the ALV output .  
    Above is working fine for the GUI installed on my PC, but not throgh the Citrix server.
    Can any body have idea on above mentined?
    Regards,
    SK.

    I understand that you're trying to download the file to a local computer  through Citrix. In this case you need autorizations in Citrix for your user ( CItrix user)

  • Problem in Loading a report

    Hi there,
    We have a problem on loading a report.
    For some users, when they try to load the report the system prompts for username/ password.
    This is a Web application system, where we use Windows authentication and impersonate=true.
    I suppose that this problem might occur since users do not have access to C\Windows\Temp.
    Thought for security reasons we do not want to give access to the users in this directory, and we do not want to change the temporary directory of windows ( from changing Temp Environment Variable)
    We have also try thr bellow solution with no results:
    "To change the CR temp folder, in registry, set the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions
    Report Application Server\InProcServer\TempDir "
    Is tehre any way to change the default loading path for reports from C:\Windows\Temp to somthing else?
    Thanks for your help.

    Hello Maria,
    the reg key you are describing is for inproc RAS. In my opinion this has only limited importance for your problem as you more likely have a user authentication issue.
    Please try to narrow down the problem that 'some user can / others can't log in'.
    What is the difference between these users ? Please check the database settings / possible roles for these accounts.
    Please also see if these user can access the reports in the designer or if they get the same database issue. Is it just one report / a group of reports or all reports where you face that issue ?
    Thanks a lot
    Falk

  • Problem in Calling a report from form 6i using parameters

    Hello Oracle experts,
    I am facing a problem while calling a report using form 6i and passing parameters,
    Actually the problem is I want to use the parameters passed to reports in a
    query group in my report. I am not able to use the parameters passed by form to report in one of my query groups in report. Could anybody guide my how to use it.
    Thanks

    Hello Oracle experts,
    The parameters are getting passed successfully in my report.
    But I want to know hous to use it in my query group.
    I just want the syntax.
    Thanks

  • Problem in Creating .txt report

    Hi All,
    I need to create the report, if the document having fpo, $$$, TK, 000 etc...
    OR,
    create report "No Errors found"
    My script working fine, but the problem is creating the report not as user friendly
    Coding is below:
    myDoc = app.activeDocument;
    FPOArray = new Array
    app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;
    app.findChangeTextOptions.wholeWord = true
    app.findTextPreferences.findWhat = "fpo"
    var myFound = myDoc.findText()
    for (f = 0; f < myFound.length; f++) {
        var myFindFPOPage = myFound[f].parentTextFrames[0].parentPage.name
        FPOArray.push(myFindFPOPage)
    $$Array = new Array
    app.findGrepPreferences = app.changeGrepPreferences = NothingEnum.nothing;
    app.findGrepPreferences.findWhat = "\\$\\$+"
    var myFound = myDoc.findGrep()
    for (s = 0; s < myFound.length; s++) {
        var myFind$$$Page = myFound[s].parentTextFrames[0].parentPage.name
        $$Array.push(myFind$$$Page)
    var myTextFile = File("~/Desktop/abcde.txt")
    myTextFile.open("w")
    if(myFound.length>0)
        myTextFile.write("FPO: " + FPOArray + "\n\n"  + "$$ Page Number: " + $$Array + "\n\n")           //Error this line only please help
    else
        myTextFile.write("No Error")
    Could anyone please help for my request.
    Thanks in advance
    Beginner_X

    u change
    myTextFile.open("e") and than
    if(myFound.length>0)
        myTextFile.write("FPO: " + FPOArray + "\n\n" )           //Error this line only please help
    if(myFound1.length>0)
        myTextFile.write( "$$ Page Number: " + $$Array + "\n\n")           //Error this line only please help
    else
        myTextFile.write("No Error")

  • Problem with printing some report

    hi very body
    we have some problems with printing some reports.
    the problem is when printing a report the computer processes stoped
    and i should restart the computer a gain to print the report for first time and
    then in the second time i have same problem.

    Maher,
    You can check out the new printer driver test utility verions2.0 on OTN at:
    http://otn.oracle.com/software/products/reports/files/printerdrivertest.zip
    This should help you determine if it is a printer problem or whether you should look into another area.
    Also, you don't mention which version of reports, what command line options your using, the computer
    configuration your using whether it is a network printer or local printer connected to the machine. Support
    will need this information to help determine where your problem lies.
    Regards,
    The Oracle Reports Team

  • Problem in Stacked chart Reports

    Hi,
    I was trying to create a report of Stacked Chart type. I was able to create it successfully But I still face these problems.
    1. When I group the data based on an attribute of type Date, The date format appears (at the bottom of Stacks) like 2009,Jan,Day20 (if the date is 20th jan2009).I have tried to change the value format of date in the Value format Tab. But What ever is the format I choose, the date still gets displayed as 2009,Jan,day20. Please advise..
    2. The second Issue is that when ever there are no records for a stack I can see the value displayed as 0.0. This really does not seem good on the report. Please let me know the steps to be followed to avoid this problem.
    You can see a screenshot of the above problems *here*.
    Thanks,
    Raj Kumar

    Hi all,
    I am facing a problem in printing Crystal Reports in Windows Forms app. Normal application flow is working like charm but I want to handle the situation when printer is not available or is not ready for printing. I was looking for WMI but I am facing problem
    like mentioned
    here, that my printer always return Status 3 or State 0 (idle). Now Now I am looking for exceptions of PrinttoPrinter method of Crystal Reports but yet no luck. Any idea will be appreciated.
    Thank in advance 
    For issues concerning third party products you should contact the vendor of the product for support. Which would be
    SAP for Crystal Reports.
    Also you say WMI apparently says your printer is idle. I don't know if that means your printer is available or not.
    Can other programs print to that printer? If so then it is available. If Crystal Reports can not print to it even though it is available then SAP would be the place to try to get an answer.
    La vida loca

  • Problem printing ALV standard report

    Hi Experts
    I have a problem, when running my report in the transaction mb5b (alv standard) output makes it a product sheet that generates great waste of sheets. I can make it print all at once?
    Thanks in Advance.
    Gina

    for duplicate entries
    select banfn
    WERKS
    matnr
    menge
    fistl
    geber
    from eban
    into table iteba
    where fistl = p_fistl
    AND geber IN s_geber.
    IF NOT iteba[] IS INITIAL.
    select BWKEY
    bukrs
    from t001k
    into table itt00
    for all entries in iteba
    where BWKEY = iteba-WERKS.
    ENDIF.
    "<<<<<<<<<<<<
    sort iteba.
    delete adjacent duplicates comparing all fields.
    "<<<<<<<<<<<<
    IF NOT iteba[] IS INITIAL.
    SELECT banfn
    matnr
    FROM eban
    INTO TABLE itmat
    FOR ALL ENTRIES IN iteba
    WHERE matnr = iteba-matnr
    AND banfn = iteba-banfn.
    ENDIF.
    ENDFORM. " datafetch

Maybe you are looking for

  • Error while configuring the application server for ESB on Jdeveloper

    While i try to configure a application server connection on Jdeveloper for a remote installation of ESB (advanced mode with all the three components together and not in a cluster mode) i get the following error : Error getting OC4J Process for: opmn-

  • How to show only Indexes in Search Scope

    Hi All, Is it possbile to allow users to choose only Indexed in search scope. I tried editing the Search Options set, there i found that I can enable and disable search scope, but whn search scope is enabled both the Indexes and folders are visible.

  • 14Mbps broadband limited to 3Mbps on Mac G4

    I first posted this question in the AirPort Express discussion area, but I believe it belongs here instead. I have a PowerMac G4 Dual 450 and successfully installed an original AirPort card since it won't support the AirPort Extreme, and I successful

  • The "open in" function in my iPad 2

    The "open in" function in my iPad 2 does not give me the option to open in adobe.  Is this a adobe issue or an apple issue?

  • How to access large files

    Hi , I am trying to creata a code that has to access betweent 10-15 flat files in the unicode character set where each of the files is between 60-63 Megabytes. The objective is to be able to search through the files and exract information Can any tel