Skip to Content
author's profile photo Former Member
Former Member

Upload Excel with different Tabs contains data

Hi All,

Is it possible to upload data into SAP from EXCEL file having 5 to 6 tabs containing data. All tabs data should go to different Internal tables or same internal tables.

Any help will be appreciated.

Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 06:43 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2008 at 06:52 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 06:30 PM

    Hi,

    Use the fm:

    ALSM_EXCEL_TO_INTERNAL_TABLE

    eg:

    types:  l_yprice_object_id type yprice_object_id.
    
    DATA: itab TYPE STANDARD TABLE OF alsmex_tabline WITH HEADER LINE,
          filename type rlgrap-filename.
    
    *  Set the path and filename to the file in filenet
    
      filename = 'C:\My Documents\..........'.
    
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        filename    = filename
        i_begin_col = 5
        i_begin_row = 2
        i_end_col   = 5
        i_end_row   = 10000
      TABLES
        intern      = itab.
    
    

    Regards,

    Subramanian

    Edited by: Subramanian PL on Jul 25, 2008 11:32 AM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 06:36 PM

    Hi Subramanian,

    Will this upload the data from the single excel sheet which is having Multiple spread sheets in it.

    Can you please clarify my query.

    Regards,

    Venkatesh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.