Excel upload in background not working

Greetings,
I have used 2 functions, ALSM_EXCEL_TO_INTERNAL_TABLE and TEXT_CONVERT_XLS_TO_SAP. Both work when run online, but fail in background. What I am reading suggest that the excel must be converted first to a txt (tab-delimited). Is this correct or is there another function that will work without the conversion?
Thanks.

hi Richard,
the above mentioned FMs work only in foreground. The reason for this is that they communicate with Excel implemented on the presentation server on your machine during the upload. In background, there is no presentation server, so no Excel communication possible, so no successfull upload. You have to for another solution, the one you mentioned (tab delimited text file) could be a good way.
hope this helps
ec

Similar Messages

  • Microsoft Excel 2013 add-in not working after update

    I have originally posted this question at answers.microsoft.com and have been re-directed to post here. (http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/microsoft-excel-2013-add-in-not-working-after/298aff03-c90a-4a2a-b67b-07b6f3c7648c)
    We are an organization with over 200 users and are currently using Microsoft Office 2013 (Click-to-run install via Office 365 portal), we have noticed that in Excel when we apply the monthly Office update, the add-in (e.g. Analysis Toolpak) would stop working
    with the following error message displayed.
    I tried updating from 15.0.4631.1004 to 15.0.4641.1003,
    15.0.4641.1003 to 15.0.4649.1004, they all gave the same results.
    I have checked the captioned file path and it is indeed missing, I think the update mechanism messed up the add-in somehow, a full re-install would fix it as quick or online repair is not doing the trick.  This is not the only add-in it is affecting
    as there are some 3rd party add-ins are affected as well.
    Please advise how we can fix this without needing to re-install Microsoft Office.  Thank you!

    I don't have 365 or C2R so I can't address your main question, so just a few thoughts which may not be applicable in your setup.
    Check the addin manager to see if your addins are listed and ticked. If listed (ticked or not) check the registry to see where the location is written, if ticked look here
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Options
    and look for keys named OPENx, where x is the order number the addin is loaded
    if not "ticked" instead of \Options look in \Add-in-Manager
    With a VBA macro or in the VBE's immediate window return
    Application.LibraryPath 
    Assuming you found a listing in the registry do the paths match, if not look in the .LibraryPath to see if the addins got unloaded there into the subfolder \Analysis
    If you find the file(s) try un-installing and reinstalling the addins, but browse to the actual folder don't simply tick. If you can't find the files, copy them (from a different system) to the folder indicated by .LibraryPath. In the addin manager uninstall
    them if installed, close the manager, open it again and the addins should be listed, tick to re-install.
    You say your other addins don't work, I wonder if some mixup has occurred with what Excel thinks is the default path, but note for other addins the default addins path is returned by app.UserLibraryPath
    Are you using a Chinese system?

  • Web Template - Variable & Export to Excel Web Items are not working

    Hi Experts,
    In a Web Report & Web Template Variable & Export to Excel Web Items are not working ; Any body have any idead ?
    Do i need to write any HTML code to funtion those web items.
    Thanks
    KAruna

    Dear Karuna,
    Review your default template. Probably is 0ANALYSIS_PATTERN.
    Reactive the version D and check again.
    Also, you are able to modify the webitems on Export to Excel on 'BUTTON_TOOLBAR_2' -> Button list number  4.
    And, you are able to check the 0ANALYSIS_PATTERN_EXPORT, in case of configuration.
    If you want to remove/add new items, I suggest you to save as another name. SAP does not allow to modify delivered objects
    ex:. 0Objects.
    Best Regards,
    Edward S. John

  • Image upload/retrieve turorial not working

    The tutorial regarding image upload retrieval in the following link is not working:
    http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/retrieve_binary_data.html
    I get the following error:
    Java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: java.security.PrivilegedActionException : Error opening socket to server localhost on port 21527 with message : null
    Thanks

    Hi Sakthi,
    Finally I managed to make it work with the following modifications:
    (1) In the servlet jdbc/Order> jdbc/Travel
    (2) The datasource names for the rowsets in the session as Travel (instead of Order)
    Another observation I made is: If you bind the url of the image component (which is on the datatable column) to a (for example applicationbean) property which retruns the necessary url, it is very convinent to handle the datatable layout visually. (Otherwise if you go to the datatable layout it shows some error message popup)
    Thanks.

  • CALL Transaction in background not working pls help URGENT

    hi i have writtin a bdc program which uses CALL TRSANCTION everything is working in foreground.
    if i schedule the program in background the call transaction does not work. any idea why?????????
    pls help its urgent

    hi
    good
    have you checked in the debug mode, if you have checked in the debug mode check wheather it is giving any error before data is displaying in the screen, if any error is displaying as a message than check that error why it is coming there.
    If no error is coming than check your flow of the bdc screen in the debug mode , there must be some prob, so that it is not working in the background.
    thanks
    mrutyun^

  • File upload custom renaming not working with {KT_ext}

    Hi,
    I used many times custom renaming with file upload, and used {KT_ext} for file's extension, but in first ADDT project is not working. I use this:
    $uploadObj->setRenameRule("{GET.id_cd}_{track}.{KT_ext}");
    Does anybody know if {KT_ext} is broken in ADDT?
    Thank you,
    Ruben

    Hi Günter,
    {track} and {id_track} are both table fields, and setRenameRule worked right with both, but it didn't with {KT_ext}.
    I've changed {track} with {id_track} in first page, and it stills fail to put extension.
    But maybe is this, in first page the column for Update Transaction is like this
    $upd_cds_peces->addColumn("mp3", "FILE_TYPE", "POST", "mp3");
    and in the second page (where it works right) is
    $upd_cds_peces->addColumn("mp3", "FILE_TYPE", "FILES", "mp3");
    Althought in both cases the file is uploaded and DDBB field is filled, maybe in first case the TNG doesn't expect a file and cannot find its extension.
    I'll try to change it,
    thanks,
    Ruben
    Edit: Yes, it was this... Now it works. Thank you Günter for your help!

  • Double-click in Excel XP Win XP not working

    I have installed the 6.5 Spreadsheet add-in on over 10 systems on my network. Typically the systems are Win98 running Office 2000. This last week we installed 5 WinXP systems running OfficeXP.I installed the Essbase Add-in on three of the XP systems and thought all was well. Last week one user complained that the double-click function was not working.I tested the other two installs and they work fine.I check the ESSBASE-Options tabs and the double-click option is checked.If I un-check this option, and double-click, the system 'edits' the cell, which is what we'd espect. When I check this option the system appears to do nothing. Right-click also appears to do nothing.I have uninstalled the ESSBASE add-in , and re-installed it, and found no difference. I have also 'repaired' my office installation.There only seems to be one instance of Excel running. Multiple instances seemed to be an issue in the discussion boards.This particular user 'customizes' the desktop, fonts, icons etc. all the time. I keep thinking there must be something in that area that is compromised.Any pointers? Any experience? Any help?Regards

    Maybe that user change something in the zoom in section of the essbase options... maybe set it to formulas...

  • Save in Background not working in CS6

    Do not see that the Save In Background is working.  I have 300MB Tiff files that are being saved to the local harddisk in Windows 7 with CS6.  It takes about 10 seconds to save the file both with and without Save in the Background being selected.

    I don't think "save in the background" is meant to save files faster, but to allow you to work on other files as you are saving another.

  • Desktop Backgrounds not working properly in Aperture/Mountain Lion

    If I set my desktops with the default Apple backgrounds, all works well.  I can log out and back in and the backgrounds are retained. 
    If I use the "change desktop background" dialogue box and set the backgrounds to photos from the Aperture library, when I log out and back in, all the backgrounds have reverted to the standard Mountain Lion background.
    If I open Aperture (in Desktop 2) and select a photo, I can do File/Share/Set desktop and that will change Desktop 2 (but none of the other desktops) to the current image.  THEN if I restart, desktop 2 will have retained the background I've chosen. 
    I've spoken to the Apple tech support, but only the Mountain Lion people can help me.  They tried repairing permissions, terminal commands and all sorts but it didn't work.
    The guy on Aperture support sent me some standard articles but nothing specific, and as my copy of Aperture is more than 90 days old he can't help any further.  I am running the latest version, 3.3.2.  I've done all the basics like rebuilding the library and repairing permissions etc... I've deleted the aperture preference file, and the desktop preference file.  All to no avail. 
    Anyone help?  Please! 
    Thanks,
    Mark

    Success!  Well sort of.  I went into Mission Control Preference Pane (in System Preferences) and fiddled about with a few ticks. The one that seemed to make the difference was the one called Show Dashboard As A Space.  Make sure it's ticked.  This is a bit of a bummer if you want multiple desktops with different personalised photo backgrounds but you don't want the dashboard as a space.  It's still a fault Apple! So if someone finds this solved their issues then please don't mark the post as "this solved my problem", maybe just "this helped". 
    Because the issue is not resolved for those who don't want the dashboard as a space - those people can only have Apple's own backgrounds on their desktops!  And it is worth point out that without the Show Desktop As Space box ticked, even with Mission Control set to just one background, the Aperture photo would not be reatained through log out and restart etc. AND the actual Desktop/Screen Saver preference dialogue box didn't work properly, taking ages to select a picture and the picture not changing on the background itself until the user threatens to exit the box.  As I say though it all went swimmingly with the Show desktop as space box ticked.
    Dear oh dear Apple, with every step "forward" you take there's always the odd lurch backwards into the murky days of Windows 1.0!

  • Just purchased adobe export to change file to word or excel but it is not working

    I just purchased adobe export so I can convert adobe file to word or excel file but it is not working.  I'm getting several errors.  One error is 404.

    Hi,
    Please try with different browser.
    If error still occurs do let me know.
    Regards,
    Florence

  • Transparent text background not working on IE when I upload to bluehost

    Is there any way around this? When I published to .mac, they worked for IE, but now that I'm using Cyberduck to send them to Bluehost account, the transparent backgrounds are covering the text, making it impossible to read or use any of the links.

    Post the URL as "your site name at server name dot com". We can make the adjustments and the search engines won't pick it up.
    OT

  • File upload with DAD not working

    Hi all,
    I have an application which uses the file upload function, similar to the sample http://otn.oracle.com/products/database/htmldb/howtos/howto_file_upload.html
    During the development I was not using a DAD and it was working perfectly. Now I have changed the application to use a DAD and now the file upload fails with a HTTP 404 - File not found error
    [DAD_din]
    connect_string = deccasm01os.na.decoma.com:1521:DIN
    ;password =
    ;username =
    ;default_page =
    document_table = wwv_flow_file_objects$
    document_path = docs
    document_proc = wwv_flow_file_mgr.process_download
    ;upload_as_long_raw =
    ;upload_as_blob =
    ;name_prefix =
    ;always_describe =
    ;after_proc =
    ;before_proc =
    reuse = Yes
    ;connmax =
    ;pathalias =
    ;pathaliasproc =
    enablesso = No
    ;sncookiename =
    stateful = STATELESS_RESET
    ;custom_auth =
    response_array_size = 128
    ;exclusion_list =
    ;cgi_env_list =
    bind_bucket_widths = 32,128,1450,2048,4000
    bind_bucket_lengths = 4,20,100,400
    ;error_style =
    ;nls_lang =
    BTW, it is on HTMLDB v1.6 on 9iDB (9.2.0.4)
    thx

    Rob,
    The File Browse item type does not require upload table WWV_FLOW_FILE_OBJECTS$. The POST for the File Browse item type is intercepted by modplsql and is inserted into the Document Table as defined by the Database Access Descriptor.
    You could ultimately create your own DAD with your own Document Table. The Document Table would have to contain the minimum definition as described at:
    http://download-west.oracle.com/docs/cd/B14099_03/web.1012/b14010/concept.htm#i1005880
    This way, users of the application using the Basic Database Authenticated DAD would be uploading directly into your table and not the HTML DB one. A word of caution, though, is that you would never want to use this DAD with HTML DB development itself...you would need to use the DAD that specifies upload into WWV_FLOW_FILE_OBJECTS$ for HTML DB development.
    I hope this helps.
    Joel

  • Photo Booth backgrounds not working

    My backgrounds in Photo Booth don't seem to be working right, assuming I'm doing it right. I can't find any kind of tutorial on it on the Apple web site. When I choose the background, and it says to step out of the frame, I do so, but then when I return to the frame, my face is totally pixelated and some of the surrounding background bleeds through. What I am doing wrong?

    Everyone is having this problem.
    Yes the demo on the apple website looks perfect, but not for us who try it.
    It doesn't matter if you have bags of memory, fast processor, everyone still gets this problem. Some have improved the situation by moving and changing lights to different positions or put a plain background behind them. But overall pixelated and holes appear. Hopefully there will be a fix for this.

  • Export BIRT reports to PDF, Excel or Word is not working properly

    Dear Forum members,
    We are seeing an issue with the BIRT reports Export option where some reports are working fine(exporting properly) in PDF but Not in Excel or Word or PowerPoint.
    In some cases, we are NOT able to export some reports in PDF as well.
    BIRT reports are integrated in our java application and Weblogic is our application server. We have both Windows and Linux environment.
    We see the errors shown below. Please let me know if any one knows how to resolve this issue.
    + org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    AxisFault
    faultCode: {}Server.userException
    faultSubcode:
    faultString: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    faultActor:
    faultNode:
    faultDetail:
    {}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1104)
    at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1551)
    at org.eclipse.birt.report.service.BirtViewerReportService.renderReport(BirtViewerReportService.java:369)
    at org.eclipse.birt.report.service.actionhandler.BirtRenderReportActionHandler.__execute(BirtRenderReportActionHandler.java:65)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:222)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
    at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    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:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3748)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3714)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2283)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2182)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1491)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:263)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:308)
    at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1545)
    at org.eclipse.birt.report.service.BirtViewerReportService.renderReport(BirtViewerReportService.java:369)
    at org.eclipse.birt.report.service.actionhandler.BirtRenderReportActionHandler.__execute(BirtRenderReportActionHandler.java:67)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:222)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
    at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:123)
    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:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
    at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:69)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
    ... 9 more
    Caused by: java.lang.NoClassDefFoundError: sun/awt/X11/XToolkit
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:170)
    at java.awt.Toolkit$2.run(Toolkit.java:832)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:824)
    at org.eclipse.birt.report.engine.layout.pdf.util.PropertyUtil.getScreenDpi(PropertyUtil.java:322)
    at org.eclipse.birt.report.engine.layout.pdf.util.PropertyUtil.getRenderDpi(PropertyUtil.java:294)
    at org.eclipse.birt.report.engine.emitter.excel.layout.ExcelContext.setReport(ExcelContext.java:113)
    at org.eclipse.birt.report.engine.emitter.excel.ExcelEmitter.start(ExcelEmitter.java:88)
    at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:585)
    at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:284)
    at org.eclipse.birt.report.service.ReportEngineService.renderReport(ReportEngineService.java:1545)
    at org.eclipse.birt.report.service.BirtViewerReportService.renderReport(BirtViewerReportService.java:369)
    at org.eclipse.birt.report.service.actionhandler.BirtRenderReportActionHandler.__execute(BirtRenderReportActionHandler.java:65)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:222)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
    at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    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:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:60)
    ... 9 more

    Does this issue happen in both environments, Windows and Linux?
    Do you have some reports that can be exported successfully to Word, Excel and Power Point?
    That specific error indicates there is an error finding the X11 XToolkit in the class path.

  • Flat file upload program is not working

    Hi Experts,
    I am using following code to upload a flat file from my local PC to SAP
    The code is NOT inserting records in zassum, /bic/pzassum and /bic/tzassum. zassum is SAP BW infoobject. I have run debugger and found that data is getting populated correctly for ztable_data and ztable_text.
    The program is getting compiled / activated successfully. I am even getting message " ZASSUM got updated successfully ". However the issue persists.
    I am new for ABAP. I might have committed some mistake any where in the code.
    Also  pls let me know whether statement  "PERFORM update_alv_grid_display" is really needed.
    Thanks
    Smith
    FORM upload_batches.
      DATA : wf_title    TYPE string,
              lt_filetab  TYPE filetable,
              l_separator TYPE char01,
              l_action    TYPE i,
              l_count     TYPE i,
              ls_filetab  TYPE file_table,
              wf_delemt TYPE rollname,
              wa_fieldcat TYPE lvc_s_fcat,
              tb_fieldcat TYPE lvc_t_fcat,
              rows_read TYPE i,
              p_error   TYPE char01,
              l_file      TYPE string.
      TYPES : BEGIN OF test_struc,
               /bic/zassum TYPE  /bic/oizassum,
               txtmd   TYPE rstxtmd,
               END OF test_struc.
      DATA : test_upload TYPE STANDARD TABLE OF test_struc.
      DATA : wa_test_upload TYPE test_struc,
             ztable_data TYPE TABLE OF /bic/pzassum,
             ztable_text TYPE TABLE OF /bic/tzassum,
             wa_upld_text TYPE /bic/tzassum,
             wa_upld_data TYPE /bic/pzassum,
             wa_actbatch TYPE /bic/pzassum.
      wf_title = text-026.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title            = wf_title
          default_extension       = 'txt'
          file_filter             = 'Tab delimited Text Files (*.txt)'
        CHANGING
          file_table              = lt_filetab
          rc                      = l_count
          user_action             = l_action
        EXCEPTIONS
          file_open_dialog_failed = 1
          cntl_error              = 2
          OTHERS                  = 3.                          "#EC NOTEXT
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
      LOOP AT lt_filetab INTO ls_filetab.
        l_file = ls_filetab.
      ENDLOOP.
      CHECK l_action = 0.
      IF l_file IS INITIAL.
        EXIT.
      ENDIF.
      l_separator = 'X'.
      wa_fieldcat-fieldname = 'test'.
      wa_fieldcat-dd_roll = wf_delemt.
      APPEND wa_fieldcat TO tb_fieldcat.
      CLEAR wa_test_upload.
    Upload file from front-end (PC)
    File format is tab-delimited ASCII
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = l_file
          has_field_separator     = l_separator
        TABLES
         data_tab                = i_mara
        data_tab                   = test_upload
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        EXIT.
      ELSE.
        LOOP AT test_upload INTO wa_test_upload.
          CLEAR :  p_error.
          DESCRIBE TABLE test_upload LINES rows_read.
          IF wa_test_upload-/bic/zassum IS  INITIAL.
            p_error = 'X'.
            MESSAGE s153 WITH wa_test_upload-/bic/zassum sy-tabix.
            CONTINUE.
          ELSE.
            IF sy-subrc = 0.
            ENDIF.
          ENDIF.
          wa_upld_text-txtmd  = wa_test_upload-txtmd.
          wa_upld_text-txtsh  = wa_test_upload-txtmd.
          wa_upld_text-langu =  sy-langu.
          wa_upld_data-/bic/zassum = '11'.
          wa_upld_data-chrt_accts = 'abc'.
          wa_upld_data-co_area = '1234'.
          wa_upld_data-/bic/zbhpbcsg = 'uv'.
          wa_upld_data-objvers = 'A'.
          wa_upld_data-/bic/zass_mdl = 'pqr'.
          wa_upld_data-/bic/zass_typ = 'I'.
          wa_upld_data-/bic/zdriver = 'defg'.
          MOVE-CORRESPONDING wa_test_upload TO wa_upld_data.
          MOVE-CORRESPONDING wa_test_upload TO wa_upld_text.
          APPEND wa_upld_data TO ztable_data.
          APPEND wa_upld_text TO ztable_text.
        ENDLOOP.
        CALL FUNCTION 'MESSAGES_INITIALIZE'.
        IF ztable_data IS NOT INITIAL.
          CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
            EXPORTING
              i_iobjnm               = 'ZASSUM'
              i_tabclass             = 'M'
            TABLES
              i_t_table              = ztable_data
            EXCEPTIONS
              attribute_name_error   = 1
              iobj_not_found         = 2
              generate_program_error = 3
              OTHERS                 = 4.
          COMMIT WORK.
          IF sy-subrc <> 0.
            CALL FUNCTION 'MESSAGE_STORE'
              EXPORTING
                arbgb  = 'Zmy_prg'
                msgty  = 'E'
                txtnr  = '054'
                msgv1  = text-033
              EXCEPTIONS
                OTHERS = 3.
            CALL FUNCTION 'MESSAGE_STORE'
              EXPORTING
                arbgb  = sy-msgid
                msgty  = sy-msgty
                txtnr  = sy-msgno
                msgv1  = sy-msgv1
                msgv2  = sy-msgv2
                msgv3  = sy-msgv3
                msgv4  = sy-msgv4
              EXCEPTIONS
                OTHERS = 3.
            MESSAGE e054(z_myprg) WITH 'ZASSUM'.
          ELSE.
            CALL FUNCTION 'MESSAGE_STORE'
              EXPORTING
                arbgb  = 'Z_BM_BPS'
                msgty  = 'S'
                txtnr  = '053'
                msgv1  = text-033
              EXCEPTIONS
                OTHERS = 3.
            MESSAGE s053(z_myprg).
            IF ztable_text[] IS NOT INITIAL.
              CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'
                EXPORTING
                  i_iobjnm               = 'ZASSUM'
                  i_tabclass             = 'T'
                TABLES
                  i_t_table              = ztable_text
                EXCEPTIONS
                  attribute_name_error   = 1
                  iobj_not_found         = 2
                  generate_program_error = 3
                  OTHERS                 = 4.
              IF sy-subrc <> 0.
                CALL FUNCTION 'MESSAGE_STORE'
                  EXPORTING
                    arbgb  = 'Z_myprg'
                    msgty  = 'E'
                    txtnr  = '055'
                    msgv1  = text-033
                  EXCEPTIONS
                    OTHERS = 3.
                CALL FUNCTION 'MESSAGE_STORE'
                  EXPORTING
                    arbgb  = sy-msgid
                    msgty  = sy-msgty
                    txtnr  = sy-msgno
                    msgv1  = sy-msgv1
                    msgv2  = sy-msgv2
                    msgv3  = sy-msgv3
                    msgv4  = sy-msgv4
                  EXCEPTIONS
                    OTHERS = 3.
              ENDIF.
            ENDIF.
          ENDIF.
          COMMIT WORK.
        ENDIF.
      ENDIF.
      CALL FUNCTION 'RSDG_IOBJ_DEQUEUE'
        EXPORTING
          i_objnm = 'ZASSUM'
          i_scope = '1'.
      PERFORM update_alv_grid_display.
      CALL FUNCTION 'MESSAGES_SHOW'.
    ENDFORM. " upload_batches

    .

