Reg : Error While uploading Datas from EXCEL in to SAP

Hi Experts,
                      Please help me with code inorder to upload EXCEL File DATA in to SAP.... I tried with FM : ALSM_EXCEL_TO_INTERNAL_TABLE   &   TEXT_CONVERT_XLS_TO_SAP but exception raised like  UPLOAD_OLE for me..
Wat to do...?
Please help with exact data (EXCEL) and code...
regards
e arthi

Hi arthi
save you file as CSV file in excel.
that means your file will be coma separated,
and then use fm
GUI_UPLOAD.
This will solve your problem.
Regards,
Vijay

Similar Messages

  • ERROR while uploading data from EXCEl to sap using ALSM_EXCEL FUNCION MODULE

    Hi Experts,
    I am uploading excel data into sap suing function module ALSM_EXCEl_TO_INTERNAL_TABLE , used this funcion module in the program while running the program one blank excel sheet is opening and data is not uploading into internal table . even same blank sheet is opeining if we user
    CONVERT_EXCEL_TO_INTERNAL function module also.
    can you please tell me why this error is coming how to over come this error.
    My excel sheet data records are less then 10000.
    Thanks & regards
    kiran

    Hi Taranam,
    Use FM ALSM_EXCEL_TO_INTERNAL_TABLE.
    Regards,
    Atish

  • DB Connect Load - "Unknow error while uploading data from the DB Table"

    Hi Experts,
    We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
    I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
    At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
    Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
    Please advice.
    Thanks,
    Abhijit

    Hi,
    Sorry for bumping an old thread ....
    Did this issue get ever get resolved?
    I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
    One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
    I get "Unknown Error" whenever I trigger the data package.
    Advait

  • Change Value While Uploading data From Excel File

    Dear Expert,
    Please guide me is it Possible?, if yes then How?
    We have one BDC Uploader there After uploading data from Excel File, i want to check one field like this....
    if it_f65data-newbs contains any Alphabet.
    then user Should be able to change value on the same time while executing Program in table.
    Please tell me how i can change value in running program
    Regards'
    Shelly Malik

    Hi,
    What you can probably do is, perform a consistency check on your data in the internal table and segregate all those rows that have inconsistent data (in your case, the field NEWBS containing albhabets) into another temporary internal table. Display the temporary internal table in an editable ALV grid saying that these data have not been inserted to the database, coz they have inconsistent data in the field NEWBS. Allow the user to edit and then save the data which will consequently refresh the internal table contents.

  • Error while uploading data from a flat file to the hierarchy

    Hi guys,
    after i upload data from a flat file to the hierarchy, i get a error message "Please select a valid info object" am loading data using PSA, having activated all external chars still get the problem..some help on this please..
    regards
    Sri

    there is o relation of infoobject name in flat file and infoobjet name at BW side.
    please check with the object in the BW and their lengths and type of the object and check your flat file weather u have the same type there,
    now check the sequence of the objects in the transfer rules  and activate them.
    there u go.

  • Error while loading data from EXCEL to OWB

    Hi Marcos,
    Thank you. I got way.
    I did in the following steps...
    1. I created system dsn odbc_excel.
    2. I created initSID.ora
    3. I updated in the listener.ora.
    4. I created a soure module in odbc in owb.
    5. I created destination module in oracle where I want to load the data from excel.
    6. I am able to get the metadata of excel.
    7. I created a mapping.
    8. Validation and Generation phases completed successfully.
    9. At the time of deployment I got the following error.
    ORA-06550: line 16, column 22:
    PL/SQL: ORA-04052: error occurred when looking up remote object odbc_excel.EmployeeRange@EXCEL_SID.US.ORACLE.COM@CONNECTOR_EXCEL_OWB_SRC_DEST
    ORA-00604: error occurred at recursive SQL level 1
    ORA-02019: connection description for remote database not found
    here
    --excel_sid is the service name given in listener.ora.
    --connector_excel_owb_src_dest is the connector from soruce to destination.
    --Employee range is sheet name of excel.
    I am fighting with this problem from past few days...
    Thanks and regards
    Gowtham
    Message was edited by:
    Gowtham Sen

    Maybe you can consider save excel as .csv files and then you can load them as flatfiles to external table in OWB.

  • Error while importing data from excel to forms

    Hi,
    I am working on Oracle forms 10g, and I'm supposed to import data from excel sheet to forms.
    While the user enters the data,sometimes after entering a particular word he/she hits the alt+enter button.
    As a result the data appears in two lines in a single row
    So,when I try to import the data it's not importing the data in a right manner.
    S0,I want to replace this linefeed and carry with five spaces.
    Eg:The user instead of entering Geekpedia enters Geek
    pedia
    in the excel sheet.
    Now when I import this in the forms I want it to be imported as Geek Pedia.(5 spaces between Geek and pedia).

    Maybe you can consider save excel as .csv files and then you can load them as flatfiles to external table in OWB.

  • Error while uploading data from ODS to Cube

    Hi All,
    Will you please help out this issue.As this is a priority high issue,please reply if you know the answers.
    I am facing an error while loading the data from ODS to CUBE,the error
    is
    <b>1.Name is not in the namespace for generated BW Metaobjects
    2.Error 18 in the update</b>
    And this error is occuring only in quality server.
    Thanks,
    Ram.

    HI RAM SIVA,
    make sure that the Data source is replicated and tranfer rules r active.
    And also check whether the all transport requests r imported properly.
    hope it helps
    bhaskar

  • Error While Uploding data from Excel File

    I try to upload data directly from Xlfile to Internal table.I have used the foll function module
    ALSM_EXCEL_TO_INTERNAL_TABLE
    and it's working nicely when i run the program from R/3.
    My Question is ,if i access the same program from ITS ,no record is uploaded .
    Any help will be much appreciated .
    Rgds,
    J.

    Hi,
    try with this sample code.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                field_name = 'p_file'
           importing
                file_name  = p_file.
    start-of-selection.
      clear itab.
      call function 'WS_UPLOAD'
           exporting
                codepage                = ' '
                filename                = p_file
                filetype                = 'DAT'
           tables
                data_tab                = itab
           exceptions
                conversion_error        = 1
                file_open_error         = 2
                file_read_error         = 3
                invalid_type            = 4
                no_batch                = 5
                unknown_error           = 6
                invalid_table_width     = 7
                gui_refuse_filetransfer = 8
                customer_error          = 9
                others                  = 10.
      if sy-subrc ne 0.
        message e000 with text-e01.
        stop.
      endif.
    I hope it will work for you.
    Thanks.

  • Error while uploading data from a flat file

    Hi All,
    I am trying to load data from a flat file to an ODS. The flat file contains a field, say FLAT01, of numerical type(Type Decimal, Length 18, Decimals 2). I have created an infoobject, say ZIO10, with type CURR and currency field, 0CURRENCY. In the transfer rules, I have assigned a constant for 0CURRENCY as the flat file doesn't have any currecy field.
    The problem is the flat file doesn't have any value in that field, FLAT01, for some records, infact most of the records. When I try to load it to BW,from applicatin server, it is throwing an error "Contents from field ZIO10 cannot be converted in type CURR ->longtext".
    I have debugged the transfer rules and find that the empty value is being represented as '#' and when it is trying to copy it into the CURR type field, it is throwing the error.
    Can someone please let me know how to solve it? why is it taking '#' for enpty value? Can't we change that?
    Any help would be highly appreciated.
    Best Regards,
    James.
    Message was edited by:
            James Helsinki

    Hi SS,
    I am sorry that I was not clear with my explanation. I have created ZIO10 as a keyfigure with type AMOUNT and the currency as 0CURRENCY.
    There is no currency coming in from the flat file so I used a constant in transfer rules to fill 0CURRENCY.
    The field which is coming as '#' is FLAT01 which is assigned to ZIO10.
    Best Regards,
    James.

  • Uploading data from Excel sheet into SAP.

    Dear All,
    I want to upload data existing in Excel sheet into SAP. Is there any possibility with the following requirements?
    1) Excel file contains serial numbers with different values.Like power(230Wp),Voc,Isc,Vmp and Imp.
    2) We need to upload the same data into SAP with validations.
    3) Validations are like no serial number should be repeated.
    4) And depending on the Power value, the serial number should be assigned to different batches.Eg:The batches are as follows:
         201 - 210
         210 - 220
         220 - 230
       and if the Pmax of the serial number is 205.It should be assigned to batch 201 - 210 .
    5) At present we are using MB31 to post the serial numbers which are existing in the flat file.
    Thanks and Regards,
    Varun Siddharth

    Hi,
    Refer to the following code:
    DATA: lv_filetype(10) TYPE c,
            lv_gui_sep TYPE c,
            lv_file_name TYPE string.
      lv_filetype = 'ASC'.
      lv_gui_sep = 'X'.
      lv_file_name = pa_dfile.
    FM call to upload file
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = lv_file_name
          filetype                = lv_filetype
          has_field_separator     = lv_gui_sep
        TABLES
          data_tab                = gi_zhralcon_file
        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.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    The excel file must be a tab delimited file.
    Hope it helps.
    Regards,
    Rajesh Kumar

  • Error while expoting data from excel sheet

    I get error message as *'1 error has occurred. The identified column name is an Oracle reserved word. Please choose another name'.
    The column names are :
    SYSTEM_APPLICATION
    SYSTEM_COMPONENT     
    STACK_RELEASE
    RAISED_DATE
    RELEASE_GO_LIVE_DATE
    FP
    DEFECTS_CATEGORY
    S1_NOGO
    S2_INTERRUPTION
    S3_VISIBLE
    S4_NOIMPACT
    Could you please guide me where the problem would be .....
    Regards,
    Manoj

    Hi Myvizhi ,
    Did you try running the query from back end that got generated in the error trace ? see if that query is returning desired
    output .
    Also would like to know if you are using oracle standard search mode i.e result based search / auto customization search ?
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Uploading Data From Excel Sheet to SAP Database Tables

    Dear Friends,
    We are having an Excel Sheet with 90 different columns. Now we want only 2 of the columns to be uploaded in the database tables. So, Plz tell me which function module will be suitable for this. And plz help me with the code also.
    Thanks,
    Nishant Jain

    Hi Nishu,
    A sample for the same..
    data it_excel like table of ALSMEX_TABLINE with header line.
    here we retrieve only 2 cols directly..
    now itab will contain only 2 cols of all rows seperated by comma ..
    data str(1000).
    data itab like table of str with  header line.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
      EXPORTING
        filename                      = 'C:sample1.xls'
        i_begin_col                   = 1
        i_begin_row                   = 1
        i_end_col                     = 2
        i_end_row                     = 100
      tables
        intern                        =  it_excel
      LOOP AT it_excel.
        AT NEW row.
          CLEAR itab.
        ENDAT.
        IF itab IS INITIAL.
          MOVE it_excel-value TO itab.
        ELSE.
          CONCATENATE itab ',' it_excel-value INTO itab.
        ENDIF.
        AT END OF row.
          APPEND itab.
        ENDAT.
      ENDLOOP.
    regards
    satesh

  • Error in Source System While Uploading Data from ODS to Data Target

    Hi All,
    Iam getting Following Error while Uploading data from ODS to Data Target
    a) Error in Source System.
    b)DataSource 80MKT_DS01 has to be replicated (time stamp, see long text)
    Message no. R3016
    Diagnosis
    DataSource 80MKT_DS01 does not have the status of the source system in the Business Information Warehouse.
    The time stamp in the source system is 21.06.2005 07:31:33.
    The time stamp in the BW system is 27.11.2004 17:41:45.
    Regards,
    Chakri

    This generally occurs when you change the data source or enhance the data source or the coonections to the datasoiurse are broken. To resdolve thius sort of errors just
    1. Check for the coonect between the sourse & target systems
    2 . Replicate the data sourcses.
    3. Acivated TR,UR,& the rest of the flow But check in the source system if the structre is modified & is so do the changes in the IS , TR,UR correspondingly & the try to load .Hoppe it allows you to load .
    Thanks ,
    PSG

  • Upload data from excel (not the excle file) into SAP

    Guys,
    how can we upload data from excel sheet into SAP? I mean just the data not the entire file,
    I have a requirement where user press a button in excel sheet and the data in the sheet will get uploaded into SAP.
    I am sure we have to use BAPI and some VB programming for macros, I will really appriciate if anyone can help how to achive this.
    some sample code exampe will help.
    Cheers!

    I think u r writing BDC for Uploading the data from excel flile to sap. for this is the code I am sending u can use then for Uploading data from excel to sap.
    DATA: lv_filename TYPE rlgrap-filename.
    FIELD-SYMBOLS : <fs>.
    DATA : l_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
    DATA : l_index TYPE i.
    PARAMETERS : startcol TYPE i ,
          startrow TYPE i ,
          endcol TYPE i ,
          endrow TYPE i .
    PARAMETERS: p_flnam LIKE rlgrap-filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnam.
      CALL FUNCTION 'F4_FILENAME'
    EXPORTING
       program_name        = sy-repid
      FIELD_NAME          = ' '
       IMPORTING
         file_name           = p_flnam .
      MOVE p_flnam TO lv_filename.
    Uploading the flat file from the desktop
    START-OF-SELECTION.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                      = lv_filename
          i_begin_col                   = startcol
          i_begin_row                   = startrow
          i_end_col                     = endcol
          i_end_row                     = endrow
        TABLES
          intern                        = l_intern
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      SORT l_intern BY row col.
      LOOP AT l_intern.
        MOVE l_intern-col TO l_index.
        ASSIGN COMPONENT l_index OF STRUCTURE itab TO <fs>.
        MOVE l_intern-value TO <fs>.
        AT END OF row.
          APPEND itab.
          CLEAR itab.
        ENDAT.
      ENDLOOP.
    I hope it will help u.
    Regards
    Nayan

Maybe you are looking for

  • Small fire on Macbook Pro logic board!!

    Hi, guys! I have a 15" Macbook Pro 8.2 (early 2011) and today I was experiencing a lot problems with it, as quite often it suddenly turns off and can't be turned on again. After a while, it turns again but, after 1 or 2 minutes, turns off. I wanted t

  • Error in deletion of ODS data

    Hello Gurus, We have three ODS's in our project to which we will do daily loads. Before full upload we will delete all the present from the ODS's. The deletion process we will do automatically using process chains. It was working fine. but from the p

  • Why is the send button grayed when sending a message from contacts on my I pad

    Why is the send button grayed out when trying to send a message from contacts using my I pad

  • If I upgrade to Mac OS X Lion will I lose Applications/Documents/etc.

    I was wondering if I upgrade to Mac OS X Lion tomorrow, will my applications and all the documents that are saved on my computer be there after the upgrade? I do not have money to buy an external hard drive right now to do the back up, so will I be s

  • INT function in VB6

    Hello, I am not sure that  this is the correct place to put VB6 question or not, If not please suggest me correct one. My Question: Can any one explain me how INT function works internally for double type data in below case? Eg.  Dim dblVal as Double