About ABAP and EXCEL output files

Hi experts.
We are using an outbound interface that creates a Excel files with ABAP OO. The main problem of the issue occurs when we call the method to save and close the excel document already created but in windows task manager it stays opened.
Is there any possibility in abap to call some method or statement to close (or kill) the excel application already opened in Windows?
Regards!

Am not sure but my answer is NO.
Because, ABAP is a different server and windows is a different server.
So you cannot control any applications and actions that are performed out of sap box.
Thanks
Kiran

Similar Messages

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • How to find out the BI Publisher Version from the Excel output file

    Hi,
    Can any one tell me How to find out the BI Publisher Version from the Excel output file generated using BI publisher.

    Take a look at it in notepad or a text viewer... it's just a MIME/HTML file...
    Example:
    From: "Created by Oracle BI Publisher 10.1.3.4.0" <>
    Subject: Created by Oracle BI Publisher 10.1.3.4.

  • Can we write data to different sheets in the same excel output file ?

    Hi,
    I am using XML publisher and generating output in the excel sheet format.
    Is it possible to write the data to different sheets on the same excel file using XMLP?
    Please let me know how to do this.
    Thanks in advance,
    Raj.

    Hi,
    No, it's not possible with 5.6.2. Excel based templates are supposed to be coming but I don't know when the release date will be.
    Thanks
    Paul

  • Excel output file size is large - How to make it small in size?

    Hi,
    An Excel file out put is too large when I get it from application. If I copy and paste the same content in an excel sheet , the size is too small.
    How can I fix this?
    Excel output size from application - 12.4 MB - 4500 records
    copy paste file size - 827 KB
    Oracle EBS 11.5.10.2
    BI Publisher Desktop Version - 10.1.3.4.2
    Thanks in advance.

    BIP generates an XHTML output with mime-type xls and thus Excel is invoked when it is downloaded. XHTML is text and therefore it is lenghty. When you copy and paste it in Excel you save it in binary format and compress.
    My suggestion is create an excel template instead of rtf. Not sure if this is possible for EBS (open a ticket with Oracle Support to confirm you can use excel templates in EBS the version you have).
    Reference:
    http://blogs.oracle.com/xmlpublisher/entry/real_excel_templates_i
    In this way your output will be a truly binary file with size much more smaller.
    regards
    Jorge
    ps. If this answers your question then please grant the points and close the thread

  • Remove blank spaces in excel output file

    it is a BOM report and the output is into a excel file.
    problem with the excel file output is : i gives blank spaces sometimes after the number and sometimes before the number...
    so, how can i remove those blank spaces for the values.
    ive nearly 15 columns having values in each column.
    so, how to get rid of blank spaces for these values in the columns in the xls file. is there any fn..module or a command that i can put in the code.

    Hi,
        above mentioned FM canbe used to eliminate extra zeros   in char field. eg. material number.
      MATNR will contain 18 char.-000000000045678925.
      toget only 45678925 F.M -conversion exit can be used.
      for ur reuirement use SHIFT statement only.
    regards,
    Prashanth Maturu.

  • Reports 10g and Excel output

    Hi,
    We are getting the excel file generated out of report RDF by specifying the DESFORMAT=spreadsheet. This works fine and excel file opens when we run the report with proper output. However, when we try to 'save as' the excel file opened, the default 'save as' type is coming as 'Web page (*.htm, *.html)'.
    Is there any way using which we can have this default 'save as' type changed from 'Web page (*.htm, *.html)' to 'Excel (*.xls)'?
    Thanks,
    Jaldhi

    Try adding charset to the content type
    e.g:
    <%@ page contentType="application/vnd.ms-excel;charset=ISO-8859-1" %>

  • Time Machine and Excel Missing File

    Hello, this is my first posting here and I would appreciate some help.
    An important Excel file of mine just disappeared both on my hard drive as well as on my Time Capsule backup, which is really puzzling me. Here are the facts:
    1. I am using an iMac, running Mac OS X 10.5.8, with Excel:mac 2008 version 12.2.7. I religiously update both my OS and applications, so they are both up to date
    2. Within Excel, if I go to File/Open Recent, there is a dropdown of recently opened files. The missing file is shown there but the "xlsx" tag is missing on that name, oddly. The other files (which are all still there) still have the "xls" or "xlsx" tag. When I click on that file, I get that error message that the file cannot be found
    3. I then opened up my Time Machine on my Time Capsule and went scrolling back in time, and really weirdly, this file is missing in every version of backup. My Time Machine has the default backup of hourly for the past 24 hours, daily for the past month, and weekly before. I went into the folder where I kept the file all the way back to July (when I got the Time Capsule) and this file is missing from EACH backup. All other files are there.
    I work on this file every day and I tend to keep it open on iMac. Usually when Excel crashes or something, it reloads with a recovered version but Excel hasn't crashed recently. I worked on this file as recently as yesterday and saved it in the same place where I've been saving it for the past several months.
    OK, what's changed from yesterday to today? Last night when I updated my software there was an update from Microsoft for a security patch. Could it have detected a virus in this file and deleted this file from my hard drive and then from each and every backup in Time Machine?
    The second change was that I selected "Back Up Now" for the first time on Time Machine last night after that patch. I usually had Time Machine run automatically, but while I was updating, I decided to do a forced backup. Could this forced backup have deleted all prior instances of this file if it was missing on my hard drive then?
    This file is important to me, does anyone have a suggestion as to how I can retrieve it? I thought having Time Capsule would save this kind of headaches. I did a search within the backups, in case the file mysteriously "moved", but the file is just plain missing on all backups and on my hard drive. To make things worse, I Emptied my Trash last night, so I can't see if it is in there. Though, I didn't delete the file.
    Thanks for any help!

    NewMacxUser2010 wrote:
    Hello, this is my first posting here and I would appreciate some help.
    Hi, and welcome to the forums.
    Could it have detected a virus in this file and deleted this file from my hard drive and then from each and every backup in Time Machine?
    Seems very doubtful, especially since there are no viruses that run on OSX.
    There is a small amount of malware, but you have to actively participate in getting it onto your Mac.
    But . . . are you running any anti-virus software? Some of it does cause all sorts of problems on Macs.
    The second change was that I selected "Back Up Now" for the first time on Time Machine last night after that patch. I usually had Time Machine run automatically, but while I was updating, I decided to do a forced backup. Could this forced backup have deleted all prior instances of this file if it was missing on my hard drive then?
    No. A backup is a backup is a backup; they're all the same, no matter how they're started. And Time Machine only deletes things when it "thins" backups. Basically, it keeps all backups for 24 hours, except the first of each day, which it keeps for a month, and the first of each week, which it keeps as long as there's room.
    So it's a bit unpredictable, but if a file is on your Mac for at least 24 hours, its backup will be kept for at least a month.
    This file is important to me, does anyone have a suggestion as to how I can retrieve it? I thought having Time Capsule would save this kind of headaches. I did a search within the backups, in case the file mysteriously "moved", but the file is just plain missing on all backups and on my hard drive. To make things worse, I Emptied my Trash last night, so I can't see if it is in there. Though, I didn't delete the file.
    I don't use Excel, so can't help much with specifics. Is it possible this is some sort of temporary file that's either never actually saved to disk, or is saved with a different name each time?
    Are all your other, similar files in your backups?

  • PDF and Excel output cell spacing issues

    Hi all..
    I have a report and template whose output should be both in PDF and Excel.
    Lets say I have two tables in out put one below other. (Table1 and table 2 below it..)
    Table 1 has 5 columns and table 2 has 30 columns.
    In PDF since it is difficult and ugly to show 30 columns, I made font as 6( very small font)
    PDF output looks fine. But, when I open the reort in excel..its all messed up and ugly.
    Table 1 column widths are very much uneven. lI noticed that table1, table 2 coulmns width are same...
    For my Requirement, they must have seperate widths.. Also..when I open the report in Excel, I still get in font size 6 which is ugly
    I want table1 column width and table 2 column width in Excel as seperate..
    How do I achieve this.

    Vetsrini wrote:
    you can do that too..
    two set of tables, one for each output. and use the Microsoft word font properties.
    else
    add something like this
    <fo:block font-size="14pt" font-family="verdana" color="red">
    Your test or your field
    </fo:block>Srini, this worked!
    My font differences in Pdf and Excel has been eliminated now.
    But however I have one more problem as I stated in my first post.
    When I exported into Excel, My column width of first table is dependant on the other making my report look uneven.
    I am providing the screen shots.
    Look how Rate column of first table is very huge as it took the colmun width of table2 (Decription column)
    http://i.imgur.com/Rj8CC.jpg
    I need something like this: http://i.imgur.com/nklEN.jpg
    Is this achievable?

  • Interface between ABAP and Excel-report

    Hi anyone!
    I need to implement a BAdI (CRM_MKTTG_SEG_MEM_EX) for displaying an aggregated BW field in the CRM Segment Builder. However my programmer knows little about the interface between ABAP an Excel. He therefore struggles with the programming. Have anyone of you any suggestions for how he can call a field in a query. Has anyone used this BAdI for the same purpose?
    Thanks, Camilla

    Hello Camilla,
    i think you should ask your question in a generic form in the BW forum. Ask them for access to a Query via RFC.
    Regards
    Gregor

  • Excel 2011 can't open old Excel 98 and Excel X files

    I have lots of old Excel workbooks that were created on my Mac that go back at least as far as 1999. They were created in 1998 Excel 8.0 (from Office 98), 2000 Excel 9.0 (from Office 2001), and 2001 Excel 10.0 (from Office v.X) (I'm assuming these were the versions I used way back then because I have always used Office since the beginning of time.) Excel 2011 will not open these files. When I try to open these files, I get the message:
    Excel could not open [filename] because some content is unreadable. Do you want to open and repair this workbook? If excel cannot repair the file, some data may be lost.
    If I click Open and Repair, Excel hangs.
    Of course, being a Mac user since 1983, these files do not have those ugly extensions hanging on the file name, but that really isn't the problem. I can add extensions (like .xls) to the file name, which changes the appearance of the icon, but Excel still hangs when trying to Open and Repair these files.
    Can someone explain what the problem is?

    Some of those are pretty ancient!
    Did you ever install the converter?
    Mac users using Word 2004 who receive a Word 2008 for Mac, (or Word 2007 for Windows) document, will not be able to read this without having the Open XML Converter installed, which can be downloaded from Microsoft.
    Go to this page:
    http://www.microsoft.com/mac/downloads.mspx
    and click on the right under Most Popular, 'Open XML File Format Converter for Mac 1.0.2'
    This opens a window at the bottom of the page. Scroll that to the bottom and click on English.dmg, and it will download for you as a disk image, which can be installed in the usual way.
    After installation you can open and read .xml formatted Word 2008 documents in Word 2004.
    Update: This link  http://support.microsoft.com/kb/976831  takes you to a newer version 1.1.3 (released Nov 10, 2009).

  • Can not open multiple excel 2003 and excel 2007 files in excel 2010 - message says they may be a security risk and wants to do a scan

    We use about 20 excel files to build a consolidated financial statement for our company.  Some of the files were built when  the computers were running 2003 and some when we had 2007.  We are being upgraded to Windows 7 with Office 2010.  In
    2007, we would simply highlight all the files in a folder, right click, and open.  Once they had all refreshed for new data, we would close them all.  Now with Excel 2010, we've highlighted all the files, but when we right click, we get a message
    that says some files may present an internet security risk.  Then it ask if we want to open anyway.  If we say yes, we get a box that asks us to scan the files.  We've done a scan, but at the end it still doesn't open the files.  If we
    say no, it does nothing.  Either way, we're not getting the files open except to open them 1 by 1.  We're not sure how to get rid of this...any suggestions?

    In Excel 2010 setting those documents as trusted documents, or adding the folder containing as a trusted location may do the trick for you. There's a full description of what it does here
    http://blogs.technet.com/b/office2010/archive/2009/09/28/trusted-documents.aspx but if you go into File, Options, Trust Center, Trust Center Settings..., and then Trusted Locations, you'll see the list of currently configured file paths that are considered
    trusted on your machine.
    At the bottom of that window you can check the option to allow trusted locations on the network (so you can trust the files that I assume are stored on a network location) and then add the location of those files to the list.
    Note, this setting is done per machine profile, so if it does the trick for you then each person needing these files would need to do this. Also, keep in mind that by doing this you're removing some of the protections added into Excel, so you should only
    go adding locations you know you can trust (not just the root of a network path where anyone and everyone might go saving spreadsheets they've downloaded form the internet).

  • Sequence Grabber and multiple output file

    Hi,
    I'd like to use sequence grabber to capture video and save it to two files in the same time, one has better quality while another one has lower quality(high compression, low frame rate), is this possible? any samples? thanks.
    AC

    I love you guys!
    thanks alot!
    this makes life so much easier I'm about to cry.
    In article <3b2dbd1c$[email protected]>, [email protected]
    says...
    "denis krizanovic" <[email protected]> wrote in message
    news:[email protected]..
    >
    Can I write an XSLT stylesheet that will splinter a single xml into
    multiple HTML files?Yes. It is not part of the XSLT spec but extensions are sometimes available
    depending on xsl processors. (xalan, saxon..)
    is this something XSLT can do today? Specifically in WebLogic6 - Using
    the Xalan thingy.Yep. Right pick. Xalan can do it using the redirect extension
    See below. For more information look at the xalan doc or mailing list
    [email protected]
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0"
    xmlns:lxslt="http://xml.apache.org/xslt"
    xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
    extension-element-prefixes="redirect">
    <!-- default output directory -->
    <xsl:param name="output.dir" select="'.'"/>
    <xsl:template match="/">
    <!-- doing some output on file1 -->
    <redirect:write file="{$output.dir}/file1.html">
    </redirect:write>
    <!-- doing some output on file2 -->
    <redirect:write file="{$output.dir}/file2.html">
    </redirect:write>
    </xsl:template>
    </xsl:stylesheet>
    Stéphane Bailliez
    Software Engineer, Paris - France
    iMediation - http://www.imediation.com
    Disclaimer: All the opinions expressed above are mine and not those from my
    company.

  • Opening and Closing Output Files

    I have a simple question. After opening a file for output by doing:
    PrintStream out =
    new PrintStream(
    new BufferedOutputStream(
    new FileOutputStream(
    ("filename")));
    and then closing by:
    out.close();
    How do I go open it back up again later? What I'm looking for is something along the lines of out.open(); which is what I would expect the command to be but it's not. I have several files for output so I don't want to keep them open throughout the program which is how I have it right now. Thanks for any help!

    When PrintStream.close() is called, it flushes itself and calls the underlying stream's close method - here a BufferedOutputStream. When BufferedOutputStream.close() is called it also flushes itself and calls the underlying stream's close method - here FileOutputStream.
    The API doccumentation for FileOutputStream.close() says:
    "Closes this file output stream and releases any system resources
    associated with this stream. This file output stream may no longer be used for writing bytes."
    So thats it.
    Hope this helps.
    Thanks,
    Binil

  • PDF and excel Exported files are bad

    Hi experts,
    I can export the report using the Central Management Console for a report with parameters, the same report when opened in a struts, in 5.5.23 version tomcat cannot export properly in pdf, excel formats, although rtf format can. I am not an expert in Crystal reports, or BOE, as they are being developed by other people, i only display these reports using java SDK. Any pointers to this would be helpful.
    Other issues, are like, on changing the zoom factor percentage, the report appears to be resubmitting, and not displaying instantaneous.
    cheers & thanks
    Nithy

    Hi All,
    I figured out the problem, but couldnt get the solution for the above issue. My struts in tomcat has a servlet filter for all types of formats when downloading, and hence this crystal report which is being generated on the fly also needs to pass through this servlet, but the servlet works when i know the pdf file (Already existing) and given in the link like /bin/abc/test/download/test.pdf,
    how can this be possible for crystal viewer, or thru SDK exporting of any file ? I am using
    exportControl.processHttpRequest(request, response, session.getServletContext(), null);
    any pointer to this would be greatly appreciated.
    cheers
    Nithy

Maybe you are looking for

  • I'm hostage: Can synch Ipod with 5.0 but not 6.0

    I posted about this issue before, but want to resurrect the issue as there is definately a problem with the Itunes 6.0 and my Ipod and there must be others out there.. I managed to find a 5.0 version so I un-installed 6.0 and re-installed 5.0, Now I

  • File download from the db.

    Hello, I'm using this standard? procedure to download files from the db. CREATE OR REPLACE procedure DOWNLOAD_MY_FILE_ATTACH (p_file in number) as      v_mime varchar2(255);      v_length number;      v_file_name varchar2(2000);      Lob_loc BLOB; be

  • I want to open a PDF file and i can't? any advice?

    I want to open a PDF file and i can't? any advice?

  • Permissions not being fixed

    i tried to fix permissions on my macbook and it seemed to work fine, but five minutes later, i fixed permissions again "just to check" and i figured out that my permissions are not being fixed. What can i do?

  • Apple Movie Trailers Website not displaying Correctly

    Hi, for a few days now when I go to Apples Movie Trailer Website, there's a gap where the trailers should be. Here's a screenshot: http://img198.imageshack.us/i/screenshot20100412at422.png/ Does anyone else notice this?