Excel upload FM that works in multiple GUI versions

Hello all,
I am looking for some standard SAP functionality that has been released for customer use to upload Excel files into SAP.  We have been using the following two function modules for a number of years successfully.  Now the data is not uploaded correctly into the internal table with GUI 620 patch level 65.
ALSM_EXCEL_TO_INTERNAL_TABLE
KCD_EXCEL_OLE_TO_INT_CONVERT
SAP's response was that these are not officially supported and they would be happy to charge a consulting fee to help us find a solution.
The following function module works successfully in all the different patch levels of GUI 620 and GUI 640 that I have tried.  However this function module has not been officially released for customer use either.  Meaning at any point in the future this function module could break as well.
TEXT_CONVERT_XLS_TO_SAP
The Excel file that we are using contains a macro.  I get very strange results when I try to upload the file using GUI_upload.  The characteristics and the parameters of the macro are being intermingled with the actual data in the Excel file. 
Is anyone aware of a function module or method of a class, that has been released for customer use, that works successfully in all patch levels of both GUI 620 and 640? We are using SAP version 4.7.
Thanks
Bruce
P.S.  This is the code I'm using successfully using in different patch levels of GUI 620 and 640.
type-pools: truxs.
parameters: p_input type  rlgrap-filename  memory id pid_01
                 default 'S:\Bruce\ZFAPI007_files\Perm_vendor_test.xls'.
types: begin of t_datatab,
           date(10),                             "10-doc date-any format
           account like bkpf-xblnr,                   "16-account number
           name like lfa1-name1,                          "35-legal name
           address like lfa1-stras,                         "35-address
           text42 like lfa1-stras,             "35->>field is not used<<
           city like lfa1-ort01,                            "35-city
           state like lfa1-regio,                           "5-state
           zip like lfa1-pstlz,                             "10-zip
           amount(16),                        "example, "123,456,789.99"
           blart like bkpf-blart,                       "2-document type
           bukrs like bkpf-bukrs,                           "4-company
           lifnr like lfa1-lifnr,                           "10-vendor
           aufnr like bseg-aufnr,                   "12-internal order #
           gsber like bseg-gsber,                       "4-business area
           sgtxt like bseg-sgtxt,                     "50-line item text
           saknr like bseg-saknr,                          "10-GL acct #
           zuonr like bseg-zuonr,                  "18-Allocation Number
           kostl like bseg-kostl,                        "10-Cost Center
           newbk like rf05a-newbk,          " 4 New company     BCT008
      end of t_datatab.
data: it_datatab type standard table of t_datatab,
      wa_datatab type t_datatab.
data: it_raw type truxs_t_text_data.
start-of-selection.
Upload the file, converting to the format of the internal table
  call function 'TEXT_CONVERT_XLS_TO_SAP'
    exporting
    I_FIELD_SEPERATOR        =
      i_line_header            =  'X'
      i_tab_raw_data           =  it_raw       " WORK TABLE
      i_filename               =  p_input
    tables
      i_tab_converted_data     = it_datatab[]    "ACTUAL DATA
   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.
  loop at it_datatab into wa_datatab.
    write:/ wa_datatab-date,
            wa_datatab-account,
            wa_datatab-blart.
  endloop.
end-of-selection.

April,
Thanks for your reply.  HR_PK_EXCEL_TO_INTERNAL_TABLE does not show up in our system when doing a search on function modules.  It is good to know that TEXT_CONVERT_XLS_TO_SAP has been released for customer use in newer systems than we are currently using.
I think that I'll use this function module, TEXT_CONVERT_XLS_TO_SAP, and call it a day. 
Although, I am still interested in other solutions if anybody out there has one.
Bruce
Message was edited by: Bruce Tjosvold

