Excel Dump Issue

Dear All,
    I have used a standard FM MS_EXCEL_OLE_STANDARD_DAT to get the data from internal table directly into excel.
But the issue is if the length of Header field and Respective Item field is not equal then i am getting short dump.
I should have the item table field data should be independent of Header data field length.
eg:
Project Status           Start Date    
NOCH                     4/1/2008
in the above given eg header of 1st field Project Status is 14 char, where as NOCH is only 4 char,
but when i give the same i am getting Short dump when i give NOCH also of 14 char then it is not giving any short dump.
Appreciate for any replys
Thanks & Regards
NSK

Kindly Refer ...
TABLES: USR03,DD02L.
DATA: YX030L LIKE X030L.
DATA BEGIN OF YDFIES OCCURS 0.
     INCLUDE STRUCTURE DFIES.
DATA END OF YDFIES.
DATA: BEGIN OF FLDITAB OCCURS 0,
      FLDNAME(11) TYPE C,
      END OF FLDITAB.
DATA ITABUSR03 LIKE USR03 OCCURS 0 WITH HEADER LINE.
DATA TNAME LIKE DD02L-TABNAME.
SELECT * FROM USR03 INTO TABLE ITABUSR03.
TNAME = 'USR03'.
PERFORM GETFIELEDS.
PERFORM SHOW123.
FORM GETFIELEDS.
     CALL FUNCTION 'GET_FIELDTAB'
      EXPORTING
          LANGU              = SY-LANGU
          ONLY               = SPACE
          TABNAME            = TNAME
          WITHTEXT           = 'X'
      IMPORTING
          HEADER             = YX030L
      TABLES
          FIELDTAB           = YDFIES
      EXCEPTIONS
          INTERNAL_ERROR      = 01
          NO_TEXTS_FOUND      = 02
          TABLE_HAS_NO_FIELDS = 03
          TABLE_NOT_ACTIV     = 04.
     CASE SY-SUBRC.
        WHEN 0.
          LOOP AT YDFIES.
               FLDITAB-FLDNAME = YDFIES-FIELDNAME.
               APPEND FLDITAB.
          ENDLOOP.
        WHEN OTHERS.
             MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              with  SY-SUBRC.
      ENDCASE.
ENDFORM.
FORM SHOW123.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
     EXPORTING
          FILE_NAME                 = 'C:USR03.XLS'
          DATA_SHEET_NAME           = 'USER LIST'
    TABLES
         DATA_TAB                  =  ITABUSR03
         FIELDNAMES                =  FLDITAB
    EXCEPTIONS
         FILE_NOT_EXIST            = 1
         FILENAME_EXPECTED         = 2
         COMMUNICATION_ERROR       = 3
         OLE_OBJECT_METHOD_ERROR   = 4
         OLE_OBJECT_PROPERTY_ERROR = 5
         INVALID_FILENAME          = 6
         INVALID_PIVOT_FIELDS      = 7
         DOWNLOAD_PROBLEM          = 8
         OTHERS                    = 9.
IF SY-SUBRC  0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM.
Regards
Renu