Maybe you are looking for

  • Lightroom 4.2 Installation Issue

    Leaving this around in case anyone else has the same problem -- Solution found -- Windows installer issues / registry issues -- used the Microsoft Fix it tool (http://support.microsoft.com/kb/2438651#reso3) to correct.  4.2 install ran fine. I've rea

  • How do I assign a folder on a non-boot drive as default for certain media types?

    I want the default folder for iTunes, iPhoto, Aperture, iMovie and iDVD to be on separate drives from the boot drive.  Hoe do I change these individiually? Also - what is the best way to create an automatic mirror of them onto other drives? For examp

  • Mid 2010 imac as a monitor for a windows PC

    Yes I know there is an article saying it;s do-able with a minidisplay port to minidisplay port cable and putting the imac in target display mode with cmd-F2 BUT my question is, my gfx board has a display port, and I know they make displayport to mini

  • Squiggly Flash Builder Error in Flash Catalyst Generated FXP File

    Flash Builder generates the following error message in a Flash Catalyst Generated project with PHP as the server when the Squiggly AdobeSpelling.swc is included in the LIBS folder: "Unable to load AdobeSpelling.swc in design mode" with the result tha

  • Tom Wolsky book?

    Tom Wolsky's book on Final Cut Express 3.5 really helped me out a few years ago. Now I'm trying to learn FCP X (10.1.4). Final Cut Pro X Beyond the Basics, Advanced Techniques for Editors, looks to be beyond my skill level. Final Cut Pro X for iMovie