Exception while creating a excel file in BPM 10g

Hi,
We are facing following issue while creating an excel file from BPM.
java.lang.reflect.InvocationTargetException 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:597) at fuegoblock.net.web.NewJspAjaxController.processMethodInvocation(NewJspAjaxController.java:264) at fuegoblock.net.web.NewJspAjaxController.service(NewJspAjaxController.java:46) at fuego.web.execution.servlet.ServletRedirector$ControllerRedirector.forward(ServletRedirector.java:197) at fuego.web.execution.servlet.ServletRedirector.redirect(ServletRedirector.java:58) at fuego.web.papi.TaskExecutor.processRedirect(TaskExecutor.java:224) at fuego.web.papi.TaskExecutor.execute(TaskExecutor.java:104) at fuego.workspace.servlet.ExecutorServlet.doAction(ExecutorServlet.java:117) at fuego.workspace.servlet.BaseServlet.doPost(BaseServlet.java:229) at fuego.workspace.servlet.BaseServlet.doGet(BaseServlet.java:220) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at fuego.workspace.servlet.AuthenticatedServlet.service(AuthenticatedServlet.java:138) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48) at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: java.lang.NoClassDefFoundError: org/apache/poi/ss/usermodel/Workbook at xobject.Views.ReportingView.exportToExcel(ReportingView.xcdl:9) ... 35 more Caused by: java.lang.ClassNotFoundException: org.apache.poi.ss.usermodel.Workbook at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 36 more
There is a JSP file which invokes the method of BPM, which inturn creates a excel file.
In JSP we are calling the method in the following way:
function exportSelectedItemsToExcel(){
     var url="<f:invokeUrl var='reportingView' methodName='exportToExcel'/>";
     url = url + "&bpmRespContentType=application/vnd.ms-excel";
     var windowHandle = window.open(url,'windowName','width=800, height=600, resizable=1, menubar=1');
POI jars are used to create the excel.
Also we recently did the migration and applied a patchset of 10.3.3 on 10.3.2. In the previous verison(10.3.2) it was working perfectly fine. When i am trying to test it on localstudio, it is generating the excel file properly.
Have any one faced any such issues while migration or any other time?

Manifests are saved with the .mf file extension. Rename your manifest mainfest.mf.

Similar Messages

  • RemoteMartException exception while saving generated Excel file

    I am getting RemoteMartException exception while saving generated Excel report in our production system. We are using Brio query and classes in sqrib package to create an excel file.
    We did NOT make any changes in the application code recently, suddenly this problem started coming, We also observed that only limited number of users are affected. For other no issues.
    Is there any change in directory properties such as “owner” would result in this behavior? How to find out the location of user directories where the reports are getting stored?
    ####<Apr 23, 2008 1:28:28 PM EDT> <Error> <AvisInteractive> <e2psavcinweb01> <AIProdSvr01> <Thread-23> <<anonymous>> <> <000000> <QueryRunner
    com.oneanswer.avisinteractive.exceptions.AvisInteractiveException: Failed to save file to user directory
         at com.oneanswer.avisinteractive.dod.queryrun.QueryRunner.saveExcelToUserDirectory(QueryRunner.java:279)
         at com.oneanswer.avisinteractive.dod.queryrun.QueryRunner.run(QueryRunner.java:169)
         at com.oneanswer.avisinteractive.threads.ThreadPool$WorkerThread.run(ThreadPool.java:174)
    Caused by: com.sqribe.rm.ReportMartException: 1000095
         at com.sqribe.rm.SessionImpl.submit(Unknown Source)
         at com.sqribe.rm.ReportMartEntityImpl.update(Unknown Source)
         at com.sqribe.rm.VersionedObjectImpl.update(Unknown Source)
         at com.oneanswer.utils.hpsutils.HPSCategoryHelper.saveFileToCategory(HPSCategoryHelper.java:115)
         at com.oneanswer.avisinteractive.dod.queryrun.QueryRunner.saveExcelToUserDirectory(QueryRunner.java:266)
         ... 2 more
    >

    Ensure that you have not opened any excel file or text file with similar name.
    thanks
    G. Lakshmipathi

  • Exception while creating a jar file for bean

    Friendz,
    I am getting this error whenever i tried to create a jar file.
    I am using win 98 os and jdk1.4 please tell me what error it is
    C:\bean\programs\spectrum>jar cfm a.jar manifest.mft spectrum.class
    java.io.IOException: invalid header field
    at java.util.jar.Attributes.read(Attributes.java:355)
    at java.util.jar.Manifest.read(Manifest.java:162)
    at java.util.jar.Manifest.<init>(Manifest.java:52)
    at sun.tools.jar.Main.run(Main.java:124)
    at sun.tools.jar.Main.main(Main.java:904)
    Contents of manifest template file:
    Name:spectrum.class
    Java-Bean:True

    Manifests are saved with the .mf file extension. Rename your manifest mainfest.mf.

  • Thread was being aborted Exception while creating large number of Sites in SharePoint 2013

    Hi All,
    I am getting threading exception while creating a large extent of sites in SharePoint 2013. I am reading data from an excel file and then looping each row. The sites are creating for first two rows then i am getting exception. This code working fine in dev
    server but not in UAT server. I tried with changing maxRequestLength in web.config but not working. And also followed the below link.
    http://support.microsoft.com/kb/928756
    My code as follows-
    private void CreateSites(DataRow dr)
                try
                    using (SPSite site = new SPSite(OtherSiteCollection)) // I am creating sites in another site collection
                        using (SPWeb web = site.OpenWeb())
                                SPWeb newWeb = null;
                                SPWebTemplateCollection templates = site.RootWeb.GetAvailableWebTemplates(1033);
                                SPWebTemplate template = (from SPWebTemplate m in
                                                              templates
                                                          where m.Title == "SiteTemplate"
                                                          select m).FirstOrDefault(); //Here i am using custom template
        string siteName = dr["Site Name"].ToString();
                                newWeb = web.Webs.Add(siteTitle, siteTitle, siteDescription, 1033, template, true, false); //Getting exception here.
                                newWeb.Update();
                                newWeb.Dispose();
                catch (Exception ex)
                    lblMsg.Text = "Exception in create sites : " + ex.Message + ";" + ex.StackTrace + ";" + ex.ToString()
    I am getting error as-
    Exception in create sites: Thread was being aborted.;   at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent,
    String& bstrWebTemplate, Int32& plWebTemplateId)
       at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
       at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate)
       at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate)
       at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
       at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
       at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId)
       at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, SPWebTemplate WebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
       System.Threading.ThreadAbortException: Thread was being aborted.
       at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32&
    plWebTemplateId)
       at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, String& bstrWebTemplate, Int32& plWebTemplateId)
       at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate)
       at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate)
       at Microsoft.SharePoint.SPWeb.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
       at Microsoft.SharePoint.SPWeb.SPWebCollectionProvider.CreateWeb(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean bCreateUniqueSubweb, Boolean bConvertIfThere, Guid appInstanceId)
       at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, String strWebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere, Guid appInstanceId)
       at Microsoft.SharePoint.SPWebCollection.Add(String strWebUrl, String strTitle, String strDescription, UInt32 nLCID, SPWebTemplate WebTemplate, Boolean useUniquePermissions, Boolean bConvertIfThere)
    Thread was being aborted.;   at System.Threading.ThreadAbortException: Thread was being aborted.
    Can anyone please help. Thanks!
    dinesh

    If you do this from a Console application, does it succeed?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Warning while downloading an Excel file from WD ABAP

    Hi folks,
    In one of requirements, Client wants to download all the data that is appearing on the screen ( WD ABAP Application ) to an Excel with a layout in different manner.
    We achieved this with Simple Transformations.
    Now the question is while downloading the excel file, the framework/other  is throwing an Warning like
    " The file you are trying to open, 'info.xls', is in a different format than specified by the extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now? "
    Note: All the users of my client are using MS Office 2002 / 2003.
    I am using the following code........!
    *------ Call Transformation for Excel OUTPUT
      CALL TRANSFORMATION ZEXCEL_OUTPUT
          SOURCE
                 t_dates     = t_dates
                 t_info        = t_info
          RESULT XML l_xml_string.
    REPLACE ALL OCCURRENCES OF '<?xml version="1.0" encoding="utf-16"?>'  l_xml_string WITH '<?xml version="1.0"?><?mso-application progid="Excel.Sheet"?>'.
    **-- Call Function Module for converting string data to XSTRING
      CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text           = l_xml_string
          mimetype = 'application/xml'
        IMPORTING
          buffer      = l_xml_xstring
        EXCEPTIONS
          failed   = 1
          OTHERS   = 2.
      CALL METHOD cl_wd_runtime_services=>attach_file_to_response
        EXPORTING
          i_filename       = 'info.xml'
          i_content        = l_xml_xstring
          i_mime_type   = 'application/vnd.ms-excel'.
    With this code I am generating a file of type XML SPREADSHEET 2003. While opening this file I am getting the above message which the user unwanted......
    Can any one help me on this -
    > How to avoid this warning?
    Thanks and Regards,
    Aneel Danda
    Edited by: danda aneel on Jul 13, 2010 1:43 PM

    Firstly, Thanks for Your quick Response, Thomas.
    Even though what ever may be the file name I am passing either info.xml or Info.xls , In error info.xls is coming.
    Kindly provide me an alternative on this  XML doesn't seem like it would match the 'application/vnd.ms-excel'.
    what is the supported format.?
    Similarly, It is not considering the UTF-8 / UTF-16 for xml.........same result is appearing in the output.
    Edited by: danda aneel on Jul 14, 2010 7:52 AM

  • How do I create an excel file that has the volume output and the time at which it occured?

    Hello:
    I am using Labview to control a New Era Pump Systems automatic syringe pump and to record diameter measurements from a LaserMike optical comparator. My program is fully functional, the code is attached with all auxilliary files in the NE-50X folder. I mostly understand my program, I used drivers for the NE-50X pump found on the NI website to build my code and added to it as needed.
    If anyone has ideas about how to do any of these three things, your help is greatly appreciated. I have the output from the syringe pump going into a line graph while I run the test with the time on the x-axis and volume on the y-axis. How would I be able to create an excel file from this information? I would like the excel file to have the time in one column and the volume at that time in the next column. I though that I had wired it correctly, however I feel that the time seems to be a little off and very exact. Attached is the block diagram of what I have done.
    Hello:
    If anyone has ideas about how to do any of these three things, your help is greatly appreciated.
    Attachments:
    RATETEST.vi ‏202 KB

    Let me start by answering the specific question, and then I will provide some suggestions on the code.
    The function you want is the "Write to Spreadsheet File", which you're already using, albeit in a confusing means (more later). I was not able to find any place in your code where you're actually acquiring time information, so I don't understand your comment about the time not being exact. (I'm assuming you mean "not", even though that word was not in your actual sentence.)
    As for the code:
    As I mentioned, you're using the "Write to Spreadsheet File" twice, as well as the "Write to Measurement File" Express VI. All three seem to be logging the same information, though one of the "Write to Spreadsheet File" functions is logging some sort of volume and diameter information. Please pick one.
    You're looping around the path for one of the "Write to Spreadsheet File" functions, but not for the other two functions. Why are you looping the path in the first place?
    You' re continuously accruing data into an array to put onto an XY Graph. Please keep in mind that this means the program will slow down as it progresses as this array gets larger and larger, and LabVIEW needs to shuffle memory around. Depending on how fragmented your memory is, you may find the program will crash since LabVIEW cannot allocate a large enough contiguous block of memory for the array.
    Your wiring really needs to be cleaned up. Tip: Right-click on a wire and select "Clean Up Wire".
    In the middle of the diagram you have a case structure in which the True part has a single iteration loop that's adding 1 to the iteration and updating some local variable, and in the False part you're doing something else with it. I have no idea what you're trying to do, but surely there must be a better way to do it.
    You seem to have two tank indicators on top of each other on the front panel and then flipping the visibility of them based on some value. I would think that it would be easier to simply display both at the same time, no? As a user, I would find it somewhat perturbing to see the tanks appear and disappear.

  • How to create an EXCEL file in Presentation server

    hello experts,
    please suggest  me a solution for the following problem :
    I have an internal table with some data.
    how can i create an excel file with that data in Presentation Server.
    Thanks & Regards
    sasi.

    hi,
        u can use FM: 'DOWNLOAD'.
    it will prompt u for destination - just give the requd filename and extension.                      
    Ex:
        call function 'DOWNLOAD'
             exporting
                 filename                =
                  filetype                = 'DAT'
             tables
                  data_tab                = tb_output
                  fieldnames              = tb_fld_nam
             exceptions
                  invalid_filesize        = 1
                  invalid_table_width     = 2
                  invalid_type            = 3
                  no_batch                = 4
                  unknown_error           = 5
                  gui_refuse_filetransfer = 6
                  customer_error          = 7
                  others                  = 8.
    where,
             tb_output = internal table having the fields which u want in the O/P
    Ex:
             data:  begin of tb_output occurs 0,
                               name_1(20)      type c,
                               name_2(20)      type c,
                       end of tb_output.
             tb_fld_nam = Field headings :
    Ex:
             data:  begin of tb_fld_nam occurs 0,
                            name(25)              type c,
                      end of tb_fld_nam.
                     tb_fld_nam-name = 'Name 1'.
                     append tb_fld_nam.
                     tb_fld_nam-name = 'Name 2'.
                     append tb_fld_nam.
    Thanx & Regards,
    Ajoy

  • Changes in date format while creating/downloading the file

    Hi All,
    Can any one let me know how does the system determines which date format should it apply while creating/downloading the file.
    Issue :
    When I create/download the file generated by report RTXWCF02 using unix level acess the Date format of a field in file is DD.MM.YYYY where as in user profile i can see its in MM/DD/YYYY.
    I dont understand how system determines the date format and How we can change it. Please suggest.
    Regards,
    Ravi Kasnale

    I would suggest you to use ALV_XXL_CALL if your want to keep your data formats intact.
    like this -   CALL FUNCTION 'ALV_XXL_CALL'
           EXPORTING
                i_tabname           = 'T_GRID'   " Name of your internal table
                it_fieldcat         = t_fcatk[]      "Your LAV grids catalog.
           TABLES
                it_outtab           = t_grid         "Internal table itself
           EXCEPTIONS
                fatal_error         = 1
                no_display_possible = 2
                OTHERS              = 3.
      IF sy-subrc <> 0.
        MESSAGE e806(bk).
      ENDIF.
    hope it helps.

  • Exception while creating JCo client connection Failed to create

    Hello all -
       I am trying to create JCo metadata connections and I am getting the below error trace.
    Exception while creating JCo client connection Failed to create new JCO client connection SAP_R3_HumanResources_Metadata: com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to change password for key SAP_R3_HumanResources_Metadata in secure storage at com.sap.tc.webdynpro.serverimpl.wdc.sl.SecureStorageWrapper.changePassword(SecureStorageWrapper.java:149) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SystemLandscapeFactory.createJCOClientConnection(SystemLandscapeFactory.java:299) at com.sap.tc.webdynpro.services.sal.sl.api.WDSystemLandscape.createJCOClientConnection(WDSystemLandscape.java:107) at com.sap.tc.webdynpro.tools.sld.ButtonBar.onActionFinish(ButtonBar.java:265) at com.sap.tc.webdynpro.tools.sld.wdp.InternalButtonBar.wdInvokeEventHandler(InternalButtonBar.java:265) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176) Caused by: com.sap.security.core.server.securestorage.exception.ObjectStorageException at com.sap.security.core.server.securestorage.remote.RemoteSecureStorageClientContextImpl.storeObject(RemoteSecureStorageClientContextImpl.java:600) at com.sap.tc.webdynpro.serverimpl.wdc.sl.SecureStorageWrapper.changePassword(SecureStorageWrapper.java:137) ... 33 more
    Could anybody please suggest what is wrong with this creation?
    Thanks much!!

    Hi Maria,
    Please update the host and sevice file first then check the SLD test and SLD Data supplier in visual admin.
    Also check and verify the data using in the Jco destination creation.
    Hope it will helps
    Regards
    Arun Jaiswal

  • Create an excel file from java

    I am using Jakarta's POI to create an excel file from MySql. The POI works well when a samll amount of data was written from MySql (created .xls file less than 3500KB). The problem is when a large amount of data need to be written to an excel file, java.lang.OutOfMemoryError Exception in thread "main" appears. In my project, I really need to have a large amount of data to be wriiten ton excel file. Do somebody has good solution for it?
    Thanks

    What about using some text files like csv
    (comma-separated value) file? It is plain text but
    Excel (and other spreadsheet programs) will be able to
    read it.
    But then there will be no formatting and bells and
    whistles. It was just an idea.Excel will also read HTML <TABLE>'s, with full formatting. There are some extra tags for numeric formatting, also. Just create an HTML table, and save to a file with .xls extension, e.g.:
    <TABLE>
    <TR bgcolor="#00FF7F">
    <TH>Agency ID</TH>
    <TH>POS ID</TH>
    <TH>Machine Serial</TH>
    <TH>Disk Serial</TH>
    <TH>MAC ID</TH>
    <TH>System Manufacturer</TH>
    <TH>Machine Type</TH>
    <TH>BIOS Manufacturer</TH>
    <TH>BIOS Version</TH>
    <TH>BIOS Date</TH>
    </TR>
    <TR bgcolor="#9ACD32">
    <TD>1000</TD>
    <TD>1069</TD>
    <TD STYLE='vnd.ms-excel.numberformat:@'>US215199248</TD>
    <TD STYLE='vnd.ms-excel.numberformat:@'>5C5AE88F3</TD>
    <TD STYLE='vnd.ms-excel.numberformat:@'>000423155334</TD>
    <TD>Hewlett-Packard</TD>
    <TD>Desktop</TD>
    <TD>American Megatrends Inc.</TD>
    <TD>JA.01.03US</TD>
    <TD>07/19/2001</TD>
    </TR>
    </TABLE>

  • Create an Excel File Using OPEN DATASET Command

    Hey, everyone.
    How can I create an Excel file by using OPEN DATASET command ??
    The file is created but the columns are no seperated like thay should.
    I need to seperate the internal table's fields with a comma - How can I do it ?
    Here's my code:
    OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
    IF SY-SUBRC = 0.
       LOOP AT gt_vend_info into gwa_vend_info.
         TRANSFER gwa_vend_info TO filename1.
         IF SY-SUBRC <> 0.
           EXIT.
         ENDIF.
       ENDLOOP.
    ENDIF.
    Thanks in advance.

    Hi Beki,
    REPORT  ZTESTAA.
    TYPE-POOLS:TRUXS.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          END OF ITAB.
    DATA:
    ITAB1 TYPE TRUXS_T_TEXT_DATA.
    SELECT  VBELN
            POSNR
         UP TO 10 ROWS
         FROM VBAP
         INTO TABLE ITAB.
    CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
      EXPORTING
        I_FIELD_SEPERATOR    = ';'
      TABLES
        I_TAB_SAP_DATA       = ITAB
      CHANGING
        I_TAB_CONVERTED_DATA = ITAB1
      EXCEPTIONS
        CONVERSION_FAILED    = 1
        OTHERS               = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO         WITH SY-MSGV1
    SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
    IF SY-SUBRC = 0.
    LOOP AT gt_vend_info into gwa_vend_info.
    TRANSFER gwa_vend_info TO filename1.
    IF SY-SUBRC <> 0.
    EXIT.
    ENDIF.
    ENDLOOP.
    ENDIF.
    the above code give CSV format file, all fields will be separated by ';'
    Regards
    vijay

  • Help creating an excel file

    I am trying to create an excel file from a table in sql server.
     I want to basically copy the template file I created into a new folder, then input data to this new file.
    However, I am having trouble because the package wont run because the excel connection manager is pointing to the file that has yet to be created.

    Hi lrj1985,
    If I understand correctly, you would like to create Excel Connection Manager dynamically. In other word, you want to new an Excel file every time the package run. Am I right?
    If so, we can use expression in ExcelFilePath to name the file dynamically. We can create the destination sheet every time before the data flow task is running. Here are the detailed steps:
    Creae a dummy Excel in a specified folder
    New a Excel Connection Manager, and point to the file we created in step1. Yes, it is pre-created. But it won't be used while the package is running
    New a variable, use expression in it to dynamically set its value. This value is going to be used as the ExcelFilePath in runtime. The expression can be something like this: "D:\\Libraries\\Desktop\\Excel\\"  + SUBSTRING( (DT_WSTR, 30) GETDATE(), 1,
    10)+   "_destination.xls"
    Right click the Excel Connection Manager we created in step2, click Property
    In the properties window, click Expressions
    In the Expression window, set Property as ExcelFilePath, and the value as variable we created in step 3
    Now, go to Control flow, add a Execute SQL Task before Data Flow task.
    In the Excel SQL Task, set connection type as Excel, connection as the connection we created in step1, and the SQL Statement as something like the following one
    CREATE TABLE `Excel Destination` (
    `Id` Double,
    `Value` LongText
      9. Go ahead, and add the Data flow task
    After that, each time we run the package, a new Excel file will be created. We can then use File Sytem Task to move it to a specified folder.
    Thanks,
    Jinchun Chen

  • Error, while creating a control file

    Hi All,
    DB Version :- SQL*Plus: Release 10.2.0.3.0
    I am in process of carrying out full db refresh from cold backup. I came across with following, while creating a contrl file. strange to see two dbf's has same file_id. Please help me to solve this issue.
    ==
    SQL> @a.sql
    CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
    ERROR at line 1:
    ORA-01503: CREATE CONTROLFILE failed
    ORA-01167: two files are the same file/group number or the same file
    ORA-01110: data file 6: '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf'
    ORA-01110: data file 6: '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf'
    ===
    hare krishna

    Thanks.. Find below the a.sql contents.
    CREATE CONTROLFILE SET DATABASE LNRATU2 RESETLOGS NOARCHIVELOG
    MAXLOGFILES 5
    MAXLOGMEMBERS 3
    MAXDATAFILES 300
    MAXINSTANCES 1
    MAXLOGHISTORY 58720
    LOGFILE
    GROUP 2 (
    '/data/oracle/LNRATU2/redo01/LNRATU2_redo02a.dbf',
    '/data/oracle/LNRATU2/redo02/LNRATU2_redo02b.dbf'
    ) SIZE 500M,
    GROUP 3 (
    '/data/oracle/LNRATU2/redo01/LNRATU2_redo03a.dbf',
    '/data/oracle/LNRATU2/redo02/LNRATU2_redo03b.dbf'
    ) SIZE 500M
    DATAFILE
    '/data/oracle/LNRATU2/data01/LNRATU2_audits_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_03.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_04.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_05.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_06.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_07.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_08.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_09.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_10.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_11.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_12.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_13.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_14.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_15.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_16.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_17.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_18.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_19.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_20.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_21.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_22.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_23.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_24.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_25.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_26.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_27.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_28.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_29.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_DATA01_30.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_03.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_04.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_05.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_06.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_07.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_08.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_09.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_10.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_11.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_12.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_13.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_14.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_15.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_16.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_INDX01_19.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_DATA01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_INDX01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_MCINFO_LOB01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_quest_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RATEOD_LOB01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_DATA01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_02.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_INDX01_03.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_RMS_LOB01_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_sysaux_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_system01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_tools_01.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_UNDOTBS101.dbf',
    '/data/oracle/LNRATU2/data01/LNRATU2_users_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_audits.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_31.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_32.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_33.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_34.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_35.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_36.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_37.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_38.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_39.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_40.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_DATA01_41.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_17.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_18.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_20.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_21.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_22.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_23.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_24.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_25.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_26.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_27.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_28.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_29.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_30.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_31.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_32.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_33.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_34.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_35.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_36.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_37.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_INDX01_38.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_quest_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RATEOD_LOB01_02.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_03.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_04.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_DATA01_05.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_04.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_05.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_06.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_RMS_INDX01_07.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_statpack_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_sysaux_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_system01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_tools_01.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_UNDOTBS1_02.dbf',
    '/data/oracle/LNRATU2/data02/LNRATU2_users_01.dbf'
    CHARACTER SET WE8ISO8859P1
    hare krishna

  • Error While uplaoding a EXCEL file in Web dynpro - HR_KR_XSTRING_TO_STRING

    Hi,
        I am getting an error while uploading an excel file in web Dynpro application. i am using the HR_KR_XSTRING_TO_STRING this function. I am getting the following error message 'Unable to interpret    as a number'.

    First of all, are you sure you know what you are working with here.  If this is standard Excel file in the Microsoft binary/propriatery format there is not function module or class in ABAP that can magically just transform this to a character string.  You should search the forums as this has been discussed extensively.  On that topic, please also do not post duplicate threads.  I have already locked your other thread with the same basic question.
    Instead of the binary/propriatery format of Excel, the file should be saved on the client as a text based format - like XML or Text Tab Delimited. You can then use several different options on the server to convert the XSTRING to STRING and process the content (becuase it was text based to begin with).  You could use CL_BCS_CONVERT, the function modules in the function group SCMS_CONV, or the class CL_ABAP_CONV_IN_CE.

  • Create a Excel File in a Background Job

    Hi SAP Gurus,
    I am trying to create an Excel file using a background job but it is not possible.
    In foreground mode i get a file.
    Can someone give an explanation for that? Or someone have a workaround ??
                   Best Regards
                          João Fernandes

    João,
    If you have successfully demonstrated that SAP can write an output to an excel file, then it can do this in background as well as foreground.  The problem is probably not with the fact that it is 'Excel', but that it is trying to write a file in the background to a destination file location that is unknown to the system.
    Generally, without special setup, SAP software is unaware of most file locations that are outside of the SAP system itself.  When you log on through the SAP Gui, the SAP back end can "learn" about certain additional file locations through your PC setup and the SAPGUI session.  This 'knowledge' is lost as soon as you commit your program to a background process.
    Talk to your Basis person, and tell him what you wish to do.  This functionality is possible to do, but probably not in the way you are expecting.
    Best Regards,
    DB49

Maybe you are looking for

  • Forced open word document when value for merged field required in document is blank

    Is there any way that I can make a word 2010 document open? The word document contains fields which are linked to a window form fields which have values input by users which then are saved to the database and also merged into the document's fields. I

  • Issue in starting Netweaver

    Hi All, I am using Netweaver version Netweaver CE 7.1 EHP1 installed in G:drive, got some issues with OS so i repaired the OS (Using windows repair option). After that when i am trying to start the SAP Management Console, repeatly getting the below m

  • Screen Share without Mouse

    In mountain Lion, screen sharing from home MBP to office iMac. I turned off the wireless mouse before leaving the office to save battery life. In screen share I cannot move the cursor. Is it because iMac thinks it has no mouse, and won't recognize re

  • Can't delete sparsebundle and can't reformat TC

    i am backing up my MBP to a Time Capsule (via WiFi) connected to my Mac Pro and i want to reformat the drive and start over. basically i have one sparsebundle from the mac pro on it and one sparsebundle from the MBP and i cannot for the life of me fi

  • ORA-04028 error when deploying mapping

    The scenario is: I have this simple mapping between Table01@db01 and Table02@db02; the validation is success. But, when i try to deploy the mapping it errors out "PL/SQL: ORA-04028: cannot generate diana for object" Have anybody encountered this issu