Error in excel uploading

Hi All,
i am accessing an excel file which has date in one of its filed in the format "DD/MM/YYYY" and this field is taken as numeric field when i execute the following code
if (cell13.getCellType() == cell13.CELL_TYPE_NUMERIC)
        Cellvalue = String.valueOf(cell13.getNumericCellValue());
String temp = Cellvalue.substring(6,10) + "-" + Cellvalue.substring(3,5) + "-" +  Cellvalue.substring(0,2);
java.sql.Date issuedt = java.sql.Date.valueOf(temp) ;
user_details.setPRJ_EN_DATE(issuedt);
the value in the variable "Cellvalue" is some integeral value coz of which substring function gives an error.

Hi Alka,
<a href="http://jakarta.apache.org/poi/apidocs/org/apache/poi/hssf/usermodel/HSSFCell.html#getNumericCellValue()">getNumericCellValue()</a> returns double. So, you can not assume that
String.valueOf(cell13.getNumericCellValue());
would return "DD/MM/YYYY" and you can not parse it in this way.
Best regards, Maksim Rashchynski.

Similar Messages

  • Error with excel upload

    Hi
    it is going to dump.
    in the debugging , when it reaches the alsm_excel_internal_table
    at filename parameter it is going to dump
    in error it is saying the wrong with filename(v_fname).
    i have declared v_fname and p_fname as
    parameters: P_FNAME LIKE RLGRAP-FILENAME MODIF ID P1,
    UNIXFILE LIKE RLGRAP-FILENAME MODIF ID P2.
    DATA:   V_FNAME TYPE STRING.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    MOVE P_FNAME TO V_FNAME.
    LEN = STRLEN( V_FNAME ).
    LEN = LEN - 3.
    IF V_FNAME+LEN(3) = 'xls'.
                PERFORM EXCEL_UPLOAD.
    ELSE.
    . PERFORM TEXT_UPLOAD.
    FORM EXCEL_UPLOAD .
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
          EXPORTING
            FILENAME                      = V_FNAME
            I_BEGIN_COL                   = '1'
            I_BEGIN_ROW                   = '1'
            I_END_COL                     = '10'
            I_END_ROW                     = '100'
          TABLES
            INTERN                        = I_XLTAB
         EXCEPTIONS
           INCONSISTENT_PARAMETERS       = 1
           UPLOAD_OLE                    = 2
           OTHERS                        = 3
        IF SY-SUBRC <> 0.
        ENDIF.
    .ENDFORM.
    pls give me a suggestion ????

    Hi,
    Even though u move p_fname to v_fname , the decleration of v_fname should be of type rlgrap-filename because the filename(of ALSM_EXCEL_TO_INTERNAL_TABLE ) is of type RLGRAP-FILENAME .
    Or u can do this
    parameters: P_FNAME LIKE string MODIF ID P1,
    UNIXFILE LIKE RLGRAP-FILENAME MODIF ID P2.
    DATA: V_FNAME TYPE RLGRAP-FILENAME .
    LEN = STRLEN( P_FNAME ).
    LEN = LEN - 3.
    MOVE P_FNAME TO V_FNAME.
    IF V_FNAME+LEN(3) = 'xls'.
    PERFORM EXCEL_UPLOAD.
    ELSE.
    . PERFORM TEXT_UPLOAD.
    Regards,
    Sachin M M
    Edited by: Sachin Mathapati on Jun 13, 2008 4:31 PM

  • I am getting this error while file uploading

    Hi!
    I am getting this error while file uploading,I can't find any solution.
    SRVE0026E: [Servlet Error]-[org.apache.commons.fileupload.FileUpload: method setSizeMax(I)V not found]: javax.servlet.ServletException: org.apache.commons.fileupload.FileUpload: method setSizeMax(I)V not found
    at com.honeywell.sdm.base.controller.SDMActionServlet.service(SDMActionServlet.java:75)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    Please help me.I have attached the bean,action ,jsp pages
    uploadInfo.jsp
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html>
    <HEAD>
    <script>
    function submitting(){
    document.uploadForm.operation.value = "uploadOrgAdj";
    document.uploadForm.action = "/uploadRecAction.do";
    document.uploadForm.submit();
    </script>
    </HEAD>
    <body>
    <html:form action="/uploadRecAction" method="post" enctype="multipart/form-data">
    Select the .xls File to upload data
    <html:file property="fileName"></html:file>
    <html:hidden property="operation" value=""/>
    <html:button property="btn" value="Submit" onclick="submitting()"></html:button>
    </html:form>
    </body>
    </html:html>
    uploadAdjForm :
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.upload.FormFile;
    public class uploadAdjForm extends ActionForm{
    private FormFile fileName;
    * @return
    public FormFile getFileName() {
    System.out.println("getFileName"+fileName);
    return fileName;
    * @param string
    public void setFileName(FormFile string) {
    System.out.println("setileNmame"+string);
    fileName = string;
    Action:
    public class uploadFinancialAdjAction extends DispatchAction{
    public org.apache.struts.action.ActionForward uploadOrgAdj(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception {
    String sForward = "UploadInfo";
    HttpSession session = request.getSession();
    String sStartIndex = null;
    String sEndIndex = null;
    try
    uploadFinancialAdjForm UploadForm=(uploadFinancialAdjForm)form;
    System.out.println(UploadForm.getFileName().getContentType().toString());
    String file=UploadForm.getFileName().toString();
    uploadFinancialAdjManager businessManager = new uploadFinancialAdjManager();
    ArrayList fileName = new ArrayList(); fileName = businessManager.getOrgAdjDetails(file);
    boolean isMultipart = FileUpload.isMultipartContent(request);
    if(isMultipart){
    // Create a new file upload handler
    DiskFileUpload upload = new DiskFileUpload();
    // Parse the request
    List items = upload.parseRequest(request);
    //Process the uploaded items
    Iterator iter = items.iterator();
    while (iter.hasNext()) {
    FileItem item = (FileItem) iter.next();
    if (item.isFormField()) {
    //processFormField(item);
    if(item.getFieldName().equalsIgnoreCase("txtStartIndex")){
    sStartIndex = item.getString();
    else if(item.getFieldName().equalsIgnoreCase("txtEndIndex")){
    sEndIndex = item.getString();
    uploadFinancialAdjForm UploadForm=(uploadFinancialAdjForm)form;
    String file=UploadForm.getFileName().toString();
    uploadFinancialAdjManager businessManager = new uploadFinancialAdjManager();
    ArrayList fileName = new ArrayList();
    fileName = businessManager.getOrgAdjDetails(file);
    }else{
    if(item.getName()!=null && !item.getName().toUpperCase().endsWith(".XLS")){
    throw new Exception("Please browse an excel file and Upload");
    session.setAttribute("fileItem",item);
    }//end of while
    session.setAttribute("startIndex",sStartIndex);
    session.setAttribute("endIndex",sEndIndex);
    request.setAttribute("FileUploadStatus","true");
    else{
    throw new Exception("Error:Form is not multipart");
    catch(Exception e)
    System.out.println(e);
    return mapping.findForward(sForward);
    }

    Plz answer for my question

  • Getting error while file uploading in struts

    Hi!
    I am getting this error while file uploading,I can't find any solution.
    SRVE0026E: [Servlet Error]-[org.apache.commons.fileupload.FileUpload: method setSizeMax&#40;I&#41;V not found]: javax.servlet.ServletException: org.apache.commons.fileupload.FileUpload: method setSizeMax(I)V not found
         at com.honeywell.sdm.base.controller.SDMActionServlet.service(SDMActionServlet.java:75)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
    Please help me.I have attached the bean,action ,jsp pages
    uploadInfo.jsp
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html>
    <HEAD>
    <script>
    function submitting(){
    document.uploadForm.operation.value = "uploadOrgAdj";
    document.uploadForm.action = "/uploadRecAction.do";
    document.uploadForm.submit();
    </script>
    </HEAD>
    <body>
    <html:form action="/uploadRecAction" method="post" enctype="multipart/form-data">
    <b>Select the .xls File to upload data </b>
    <html:file property="fileName"></html:file>
    <html:hidden property="operation" value=""/>
    <html:button property="btn" value="Submit" onclick="submitting()"></html:button>
    </html:form>
    </body>
    </html:html>
    uploadAdjForm :
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.upload.FormFile;
    public class uploadAdjForm extends ActionForm{
         private FormFile fileName;
              * @return
              public FormFile getFileName() {
                   System.out.println("getFileName"+fileName);
                   return fileName;
              * @param string
              public void setFileName(FormFile string) {
                   System.out.println("setileNmame"+string);
                   fileName = string;
    Action:
    public class uploadFinancialAdjAction extends DispatchAction{     
         public org.apache.struts.action.ActionForward uploadOrgAdj(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception {
              String sForward = "UploadInfo";               
              HttpSession session = request.getSession();          
              String sStartIndex = null;
              String sEndIndex = null;
    try
         uploadFinancialAdjForm UploadForm=(uploadFinancialAdjForm)form;
         System.out.println(UploadForm.getFileName().getContentType().toString());
         String file=UploadForm.getFileName().toString();     
    uploadFinancialAdjManager businessManager = new uploadFinancialAdjManager();
         ArrayList fileName = new ArrayList();                                   fileName = businessManager.getOrgAdjDetails(file);
              boolean isMultipart = FileUpload.isMultipartContent(request);
              if(isMultipart){
              // Create a new file upload handler
              DiskFileUpload upload = new DiskFileUpload();
              // Parse the request
              List items = upload.parseRequest(request);
              //Process the uploaded items
              Iterator iter = items.iterator();
              while (iter.hasNext()) {
                   FileItem item = (FileItem) iter.next();
                   if (item.isFormField()) {          
              //processFormField(item);
              if(item.getFieldName().equalsIgnoreCase("txtStartIndex")){          
                   sStartIndex = item.getString();          
              else if(item.getFieldName().equalsIgnoreCase("txtEndIndex")){
                             sEndIndex = item.getString();          
    uploadFinancialAdjForm UploadForm=(uploadFinancialAdjForm)form;
                             String file=UploadForm.getFileName().toString();               
              uploadFinancialAdjManager businessManager = new uploadFinancialAdjManager();
                             ArrayList fileName = new ArrayList();
                             fileName = businessManager.getOrgAdjDetails(file);
              }else{
                   if(item.getName()!=null && !item.getName().toUpperCase().endsWith(".XLS")){
              throw new Exception("Please browse an excel file and Upload");
              session.setAttribute("fileItem",item);
              }//end of while
              session.setAttribute("startIndex",sStartIndex);
              session.setAttribute("endIndex",sEndIndex);
              request.setAttribute("FileUploadStatus","true");
              else{
              throw new Exception("Error:Form is not multipart");
    catch(Exception e)
         System.out.println(e);
         return mapping.findForward(sForward);
    }

    ORA-06512: at "PREPRD.OIM_SP_RECONARCHIVAL", line 722
    ORA-00942: table or view does not exist
    ORA-01031: insufficient privileges
    (1) Check whether the OIM_SP_RECONARCHIVAL table or view exists or not...
    (2) If it exists, check whether the DEV_OIM user has enough privilege to view this table or not...
    If not, give it all privilege by login as sys as sysdba
    GRANT ALL PRIVILEGES TO DEV_OIM;
    COMMIT;

  • In KP26 excel uploading not happening with +new values+

    Kp26 the users  is doing thorugh EXCEL upload
    wants to update NEW activity  values even if Costs already posted ?
    But manually we are able to delete the values and update, but for large employee turnovers
    we cannt do it manually, so they are looking for update option which will
    erase the current data and update the fresh ones?
    the following error message appears when we try with delete button?
    The following is the error message
    Costs already posted under cost element SEC_ACT_CO. No deletion possible
    Message no. K8098
    Diagnosis
    You want to delete business process or cost center/activity type 5000010114/LE6047.
    However, you have already posted actual costs in version 0 in fiscal year 2011 under cost element SEC_ACT_CO.
    System Response
    The deletion may therefore not be executed.
    Procedure
    First reverse the posted record under cost element SEC_ACT_CO.
    Alternatively you can set all fields to zero in the plan record you have just selected. This corresponds to a deletion of the activity types/business process quantity planning on object 5000010114/LE6047.
    If the message appears several times in the error log, it could be that the actual records were posted under different transaction currencies. In this case, you must delete them all.
    Edited by: melgibson on Feb 1, 2012 4:08 PM

    thankx for the reply
    But in our case the while we checked periodwise values are not the difference which are getting posting
    rather 100 is getting multiplied with the old values.
    the Acvtivity price  was 10 for 01 to 12 periods we changed to 100
    New value     old value      posted amounts
    100     7.37     73.7
    100     7.36     73.6
    100     7.31     73.1
    100     9.5     95
    100     9.9     99
    100     11.23     112.3
    100     11.22     112.2
    100     11.22     112.2
    100     11.22     112.2
    100     11.23     112.3
    100     11.22     112.2
    100     11.22     112.2
    the user changes period values some times thats the reason above table shows different figlures
    But as per the delta logic it should be as follows
    New value     old value      User rquires
    100     7.37     100     
    100     7.31     100
    100     9.5     100
    100     9.9     100
    100     11.23     100
    100     11.22     100
    100     11.22     100
    100     11.22     100
    100     11.23     100
    100     11.78             100
    100     11.22      100
    But here the requirement is little peculiar,
    The user wants to update plan data , irrespective whether it is existing or not, with fresh
    figures which should equally distribute periodwise (not according to delta logic)  as shown above
    all should become 100?
    How that can be achieved?
    Edited by: melgibson on Feb 3, 2012 11:59 AM
    Edited by: melgibson on Feb 6, 2012 1:09 PM
    Edited by: melgibson on Feb 15, 2012 8:43 AM
    Edited by: melgibson on Feb 15, 2012 8:47 AM

  • Problem with excel upload function

    Hello all,
    I'm currently doing a modification in a program that uses this function:
      call function 'KCD_EXCEL_OLE_TO_INT_CONVERT'    
           exporting                                  
                filename    = p_file                  
                range_begin = 'A1'                    
                range_end   = 'I9999'                 
           tables                                     
                intern      = t_excel                 
           exceptions                                 
                others      = 1.                      
      if sy-subrc <> 0.                               
        berror = 'X'.                                 
        message i208(00) with 'Error Load Excel File'.
        stop.                                         
      endif.                                          
    instead of upload the content of the excel to internal table, its literally copying the content of my clipboard to it.
    Someone know why this is happening?
    My version of SAP is the 4.0b and I looked for the alsm_excel_to_internal_table function, but my version don't have it.
    Thanks

    Hi,
    an excel sheet can be uploaded in to a internal table of similar sequence and type using the following FMs
    TEXT_CONVERT_XLS_TO_SAP
    ALSM_EXCEL_TO_INTERNAL_TABLE
    I think you already checked with the FMs UPLOAD and WS_UPLOAD.
    Thanks,
    Teja.

  • Excel upload with listener

    Hi,
    I have enabled excel upload with the listener, and it actually works fine. I get the data into a collection.
    Now what if I want to store the file in the database? It seems that the file is NOT inserted into wwv_flow_files. Also the item that contains the file has no value when the page is submitted with the XLS2COLLECTION button. (If I create another button that also submits the filename is there)..
    So it seems that when this feature is enabled the file is deleted from www_flow_files when page processing starts.

    Hi Martin,
    the feature is undocumented and not officially supported for 1.1, but known to work for Excel files up to the 2003 format. XLSX (2007 onwards) is not implemented.
    Perhaps going through the discussion and examples in {thread:id=2342792} helps you solve your issue.
    -Udo

  • ADFDi Excel upload failed in a new session

    ADFDi Excel upload failed when a change was made in a locally saved ADFDi Excel file.  This should be a very common disconnected scenario.  I must miss something.  Here are high-level steps that I have done.
    1. Open a ADFDi Excel from a ADF page.
    2. Download data to Excel
    3. Modify a row in ADF table component in the Excel, then save the Excel file locally.  (If I clicked the 'Save' button instead of saving the file locally, the change was uploaded to the server correctly).
    4. Open the locally saved Excel, and accept the option to connect to the server and login.  A new session should be created in the ADF web application.
    5. Click 'No' in the popup window of "Do you want to discard the pending change?"
    6. The 'changed' indicator is shown on the changed row in the Excel.  Click 'Save' button, which has two actions - Upsync and ADFTable.upload
    7. On the server, a 'Row not found' exception is thrown from DCJboDataControl.setCurrentRowInRSI().  In this method, it tries to find the row in the ViewObject instance using the uploaded row's key.  The code is rsi.findByKey(key, 1).  I checked the value of key.  It looks correct. But no row is return from findByKey() call.  Then 'No row found' exception is thrown.
    My JDev version 11.1.1.7
    Greatly appreciate any suggestion on what could be wrong?

    HI
    I am facing the same issue. Are you able to resolve this issue or any solution around ?
    Thanks

  • Error in Excel 2007.

    We have a user who gets an error when he will start the BPC for Excel in Excel 2007. And he can not open the BPC for Excel. The following error message appears: "In order to open the file Ev4Excel.xla the file had to be repaired or it was forced to remove unredable materials. The workbook has lost its VBA projects, ActiveX controls and all other programming functions." And it can not open the BPC for Excel
    The user also has Excel 2003 installed on his computer and if he uses Excel 2003, it works.
    Is it possible to have both Excel 2003 and Excel 2007 installed on the same computer and run SAP BPC against both
    Are there some Excel add-ins that you have to install when you install the Excel 2007?

    Hi,
    In SAP BPC installation guide you will find below recommendation
    Note: In order for the software to function correctly in Excel 2007, you must
    install the Microsoft.ACE.OLEDB.12.0 provider, which you can get from the
    Microsoft website. The provider must be installed on the Application server.
    This provided in 25mb in size. We installed it on our application server. but still some errors with excel 2007 is not resolved. Finally we tried with office 2003, but still error continued. When we moved back to office 2007, some excel-addins which were available earlier went missing.
    regards,
    Lokesh Nandula

  • Error 2009 while uploading XAP to Store

    I am getting error 2009 while uploading the XAP file to the store:
    >"The Xap Processing for the package failed. Please refer to this page
    >for troubleshooting information Validation errors
    >2009: The embedded file MDILFileList.xml isn¹t allowed."

    The problem was that I was trying to upload a signed version of the xap, so this error code is not really helpful.

  • Error message while uploading the flat file

    Hi Experts,
    I am getting the error message while uploading the flat file.
    Message class: MG
    Number: 147
    The message is: Several descriptions exist for the language JA.
    Please guide me why this error is occuring.
    Regards
    Akshay

    hi,
    how are you uploading the file and where ?
    u can use open dataset  , read dataset or gui_upload
    check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e92637c2cbf357e10000009b38f936/frameset.htm

  • SSIS 2012: SSIS Error Code "Excel Connection Manager" failed with error code 0xC0202009.

    Hi,
    This is kind of weird issue that I am experiencing with excel connection manager in SSIS 2012. This issue occurs sometimes but when I close and re-open SSDT (SQL Server Data Tools - newer BIDS) then this issues goes off temporarily.
    Just FYI, through SSDT environment I executed the package successfully with both settings Run64bit runtime setting to Yes and No when error does not occur.
    So far I have installed
    http://www.microsoft.com/en-us/download/details.aspx?id=13255 (Microsoft Access Database Engine 2010 Redistributable).
    I still remember for older versions of SQL Server (2005 & 2008) that I have executed Excel connection SSIS packages with Run64bit runtime = false i.e. in 32-bit mode. As far as I know I think Excel 64-bit issue has been resolved with SQL Server
    2012 release.
    Here is the detail of error message:
    TITLE: Package Validation Error
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at Data Flow Task [Excel Source [2]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection
    Manager" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error at Data Flow Task [SSIS.Pipeline]: Excel Source failed validation and returned error code 0xC020801C.
    Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
    Error at Data Flow Task: There were errors during task validation.
    Error at Package [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft Access Database Engine"  Hresult: 0x80004005  Description: "Unspecified error".
     (Microsoft.DataTransformationServices.VsIntegration)
    Here are my environment details:
    SQL Server 2012 {Microsoft SQL Server 2012 (SP1) - 11.0.3368.0 (X64) } , Excel 2010 (32-bit). I am developing SSIS code on Virtual desktops with Windows 7 32-bit OS.
    Also it occurred to me that since Virtual Desktops are on Shared Infrastructure, the source files and SSIS packages (code) can be on Shared drives for e.g. \\<Corpnet>\userdata\<Corp_Users_Grp>\<Username>\Visual Studio 2010\Projects\Integration
    Services Project2\Integration Services Project2\Package.dtsx.
    Does this kind of Shared drives have any impact to give this issue?
    Thanks in advance!
    Ketan
    P.S.: I had look at this forum question -->
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/903bbe1d-e070-4c43-9d3b-0a5193550029/64bit-error-in-excel-connection-manager-in-ssis

    Hi Arthur,
    Thanks for your response.
    Yes, it looks like SSIS still has bunch of issues with Excel files like as follows:
    1) Some times excel source files cannot be parsed by excel source connection manager.
    2) For derive column conversion, we can't replace the existing column. rather, we have to add the derived column as " add as new column" which is tough to manage  while destination mapping.
    3) If an column in excel contains a data which is not of the data type assigned for the column in excel, the excel source reads that data as "null". For the same, we can't validate the data and redirect the erroneous data in reject file.  <-- For
    this we tried IMEX setting also
    4) In multi-tab/sheet excel file, excel source is unable to detect a tab and identify the metadata of the excel.
    I am also checking Microsoft connect for Excel issues with SSIS 2012(https://connect.microsoft.com/SQLServer/SearchResults.aspx?SearchQuery=excel#&&PageIndex=22
    As worst case scenario, I am thinking of converting Excel to CSV file or Flat text file. (http://www.mssqltips.com/sqlservertip/2772/importing-data-from-excel-using-ssis--part-2/).
    Do you think it is advisable to convert Excel into CSV or Flat file.
    Thanks,
    Ketan

  • Error message when uploading - need help to fix

    I am getting this error message when uploading to ftp host:
    ﷯Error:
    Error uploading file master_a-master.css. Click Resume to try again. If this problem persists, try again later.
    [421 Idle timeout (600 seconds): closing control connection]
    how do I fix this?? have already tried to resume,,, tried from scratch.  closed program and opened again.  does this each time. 

    Make sure you're doing everything recommended by BlackBerry:
    www.blackberry.com/btsc/KB34045
    If you're hitting reload and it isn't reloading the OS for you, perhaps try reloading a backup file you've created (hopefully you've done some backups).
    Keep us up to date on your progress.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • "Unable to read file" error in Excel 2010 when downloading .xls file from IE11

    We have lots of reports that have links for our users to be able to download report results in Excel format. We accomplish this by using the Excel mime type in our .asp pages. Sporadically, we are seeing "Unable to read file" errors in Excel 2010
    after choosing Open from the IE11 save dialog. Choosing Save/Save As and the file will open just fine.
    Also, we can sometimes cause the error to occur more frequently by switching windows during the time when the file is downloading.
    If the file is opened directly from /Temporary Internet Files then it opens just fine.
    Window 7 64-bit
    Thanks in advance!

    Hi,
    I found you replied in a similar thread, did you try the workaround (Reset the IE) that provided there? Did you change a browser to test?
    Then, I suggest we use Process Monitor to do further troubleshooting. Please collect all the actions of IE.exe and Excel.exe, and check the if there are some
    error message/code during you open XLS file from IE 11.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How to import 300 purchase order into SAP using excel upload

    Hi Everyone,
    I am trying to close all the existing purchase orders in the system (about 300) and create similarly 300 new ones under new accounts.
    My questions is can I do that using an excel upload, or it will have to be done manually? If I can, any help in that regard would be highly appreciated.
    Regards,
    Abubakr Asif

    Hi
    Welcome to SDN World!
    You can use LSMW to create 300 Purchase Orders.
    please check this link for guidance
    http://www.ficoexpertonline.com/downloads/0703.doc
    To close existig POs, you can use Mass update (Tr code MEMASSPO).
    hope it helps.
    regards
    Srinivas
    Reward if it helps

Maybe you are looking for

  • I bought a gift card, but it hasn't shown up in my e-mail after 1 hour.  How can I find it and get the credit on my account?

    I bought an iTune gift card for myself and sent it to my e-mail address.  I have waited over an hour and the e-mail showing the gift card has not arrived.  How do I find it and get the credit put into my iTunes account so that I can buy some music?

  • CUDA GPU not recognized.

    I have a GeForce GTX 285 that was working fine with Premiere CC.  However Premiere CC 2014 failed to recognize my card.  After not finding a definitive fix here is what has worked for me. I located the file: C:\Program Files\Adobe\Adobe Premiere Pro

  • Did any MACD customer face the problem of linetype change at booking?

    Line type change due to CZ Batch Validation conflicts with OM's Processing Contraints: OM Order Booking failed with error: Line type cannot be changed on a booked order. This is for a MACD (Telecommunication Service Ordering Process) order using Conf

  • E61 - Email config

    Hi everyone. I am looking to get the E61 but would like to confident that it can be configured to my work Exchange server for push mail. We use Windows Small Business Server 2003, MS exchange, cisco firewall. I am not a techy ,(could you tell!) but o

  • Trying to install Airport Express kills wifi connection for all devices!

    I changed the wi-fi security from WEP to WPA2 on my parents Westell 327w (802.11g) and I updated their iMac, iPod touch and their iPad. All good. Then I get a call from them that the light on the Airport Express (AE) is staying yellow. Crap, I forgot