While saving the output from Conc Prog it saves in .PCL instead of .XLS

Hi,
I have one concurrent program which gives Excel Output directly without using XML Publisher.
Using following Link I have designed the same.
[http://knoworacle.wordpress.com/2008/11/03/excel-output-directly-from-oracle-application-concurrent-request-output/]
Here it is giving problem when I click View Output Button after runing the concurrent request.
It should Open and Save the file with .XLS format. Instead of that it is taking .PCL format to save.
Please help me to get the file in .XLS and save it to local system.
Thanks
Alaka

Alaka wrote:
Hi,
I have one concurrent program which gives Excel Output directly without using XML Publisher.
Using following Link I have designed the same.
[http://knoworacle.wordpress.com/2008/11/03/excel-output-directly-from-oracle-application-concurrent-request-output/]
Here it is giving problem when I click View Output Button after runing the concurrent request.
It should Open and Save the file with .XLS format. Instead of that it is taking .PCL format to save.
Please help me to get the file in .XLS and save it to local system.
Thanks
AlakaPerhaps you included the optional step 4 in your coding...
>
4. Hijack one of the little used Viewer Options (PCL) so that we can get the Concurrent Request output browser to automatically open Microsoft Excel. Note this is optional, you can just create a new Viewer Option but then you may get the “Choose Viewer” box when viewing concurrent request output. NB: Navigation path is System Administrator, Install, Viewer Options
update fnd_mime_types_tl
set    mime_type = ‘application/vnd.ms-excel’
,      description = ‘Excel (SYLK) used to be application/vnd.hp-PCL: Printer Control Language’
,      last_updated_by = 0
,      last_update_date = sysdate
where  file_format_code = ‘PCL’
and    mime_type = ‘application/vnd.hp-PCL’;
commit;

Similar Messages

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • Saving the output from a JSP request

    I have developed a decision support web site that amongst other things generates a "report" page. Now my client would like to add the ability for users of the site to have that report emailed out to them.
    Sending the email obviously isn't a problem, but getting the content into it is. I really don't want to have to duplicate all the JSP code from the report page (there's a lot, including calls to beans etc), and reformat the entire thing with hundreds of out.write("<table>") like statements, or nasty plain-text formatted equivalents.
    So...is there a way to "save" the output generated by the server before it gets sent back to the user - ideally to a local file that I can then just dump straight into the email message. I can't just call the page (internally on the server) to see its output, as it's user-specific and uses a lot of session-related information.
    Cheers for any advice...
    Iain

    It's actually possible to do what I want to do by getting the server to call the page internally (I didn't think it was).
    A simple URLConnection to the appropriate page with the jessionid appended gives me back the page as the user would see it. I can then just stream the response from that to file/email/whatever.
    When the user clicks on their "email" link, I just call a jsp file (or a servlet) with the following code:
         URLConnection uc;
            BufferedInputStream fin;
         BufferedOutputStream fout;
         String location = "http://localhost:8080/blah/report.jsp"
              + ";jsessionid=" + session.getId();
         String filename = "C:\\output.html";
         try
              uc = new URL(location).openConnection();
              fin  = new BufferedInputStream(uc.getInputStream());
              fout = new BufferedOutputStream(new FileOutputStream(filename));
              int byteRead = fin.read();
              while (byteRead != -1)
                   fout.write(byteRead);
                   byteRead = fin.read();
              fout.close();
              fin.close();
         catch (Exception e) {}Now all I have to do is go learn how to write multipart emails using JavaMail...

  • While recording a guitar do not record the output from other tracks

    Hi all,
    I'm an audition/recording newbie. I have Audition CC. I have recorded one guitar track. and now I'd like to record another one. The problem is that when I try to record it the output from the other one gets recorded as well. I do want to hear the output from the first track while recording track 2 but I want only to record my guitar playing in track 2.
    Thank you.

    The basic problem here is not actually caused by Audition, but by your sound device mixer, which appears to be letting you record everything you hear - so that will be the guitar part you are playing, and also the replayed tracks that you've already recorded. In Windows, the fix for this is generally to make sure that the recording source is set to be just the input you are using, and not 'what you hear' or whatever it is on your device. The playback part of the mixer should let you monitor both the wav playback and your source, which is what you need to be doing - it's only the record settings you need to look at.
    If you are using a Mac though, I can't help you because I don't know anything about how they work from that POV, but I'd imagine that it must be similar.

  • Dump while saving the project

    Hi all,
    System is giving dump while saving the changes in the project.
    Short text
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    What can you do?
         Note down which actions and inputs caused the error.
         To process the problem further, contact you SAP system
         administrator.
         Using Transaction ST22 for ABAP Dump Analysis, you can look
         at and manage termination messages, and you can also
         keep them for a long time.
    Error analysis
         Short text of error message:
         Profitability segment number 0026636665 does not exist in operating conc
         ern XXXX!
         Long text of error message:
          Diagnosis
              The system discovered a serious inconsistency in the data basis of
              Profitability Analysis (CO-PA) This message should never occur in
              the course of normal operations.
              The system tried to find characteristics from the segment table
              CE4XXXX using the segment number 0026636665 in operating concern
               This profitability segment number does not exist.
              This can occur if you have deleted data from table CE4XXXX and have
              already assigned data to profitability segments in this operating
              concern.
              Another cause may be that you have changed the assignment of your
              controlling area to an operating concern. When this happens, the
              system tries to interpret the segment numbers in the new operating
              concern.
          System Response
              Do not continue processing.
          Procedure
              The data in the segment table needs to be reconstructed. It may be
              possible to re-enter the assignments to profitability segments.
              Look in OSS for notes regarding error message KE499. You may find
              information there that could help you solve the error.
              Otherwise contact your CO-PA consultant or create a problem
              message.
         Technical information about the message:
         Message class....... "KE"
         Number.............. 499
         Variable 1.......... 0026636665
         Variable 2.......... "XXXX"
         Variable 3.......... " "
         Variable 4.......... " "
    Process -
    From WBS element user fields, charactertics value are assigned to profitability segment through derivation rule
    WBS element values settles to Profitability segmnet.
    WBS element has system staus REL  ACPT RESA SETC
    System is giving dump while saving any changes in the project. can anybody tell what is root cause and solution for this issue?
    Thanks,
    Sudhir

    Request you to refer this note 199959.  Take help of you CO cosultant.
    Edited : Request you to check with your CO consultant as PSG has been deleted, take help fo ABAP as well. ( May be above note may not help you much,  WIth help of ABAP and CO define problem and than seach with your message KE499 in Service market place )  That would be better  approach.
    With Regards
    Nitin P.
    Edited by: Nitin  Patoliya on Mar 10, 2010 5:02 PM

  • Problem While saving the Invoice

    Dear Experts,
                      I am facing the Problem while Saving the Invoice, In invoice, We assigne the Output as RD00 and Medium as 6 (EDI).
    When we are saving the Invoice, it getting as ' Updated Terminated'. When i found where the Error is coming in SM13, it showing in as Function Module "RV_MESSAGE_UPDATE' & Error Details is 'EAN11 not found for Material'.
                     But in Invoice whatever we enter the Material number, we maintain the EAN11 code. This EAN11 code is seen in MARM & VBRP Table. Unable to find the what the exact error is.
                   please help me to sort this issue, Its business complicated.
    Thanks in Advance,
    Srini

    Hi Asik,
              Thanks for your valuable Message.... I run as you suggested, but the dispatch time i kept as 1 or 2. because the program RSNAST00 is picking the values only for 1 or 2. so i run manually,, as of now the issue is, in the invoice number, for one material number, the Billed quantity is zero, so the UOM is getting as initial. From those vaues we are picking the EAN11 from maram table.
    So, i modify that and run the EDI manually. As of now its working...
              Thanks for your reply,,,
    Regards,
    Srini

  • 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.

  • Getting the output from a Perl script using Runtime.exec

    I cannot get the output from a perl script using Java. Can someone PLEASE help?
    I used the following code:
    Process p = Runtime.getRuntime().exec("C:\\Perl\\bin\\Perl.exe script.pl) ;
    InputSream in = p.getInputStream();
    b...
    do
    System.out.println(b);
    while ((b = in.read()) > 0)
    But there is no way that I get the output in the inputstream. If I use the command "cmd script.pl", the output is displayed in the Dos box, but also not in the inputstream.
    I will appreciate any help.

    Try this
    Process p = Runtime.getRuntime().exec("C:\\Perl\\bin\\Perl.exe script.pl) ;
    BufferedReader rd = new BufferedReader(new InputStreamReader(p.getInputStream()));
    String str;
    while((str=rd.readLine())!=null){
    System.out.println(str);
    Manu

  • PSC 2510 - Wireless setup - "Error while saving the settings to the device."

    While trying to setup my PSC 2510 to be wireless I get an error message "Error while saving the settings to the device.". This comes after selecting connecting Through Network, selecting printer device, selecting WEP, entering key, and clicking next.
    PSC 2510
    Windows Vista
    Using latest sfotware from HP to install
    Thanks
    Dennis
    This question was solved.
    View Solution.

    ISSUE RESOLVED .. based on responce from PrintDoc to penn (refrence topic "C4385 Printer - Netgear DGN2000 - wireless setup".
    PrintDoc responce helped me find my problem (to reset network settings on the printer to factory) even though diffrent printer.
    Thanks

  • Error while saving the FM8 XML file

    Hello,
    While saving the FM8 XML file, an error message appears (see attached screen shot).
    Is there a solution to resolve this issue? Please suggest.

    Hi,
    This type of error is non-descript and could be caused by any number of things. It is impossible to troubleshoot from here based solely on that message. Let me ask a couple of questions, though:
    - Are you using structured FrameMaker? If so, are you using a structured app that has worked successfully before? In other words, did this just suddenly start happening to an otherwise-stable process?
    - Is there anything unusual about your layout; that is, anything other than a single text flow with graphics?
    Russ

  • Error While saving the tabulator results recording(QE71)

    Hi Experts ,
    through the Tcode QE71 i'm recording the inspection points and the inspection results but while Saving the recorded results , the system is giving error as " No Orignal values " and also as "inspection Pt 99999 of the Characteristics .....is not avaialable".
    What might be the possible reason for the same. But when i'm entering the results through the Tcode QE01 all the results are saved and closed.
    Can anybody help me out of this.
    B'regards
    Krishna

    Hi,
    Can you call your web service using jQuery not in an app successfully?
    As the error message suggests, it might be an error on the server side.
    I suggest you do a simple test to check whether you can call the web service using jQuery.
    Here are two links would provide more information about troubleshooting this error for your reference:
    http://sadomovalex.blogspot.com/2013/08/return-json-from-asmx-when-call-it.html
    http://www.codeproject.com/Tips/761116/Troubleshooting-an-Issue-With-Calling-an-asmx-Web
    Feel free to reply with the test result if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Error while loading the data from text file

    Hi,
    I got an error " Data Value Encountered before all Dimensions selected" while loading the data from the text file.
    Can any one please suggest me the solution.

    Possible Solutions
    Make sure that the data source is valid.
    Is a member from each dimension specified correctly in the data source or rules file?
    Is the numeric data field at the end of the record? If not, move the numeric data field in the data source or move the numeric data field in the rules file.
    Are all members that might contain numbers (such as "100") enclosed in quotation marks in the data source?
    If you are using a header, is the header set up correctly? Remember that you can add missing dimension names to the header.
    Does the data source contain extra spaces or tabs?
    Has the updated outline been saved?

  • Userexit while saving the billing document

    Hi all,
    Is there any userexit while saving the billing document..I want to define minimum invoice value in system.
    Regards,
    Puneet Makkar

    Hi,
    In preceding project, i had the same requirement.
    Price condition : copy from std price for minimum value.
    Use condition category (for specific determination price for invoice).
    In price procedure : apply requirement to active only for invoice (std = 22).
    Re determination of price during creation of invoice :
    use RV61AFZA with the value of condition category to adapt pricing type (ex : X).
    modify copy rule (Tcode VTFL) for item : use new value for pricing type (ex : X).
    Regards,
    Lionel

  • Getting Brain Error while saving the query--Need Immediate solution

    Hello Experte
    I designed query like this.
    G/L account structure is defined in Rows. Before explaining about columns Let me Explain u about my ORG structure.
    Company codes are defined in R/3 like this.
    Company Code
    1000 for Local Currency(HSL01)
    2000 to 7000,IEL for group Currency(KSL01).
    Iu2019m extracting the data as it is from R/3 to DSO and again by writing routine I splitter the data for months(EX: HSL01 is ApriL,Hsl02 May,u2026u2026u2026u2026u2026u2026.KSL01 April, KSL02 may,u2026u2026u2026. Upto to 16 periods) this is R/3 data. This data I differentiated based upon currency types. If currency type is 10 then Local Currency 30 Means Group Currency.
    Again Iu2019m receiving the data from Flat Files for subsidiaries(IEAI,IEG,IEEL,ISSCI,IHAL,TTM-US,TTM-INDIA,TTIT). This data I loaded first into DSO by writing Routine at field Level for G/L account to convert G/L Descriptions into Numbers.
    After that I loaded data from first DSO to Second DSO by writing to convert respective currencies into INR and again loaded to cube by Direct mapping.
    Again Iu2019m receiving the eliminations data from R/3 through Ztable. This also Iu2019m extracting from R/3  and loaded into dso and again into cube.
    Now I will Explain about my Report.
    In Columns I defined 3 selections for each month.  U can observe that in Document. Like that for each month Iu2019m getting three selections and for subsidiaries 2 selections for each month. If we observe total Iu2019m getting 13 selections for India and 9 selections for each subsidiary. If subsidiaries increase I need to increase selections, automatically columns will increase. Now for Q4 2 new subsidiaries are  added I need to added. After adding and while saving the query then only Iu2019m getting brain error.
    Could any one sort out this.
    Thanks,
    Sony

    HI Ravi,
    Thanks for the reply.
    While saving the query in BEX i'm getting this error.
    Diagnosis
    Query ZQ3_MISGRPSUMMARYREPORT_010209 contains 8192 differing selection cells. However, only 8191 selection cells can be processed in a query.
    Procedure
    Please simplify query definition ZQ3_MISGRPSUMMARYREPORT_010209.
    This was the error i'm getting. How to simplify this....
    Any answers please.
    Thanks,
    Sony

  • Error message while saving the sales order

    hi all,
    i have maintained a material material master, sold to  etc  pr00 conditions maintained, schedule line is determined correctly  but i am still getting this message while saving the order
    "Product 234345 does not have schedules assigned. Contact system administrator
    Message no. ZV276"
    can anybody help?
    Sa

    Suman,
    i would suggest you please sit with your abaper he can might be solved your issue.
    because Message no. ZV276 seems to be comes from user-exit which you implement for VA01/VA02 Tx.
    Amit.

Maybe you are looking for

  • Runtime error in IC_Agent

    Hi, I'm facing an error in IC_AGENT. The error log is : Cannot display view CRMCMP_BPIDENT/BuPaIdentifyCustomer of UI Component CRMCMP_BPIDENT An exception has occurred Exception Class  CX_BSP_WD_RUNTIME_ERROR - Component ICCMP_BP_DETAIL has not been

  • Session timeouts to the database

    Hi, A customer is commenting that his sql developer sessions have started to time out. I have not used developer so am here looking for some advice. Are there any parameter settings in the database or developer that I can review for sessions. regards

  • Wireless connection between 2 routers

    Hi All, I have 2 wireless routers. Router A is connected to the internet, and router B is a WRT54G and is connected to a computer. I want to have a network set in the following way INTERNET--wired-->ROUTER_A--wireless-->ROUTER_B--wired-->COMPUTER How

  • IPhoto '08 won't save photos

    After installing iPhoto '08 over the previous version, which was working properly, I can't seem to save the photos I download from my camera. I get this message: "Some recent changes may be lost. Make sure your hard disk has enough space and that iPh

  • COI Complex Question.

    To put it in example there is one legal consolidation group (ABC) and  another  consolidation groups  (XYZ,123 )which does not require to be included in legal consolidation. Group XYZ is accounted by equity method and group 123 is not requiring any c