Similar Messages

  • TS2529 You make a backup of the iPhone and after that worked Ri Storr lost version reserve two MacBook Air and thus lost all contacts and pictures in my phone I hope help me to recover because of its great importance knowing that Alitonz Copies old from b

    I make a backup of the iPhone and after that worked Ri Storr lost version reserve two MacBook Air and thus lost all contacts and pictures in my phone I hope help me to recover because of its great importance knowing that Alitonz Copies old from backup from Prepare other iPod does notretains only a new version of the iPhone after the irrigation Store

    TS2529 I make a backup for my iPhone and after that I worked Re Storeto it than when i select re stor backup I lost version reserve from  MacBook Air and  lost all contacts and pictures in my phone I hope help me to recover my last backup because of its great importance
    note ihave 2 Copies old backup in ituns from my ipad i dont losat
    plz help my myenglish  langauge is baaaad

  • Where is there a link that works to an old version of firefox for windows

    I HAVE SPENT THE LAST WEEK TRYING TO FIX THE BRAND NEW PIECE OF CRAP INSTALLED ON MY COMPUTER WITHOUT MY PERMISSION. I DELETED THE OLD VERSION NOW I WANT AN OLD ONE BUT GUESS WHAT FIREFOX HAS CONVENIENTLY LEFT LINKS THAT DON'T WORK THEY DO NOTHING
    HOW WHERE CAN I FIND A LINK THAT WORKS SO I CAN GET BACK MY BOOKMARKS
    FIREFOX YOU SUCK

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Embedding Video that works on multiple devices

    I'm trying to embed a video onto my website and I want to make it work everywhere. I noticed that when I right click on video from websites like CNN and the NY Times it shows that I'm using Flash player on my PC but these videos also seem to play on Apple's non-Flash mobile devices. How can I make this happen on my website. The tools I'm using are Dreamweaver/Flash CS3 and After Effects 6.5.

    I just struggled with this and came up with a workaround that seems to work well.  I uploaded a video to YouTube and then used the code YouTube provides to embed the video on my page:  http://www.johnblaustein.com/mobile/  It displays perfectly on my iPhone as well as in a desktop browser (though in my case it's not meant to replace my Flash portfolio).
    John

  • How do I set up a template that works for multiple folder levels

    I want to segregate groupings of pages on my site because
    they focus on specific content areas. The template that I created
    works fine for pages in the root but if I try to create a
    template-based page in a sub-folder then I get all kinds of "not
    founds" on includes, css files, etc.
    How do I set up a template that will cover both the root
    pages and sub-folder pages?
    TIA,

    You use root relative links in your includes and CSS links.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "lwoods" <[email protected]> wrote in
    message
    news:e9qpol$meg$[email protected]..
    >I want to segregate groupings of pages on my site because
    they focus on
    > specific content areas. The template that I created
    works fine for pages
    > in
    > the root but if I try to create a template-based page in
    a sub-folder then
    > I
    > get all kinds of "not founds" on includes, css files,
    etc.
    >
    > How do I set up a template that will cover both the root
    pages and
    > sub-folder
    > pages?
    >
    > TIA,
    >

  • How do I get my macmini running Mountain Lion to see my Canon USB printer connected to my Airport Extreme? I have a macbook pro running leopard and that works fine. The versions of airport utility are different and I can't even see the printer from new 1

    I am having trouble seeing my usb printer from my second gen airport extreme using the newest version of airport utility under Mountain Lion. UGH! And while I can see and network to my Canon IP5000 from my macbook pro running leopard, I can't from my new macmini running Mountain Lion. Any help would be appreciated in configuring my macmini so it can see the Canon IP5000 on the airport extreme. Don't want to "share" the printer from the laptop because that would be a cludge. Thanks ahead

    I solved this one based on another post. Turned out I needed the snow leopard IP5000 driver. I had just copied over the leopard driver (I had saved my .dmg file) and installed that but it didn't work. So I downloaded the latest driver which turned out to be for snow leopard and I am guessing since it is 64bit that is why it worked and the leopard driver didn't. Anyway, I also had to hook the printer up via usb to the mac mini to get it to work locally before the O/S would see it over Bonjour via the airport extreme.

  • A Firefox version that works with MAC X, Version 10.5 running on a MAC Book Pro G4

    My harddrive has been replaced recently and when I tried to download a firefox version. I am told that the new version won't work with this computer; a mobile Powerbook Mac Pro, 15 inch, G4 processor @ 867 MHZ the operating system is 10.5.8. Is there an older version available that will work with this hardware and OS?

    Beginning with Firefox 4, Macs must have an Intel x86 processor (which you do NOT have; yours is a PPC Mac) '''''<u>and</u>''''' OSX 10.5 or higher
    *System Requirements: [https://www.mozilla.org/en-US/firefox/4.0/system-requirements/index.html Firefox 4] [https://www.mozilla.org/en-US/firefox/5.0/system-requirements/index.html Firefox 5] [https://www.mozilla.org/en-US/firefox/6.0/system-requirements/index.html Firefox 6] [https://www.mozilla.org/en-US/firefox/7.0/system-requirements/index.html Firefox 7] [https://www.mozilla.org/en-US/firefox/8.0/system-requirements/index.html Firefox 8]
    The good news is that Firefox 3.6.24 still supports OSX 10.4 and Macs with the PPC Mac architecture. The bad news is that support for the Firefox 3.6.x series is likely to end in the first quarter of 2012.
    *System requirements: [https://www.mozilla.org/en-US/firefox/3.6/system-requirements/index.html Firefox 3.6.x]
    *Download Firefox 3.6.24: https://www.mozilla.org/en-US/firefox/all-older.html
    *Also see --> http://support.mozilla.com/en-US/kb/Installing+Firefox+on+Mac
    You can try the third-party product '''''TenFourFox''''' that supports PPC Macs. Firefox 8 version of '''''TenFourFox''''' is available. The product is based on Firefox released versions. All support is provided by the developer, not by this site:
    *Home page: http://www.floodgap.com/software/tenfourfox/
    *Developer's blog: http://tenfourfox.blogspot.com/
    *VERY IMPORTANT; read this carefully: https://code.google.com/p/tenfourfox/wiki/PluginsNoLongerSupported
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Can anyone recommend a good phishing extension that works on the macintosh version of firefox?

    I'm working with an older lady who keeps giving up her password because her older lady friends keep sending her links. I think she finally gets not to click on the links but she is now very, very paranoid and would like that added security of a anti-phishing extension/add-on in Firefox. I looked a few of them but wasn't certain which one would work best for her based on using a Mac.

    Hi,
    Please see [https://support.mozilla.org/en-US/kb/Parental%20controls this]. Additionally, if you are providing ongoing support, you could use [https://www.opendns.com/ OpenDNS] for DNS resolution (208.67.222.222 & 208.67.220.220) depending on your location and speed, or use its [https://www.opendns.com/home-solutions/parental-controls/#home additional features]. You can also try [http://www1.k9webprotection.com/aboutk9/overview K9], which would all complement Firefox's solid builtin protection (Tools (Alt + T) > Options > [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Privacy%20panel?as=u Privacy]).
    [https://en.wikipedia.org/wiki/Opendns OpenDNS]
    [https://en.wikipedia.org/wiki/K9_Web_Protection K9]

  • How do I activate a financial institute security app that worked a few Firefox versions ago even after reinstalling it?

    My financial institutions supply an app "Rapport" for extra security. I used it for several years until the latest versions of Firefox came out. When I looked for the app, it was nowhere to be found. I reinstalled the app but still not joy. Any suggestions as to why it isn't there and how to get it there?

    Have you tried downloading the latest version of Rapport directly from Trusteer? <br />
    ''(The company that created Rapport, and keeps it updated as new versions of popular web browsers are released.)''
    https://www.trusteer.com/download-trusteer-rapport

  • Ever since I upgraded to firefox 5, a site that required flash player doesn't work - it worked with the older version

    A site that worked on your old version doesn't work anymore. When I go to the page it says to download a plugin, but then it comes up with "no suitable plugins were found." I believe the site requires flash player. I have reinstalled it and it works with other programs that require it.

    I wasn't able to get to any of those sites without having serious hanging issues. I just uninstalled Flash, rebooted, then reinstalled it. Everything seems to be working fine now.

  • Works in Enterprise Manager version of 10g but not standalone (OC4J)

    ok.... on one box I'm running 10g Enterprise Manager version of the app server (v9.0.4) and on another box I'm running the standalone version of the app server (OC4J v9.0.4). I have an ear file that works in the EM version, but won't work in the OC4J version. (the ear worked in both app servers until recently when we added some code using classes in jakarta-poi-2.0-pre3.jar..... added this jar file to the WEB-INF/classes folder of the ear file; the orion-application.xml file library path points to this folder for its library (because some of our classes on the EJB side of things use the classes in the jar file) so in theory the jar file should be found by the application (and there are other jar files in there that ARE being found on both versions....)). So.... any ideas why the standalone version (OC4J) would be having problems? Could it be that a different classloader setup is used in OC4J?
    Scott

    well, I found the problem.... the orion-application.xml file in the C:\OC4J\j2ee\home\application-deployments\[appname] folder was not being updated with the new version upon redployment.... don't know why that wasn't happening. I'm using hot deploy and redeploying the application by copying the ear file to the C:\OC4J\j2ee\home\applications folder. Shouldn't this cause a refresh of the files in the application-deployment folder too?? In any case, I manually edited the orion-application.xml file in the application-deployments folder to reflect the new library conditions and it works..... Additional info: i just redeployed the app again, and the timestamp on the .../application-deployments/orion-application.xml file was updated, so it appears that it is being updated but apparently from a cached version that does not reflect the new version of the orion-application.xml file in the new ear being deployed.... strange and sad.

  • Sync metadata to multiple files - how does that work?

    Frustrating.  In Library Module of LR4.4 under Vista 32, I have corrected a "Capture Time" of a single jpg Photo via the "Edit Capture Time" dialog.  The new date correctly shows up in the "Date Time Original" EXIF field of the Metadata panel on the right.
    Now, I want to sync that date to other jpgs which all come with incorrect "Date Time Original" - so, I highlight the above photo, mark the other ones to less light grey, press "Sync Metadata".  THe dialog of  "Sync Metadata" appears, showing the new date under "ICPT image" as "date created" - so far so good.  I mark that field, and press the ok button and the sync runs.  After that, no change is shown to the respective field of any of the photos metadata fields to be sync'd, no sync has actually happened, and even the "Save Metadata to file" command does cure this situation.
    Using the command with a single target file instead of multiple ones does not help either.
    What does help?
    Why can't I update a set of superold pictures to their correct "date created" date via Metadata sync? This Metadata sync does not sync.
    thanks for comments
    Gerd
    Message was edited by: gerdh - clarification

    Well, of course, one can always take the escape route to software that works. - 
    However, IF Adobe advertises "Metadata sync" in a software licensed for money, THEN this function should work. Am I right or am I right?
    I found, that particularly the one single Metadata field "Capture time" can be set for a multitude of images (selected before using this command from the pulldown menue) - which helped for my problem.  But what about other Metadata fields, if the "Sync Metadata" function does not work as intended?  No word in the documentation such as "there is a function "Sync Metadata" but please do not expect ANY function at all when using it".
    Using a freeware such as ExifMeta to get arund a "non-function" is not the purpose of using a software such as Lightroom - please understand.
    Gerd

  • Using a formula that works in Excel

    Is there a way to create this type of formula that works in Excel but not in Numbers 09
    =SUMPRODUCT(--(Utilization!A10:A190="Jan"),--(Utilization!C10:C190="Personal"),- -(Utilization!D10:D190))
    This is referring to second page "Utilization" but doesn't have to in new numbers spreadsheet.
    Have 3 columns. 1st with month, 2nd describing type of work, 3rd with hours.
    New cell will have product of 1st two items.
    Can pm example if this sounds confusing. Thanks.

    You're right, it sounds confusing. It sounds like you want to create products of Months X Description of work X Hours and then sum them up.
    It's as amazing to me that it would work in Excel as that you think it would work in Pages or Numbers.
    Jerry

  • I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.

    I have a form that has multiple fields but has 5 sections. I have used mail merge to insert information but I can't get Excel to recognize that I need different names and addresses for each section. Please help.

    Thanks for your response. I do believe I have the information needed for each form on a separate line in Excel. There is a first name, middle name, last name, city, and zip column. And field is entered on a different line for all the information. I'm really stuck.

  • Is there a receipt scanner that works with the macbook pro that imports line items into numbers or excel?

    Is there a receipt scanner that works well with the MacBook Pro that imports line items into Numbers or Excel?  Thanks.

    Yes. Google...

Maybe you are looking for

  • Cannot open download link for Nokia Multimedia Tra...

    Get the download page, the pop up opens, when I click on the Accept button - the site www.nmtapp.com will not open. Solved! Go to Solution.

  • Configuration Settings - HR_SGPPP (Smartform) & RPUPBSR8_PRINT (Print Form)

    Hello Experts, Can anyone please let me know where HR_SGPPP  smartform and print form is configured(Transaction code and steps to configure the smartform and print program ). Kindly do the needul help. Thanks & Regards, Lakshmi Prasad

  • Is there any Limitation in DDE when using Lookout under windows 98

    Hi, I am usingLookout4.5. I am facing a specific problem regarding report generation. I am using data table objects for retrieving data from citadel and exporting it to Excel sheet. But when I am executing, the number of rows in the second data table

  • Cambio Bateria Thinkpad T410

    Hola, quisiera saber como puedo adquirir una batería de reemplazo para mi laptop T410 y me pueda ser enviada a mi país El Salvador, ya que el software de la batería me solicita cambiarla.  Gracias.

  • Cannot click and drag, mouse stays still

    Yesterday I experienced a new behavior in ARD 3, if I click and hold the mouse down the curson will not move if move my mouse. After I release the button the cursor moves again. This happens in both the computers I'm controlling as well as the applic