Similar Messages

  • Export to excel - Formatting issue - OBIEE 11.1.1.5

    Hi All,
    When an analysis is exported to Excel, some of the values are showing some strange behaviour i.e. some values are multiplied by some huge number as you can see in the excel screenshot below.
    BI Analysis Screenshot:
    http://i44.tinypic.com/331eopf.jpg
    Excel Screenshot:
    http://i44.tinypic.com/34snqko.jpg
    Is this BI issue or an Excel setup issue? And how to fix it?
    Thanks in advance.

    Hi,
    We too faced the similar issue.
    We tried ROUND function and it was coming with proper formatting.
    Try and let me know further.
    Regards,
    MuRam
    NOTE: Please mention if this resolved your problem/still facing and close the thread to assist others with similar problems.

  • WebI to Excel Format Issues

    Hi Guys,
    I have a problem that when I export a BO report to Excel, the bar graph from BO gets very scrunched up and narrow, with the X-axis barely visible once it goes to Excel. But in BO, the report looks great. With all the cells aligned and matching. Is there a way to manipulate something in the BO report to make it Excel friendlier?
    thanks in advance, will award points.
    -preya

    Hi All,
    Trying to replicate WEBI Excel Download issue.
    Operating system : Windows 7
    Internet Explorer : IE8 Version 8.0.7600.16385CO.
    Jre Version : 1.6_ greater than 1.8 version.
    If anybody having above specifications in your machines Please try to save a webi reports to excel format and send me the results.

  • Saving BO reports in excel-time issue

    Hi,
    I am facing an issue when i try to save a BO6.5 report in the excel format.when Busines objects saves reports into excel the issue is that the time value in Business Objects varies completley and is incorrect.There is a time difference of 11 hours
    Can anyone please advise me on this issue.
    Cheers,
    Anu

    Hi,
    Try to check your system time (local settings i.e control panel-> time....) is displaying correctly or not. As BO will take your local system date/ time in reporting.
    Cheers,
    Suresh Aluri.

  • Excel saving issues error: Someone else is working right now, please try again later"

    Excel saving issues  error: Someone else is working right now, please try again later"        
    I am running W8.1 with Office 2013 and accessing a shared drive, When I try to save an excel document back to the shared drive - I get the error msg
    "Someone else is working in "servername\share\filename" right now, please try again later"
    I can see that there is no one else accessing this file at all. I created a brand new file, added content, saved and got the same error.
    When I use a W7 with Office 2013 accessing the same share drive, accessing the same file - I am able to save the document without issues.
    Does anyone have any ideas what this could be.  Both of these situations are while working from home using a company vpn connection. It does not happen when in the office using either W8.1 or W7.
    Peter.

    Hi,
    Saves when saving locally. Its looking more like W8.1 on a VPN connection that is causing the issue. What can I look for
    I mean you can try to save it to local drive(like drive c:) and then copy it to shared drive.
    If you gain the access to the shared file server, you can check the file status when you open this file.
    Also you can check your event log to see which process causes this error.
    Since I'm not familiar with VPN, I'd suggest you post your issue to the following forum:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=windowsserver

  • Blue dump Issue

    Hi
    I get blue dump issue 5 or 6 time in day .
    Can you tell the reasons and the overcome solutions for this.
    Regards
    Amol 

    You will have to upload the .DMP file for analysis because there are literally thousands of things that can cause your system to crash.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Excel charset issue. Scrambled output.

    I faced this issue many times, but whenever the issue recurs, I end up with no clue of what's going wrong.
    Trying to dump data to an excel file:
                        iResponse.setHeader("application/vnd.ms-excel; charset=UTF-8", "content-type");
                        iResponse.setHeader("attachment; filename = \"" + reportFileName() + "\" ", "content-disposition");
                        iResponse.setContentEncoding("UTF-8");
                        iResponse.setContent(fileData());
    The excel file contains international languages scrambled (e.g. Chinese). I tried bigendian as charset, but still the output is scrambled.
    I checked the response using firebug, my output data is fine.
    Can anybody throw some pointers on this issue.
    Thanks in advance,
    Senthil

    reviving.

  • Excel Export issue in Web Dynpro ABAP

    Hello,
    We are facing a problem and need suggestion. In one of our WD Abap applications the output is displayed in an ALV table. We have a button (provided by standard ALV functions) to export Excel.
    So far so good, but the issue is the amount columns display in the portal show the values as per user default settings. For example 123.456,78 whereas on export to excel it shows 12345.78
    Is there some way to export to excel with the users regional settings (same as displayed on portal). So far we check, almost all columns follow the regional user default settings except the amount column. Is there someway we can fix this.
    Users mention it worked before but not now. Its difficult to verify this statement now.
    Kindly help how we could solve this issue.
    Best regards,
    Moderator message: please have a look in the separate forum for Web Dynpro ABAP.
    Edited by: Thomas Zloch on Dec 19, 2010 9:31 PM

    HI,
    You cannot use GUI classes and methods in web dynpro . That will dump.
    Instead you can use file down load UI element or..
    If you have the content in xstring format use ATTACH_FILE_TO_RESPONSE method of CL_WD_RUNTIME_SERVICES class.
    Regards,
    Madhu

  • FDM Excel Import Issue - Data not loading.

    I cannot get an excel mappping table to load to FDM. I am working on the Entiy dimension. I noticed a few things when trying to trouble shoot this. If you delete a record, the excel file will load that one entity back to the mapping table with the changes from the excel file. Also, if I delete the table and load a new mapping table with excel it will add the first record. The only thing that changes on the new load is the data key. I could not find anything in the Oracle forum on this.
    When you manually load this data you do not add the sequence number, which seems to be always zero , the data key, which seems to be incrementing itself some how(but not sequentially) , and the partion key and dimname , which appear to not change. I was assuming that the issue was in the way I was adding this other data. I am obviiously new to FDM, so any help would be much appreciated. Thanks!

    I am facing similar issue.
    I am trying to map ICP Entries using an excel file.
    I have made 2 mapping (explicit) entries, manually and exported it in Excel and then added all the Mappings in the same file, in proper format. when I am importing, I am not getting any error but the mapping is not getting updated and the new entries are also not getting added. so Ideally no Change in the tDatamap table.
    Environment details: FDM Version 11.1.1.3 is getting used. Target App is Essbase 11.1.1.3. able to connect to Essbase, no issues with connectivity.
    Has anyone face this issue.

  • Webi XI report export to excel--- Formatting issue

    Post Author: Sougata
    CA Forum: WebIntelligence Reporting
    We have WEBI report that contains cell with hyperlink. The value of the cell in numeric. Type is string.
    When we export this report to excel. In, Excel version is MS-office Excel 2003. In excel it is showing those green with Error --- "NUMBER STORED AS Text".
    Any solution?

    Hi Steve,
    As per my understanding, the issue occurs because Excel Destination gets the data from the source. We can change it, but once it re-validates it will change it back. This makes sense since we cannot change the data type in the actual table. To work around
    this issue, I suggest that we can add a data conversion or derived column to explicitly cast the values.
    Besides, the suggestion post by Arthur means that we can add IMEX=1 to the value of Extended Properties in the connection string of the Excel connection manager in the Properties window to specify Import Mode. For more details about the settings of IMEX,
    please see:
    https://support2.microsoft.com/kb/194124?wa=wsignin1.0
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Export to Excel - Formatting Issues

    I am using Crystal XI and Excel 2010.
    I have created a report that is Letter size and Landscape orientation.  I export it to Excel and, when I open it in Excel, the columns seem to look ok, but the segmens that are in the Report Headers (there are two) are stretched way out to the right so that printing causes two pages to be printed with the second page containing the fields that were located on the right edge of the report's headers.
    The title banner is also shifted so that, where it is centered on the report, it is now almost right aligned on the first page of the Excel sheet.
    The Page Header, Footer and Detail sections appear to be correct.
    I tried a redesign changing it to Portrait orientation and this (sort of) fixes the headings (when Excel is set o print in Landscape), but the Page Header, Footer, and Details sections are squeezed up to a third of the page width.
    I'm accepting all defaults for the export, and the Report Headers re required (ie, exporting data only is not an option).
    Is this a known issue, or is it something I'm not doing right?
    TIA

    when you export the data, do you have an option for excel data only?
    Yes I do.  It's labeled "Microsoft Excel 97-2000 - Data only (XLS)
    when you click on the export
    select to application, i believe that is the only time you get the options.
    No, the options will also appear when you select "Disk file" as the Destination.  But neither way works as advertised.
    to next step select options
    when you select the options it drops down
    on the bottom you have boxes on the left and right
    Yes, but, while there are four check boxes on the left ("Export object formatting", "Export images", "Use worksheet functions for summaries", and "Maintain relative object position"), there are only three on the right ("Maintain column alignment", "Export page header and page footer", and "Simplify page headers")
    I tried checking 1, 2, and 4 on the left and 1, 2, and 3 on the right.  No joy.
    Just now tried checking 1, 2, and 4 on the left and 1 and 2 on the right.  Also no joy.

  • Export to Excel formatting Issue

    Good Afternoon,
    I am trying to export a dataset to excel 2010, however all of the columns are exporting as DT_WSTR although the table that the data is coming from is set correctly either to money or int.
    I have tried to change the data type in the advance editor for excel destination, however when I execute the package the data type changes back.
    Any idea's?.
    Thanks
    Steve

    Hi Steve,
    As per my understanding, the issue occurs because Excel Destination gets the data from the source. We can change it, but once it re-validates it will change it back. This makes sense since we cannot change the data type in the actual table. To work around
    this issue, I suggest that we can add a data conversion or derived column to explicitly cast the values.
    Besides, the suggestion post by Arthur means that we can add IMEX=1 to the value of Extended Properties in the connection string of the Excel connection manager in the Properties window to specify Import Mode. For more details about the settings of IMEX,
    please see:
    https://support2.microsoft.com/kb/194124?wa=wsignin1.0
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • XML Publisher/Report Definition - Excel Template Issue

    Hi everyone,
    I'm Diego, and I've been getting some issue to upload/download Excel templates using XML Publisher and Report Definition.
    I've been working over Real Estate Module and I get an activity to make an Excel Report. I've made all necessary step to make an excel template; create a .xls template, uploading the file to XML Publisher Repository, creating a Report Definition associating a RDA, and so on...
    When I generate the file in the Web (DV), it doesnt work; when I download the final excel, it doesnt appear any information. It comes just the statics texts and formatting, the real data information inside xml doesn't appear at excel.
    I've made a lot of tests and changes, but without success.
    FYI, I've already made a .rtf template and it worked well.
    I'd really apreciate if anyone help me or at least having any clue about it.
    Thanks so much,
    Diego Santos

    Hi my friend,
    First of all, thanks for reply.
    I've checked the template definition, and it seems OK.
    I've created the XML Publish Repository with Object Type = TL, in excel template I didn't put any additional info, (the field Template Type = TYPE_EXCEL_TEMPLATE cames by default).
    As I told above, i've made many tests..with and without grouping, but no success.
    However, when I test it locally it works. When I test the .xls + xml using Template Viewer runs well. But when I download the .xls on Web, it didn't retrieve any data information. =/
    I've already downloaded this doc, and I'm using it as support.
    If you need any more information, pls let me know that I'll tell you in a sec.
    Thanks a lot,
    Diego

  • Smartview 11.1.2.1 In Excel accessing Issue

    Hi ,
    In my Essbase server smartview worked perfectly upto 3 months.
    Afterwards i am unable to see "Hyperion Smartview" ribbon under Excel office menu tabs.
    Reinstalled Ms office 2007 and Smarview eventhough i did not get SV Ribbon and features in excel.
    But its working fine in client systems except Essbase Installed server.
    Help me to know the reason and how do i fix it ?
    Regards
    Sekhar.
    Edited by: 894835 on Mar 14, 2012 12:03 AM

    Due to Ms office application related issue Smartview was disabled
    Now it fixed by total cleanup of Ms Office and installed Ms office and SV then enable with above instructions sent by Jasmine Pauline.
    Thanks Jasmine Pauline.
    Regards
    Sekhar
    Edited by: RSekhar on Mar 15, 2012 5:18 AM

  • Output in Excel Format Issue

    Hi all,
    I am not able to view the output in EXCEL format after registered the RTF file in the XML Publisher Administrator to run as a concurrent program.
    I am wokring in XMLP 5.6.2 and Microsoft Office 2003.
    When i preview the output as EXCEL in the options before run the conc. program, i have the following error msg and also when i view the output,it shows the output in some htm tags format not in EXCEL Format.
    java.sql.SQLException: No corresponding LOB data found : SELECT FILE_DATA, DBMS_LOB.GETLENGTH(FILE_DATA), FILE_NAME, LAST_UPDATE_DATE FROM XDO_LOBS WHERE LOB_TYPE = :1 AND APPLICATION_SHORT_NAME = :2 AND LOB_CODE = :3 AND LANGUAGE = :4 AND TERRITORY = :5 at oracle.apps.xdo.oa.schema.server.XdoLobsInputStream.<init>(XdoLobsInputStream.java:108) at oracle.apps.xdo.oa.schema.server.LobHelper.getLob(LobHelper.java:877) at oracle.apps.xdo.oa.schema.server.LobHelper.getBlobDomain(LobHelper.java:912) at oracle.apps.xdo.oa.template.server.TemplatesAMImpl.processTemplate(TemplatesAMImpl.java:2053) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:189) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721) at oracle.apps.xdo.oa.template.webui.TemplateGeneralCO.previewTemplate(TemplateGeneralCO.java:741) at oracle.apps.xdo.oa.template.webui.TemplateGeneralCO.processRequest(TemplateGeneralCO.java:158) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418) at oa_html._OA._jspService(_OA.java:88) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162) at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187) at oa_html._RF._jspService(_RF.java:102) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:534).
    please post your comments to solve this issue.
    Regards
    Prabu

    Prabhu
    adding to above post
    first fix -- No corresponding LOB data found
    then follow the steps in below post for excel output
    Excel output in EBS?

Maybe you are looking for

  • Should I create a new iTunes account for a podcast?

    We are still in the process of getting our first podcast edited and ready to go, along with the website, podcast hosting, etc... But I was curious about when we are ready to submit the podcast to iTunes.... Should I ceate a new iTunes account, dedica

  • Error while deleting a request

    Hi All, When trying to delete a request from a master data object an error appears which says: Cannot delete request DTPR_* of table RSN* for deletion. Please let me know what needs to be done here so that request is deleted. This is urgently require

  • How do I create an editable style in a template

    A site I am currently coding will need a DWT template for use with Contribute to prevent the site owner from editing things he/she shouldn't. All of the pages will essentially use a single template, except I need to change a single style on every pag

  • Resource bundles, loading in beans or in jsp or share them?

    Hi, I have a question and hope it is not a stupid one. What is the best way to work with resource bundles/messages developing faces application? One way is to load and use it in jsp. It is convenient and easy. Another is to use it within a bean. It's

  • Changing the event handler format

    Hi, on a custom SGD web frontend that I write, I create some client-side event listeners like that: eventsView.registerClientSideEventListener(IConstants.SESSION_EVT, "http://host/handler", "_top", "<listenerID>"); When the event is caught by the SGD