Can anyone list problems/errors when uploading data using BDC's and BAPI's?

Can anyone list the problems/errors when uploading data using BDC's and BAPI's?

Hi,
If you are actually creating a BDC to load data pls be more specific.
Data format incorrect. Tab delimited/ etc
Dates in wrong formats
Currency incorrect formats
Missing screens
Wrong transaction code
File not found,
Missing Mandatory fields,
Screen resoultion.
You should always use refresh for your Bdcdata table.
Loop at internal table.
refresh Bdcdata.
regards,
sowjanya.

Similar Messages

  • Error when uploading data using generic

    Hi,
    I have created a gereic datasrc using view & i took the following fields
    MATNR     Material
    WERKS     Plant
    PBDNR     Req.plan number
    BDZEI     Reqmts pointer
    LAEDA     Last change
    MEINS     Base Unit
    FIXMG     Planned qty
    In the transfer rules of BW the system gave mapping only for LAEDA Last changewith the infoobj 0CH_ON,so I took 0mat infoobj formapping with  Matnr
    0plant for werks & created ZpBDNR,ZBDZEI for PBDNR  BDZEI & for FIXMG i mapped with the infoobj 0PRDPLN_QTY
    In the monitor screen it is showing me 0 records with status yellow then I went to the job overview it is giving me the following msg in job overview
    Date        Time      Message                                                                               
    24.12.2006  12:18:13  Job started                                                                            
    24.12.2006  12:18:13  Step 001 started (program SBIE0001, variant &0000000006181, user ID ALE_MASTER)        
    24.12.2006  12:18:13                                                                               
    24.12.2006  12:18:13  DATASOURCE = PLANEW                                                                    
    24.12.2006  12:18:13  *************************************************************************              
    24.12.2006  12:18:13  *          Current Values for Selected Profile Parameters               *              
    24.12.2006  12:18:13  *************************************************************************              
    24.12.2006  12:18:13  * abap/heap_area_nondia......... 2000000000                              *             
    24.12.2006  12:18:13  * abap/heap_area_total.......... 2000000000                              *             
    24.12.2006  12:18:13  * abap/heaplimit................ 40000000                                *             
    24.12.2006  12:18:13  * zcsa/installed_languages...... DE                                      *             
    24.12.2006  12:18:13  * zcsa/system_language.......... E                                       *             
    24.12.2006  12:18:13  * ztta/max_memreq_MB............ 250                                     *             
    24.12.2006  12:18:13  * ztta/roll_area................ 2000000                                 *             
    24.12.2006  12:18:13  * ztta/roll_extension........... 2000000000                              *             
    24.12.2006  12:18:13  *************************************************************************              
    24.12.2006  12:18:14  Could not determine BW release of logical system 'QEMCLNT003'                          
    24.12.2006  12:18:14  Job cancelled after system exception ERROR_MESSAGE                                                                               
    Thanks,
    Maya

    Did you created Logical system also? If not you have to create logical system and assign it to ur source system.
    If u on BW3.5 system:
    Tcode SPRO->ref Img->SAP NetWeaver->SAP BI->Links to other systems->define logical system. (not sure abt path...but it must be somehow similar to this only)
    Check this link it may help you:
    http://www.erpgenie.com/sapgenie/docs/MySAP%20BW%20Cookbook%20Vol%202.pdf
    Message was edited by:
            KJ (Kamaljeet)

  • Error when uploading data.

    hi guys,
    when uploading data using customer datasource 2lis_01_s001..
    i got the following error.
    <b>Update ( 0 new / 0 changed ) : Errors occurred
    Data records for package 1 selected in PSA - 1 error(s)
    Record 1 :No SID found for value 'ST ' of characteristic 0BASE_UOM</b>
    tel me what can be the error...how to solve it..
    got the data in PSA.
    thanks ,
    kevin..
    Message was edited by:
            kevin peterson

    Hi
    Go to SE38 use program RS_TRANSTRU_ACTIVATE_ALL.
    fill the necessary details required like Infousource and source system name.
    after filling in all the details press execute.
    Now after this is successful go to DS and replicate it and try loading data once again now after deletion of prev unsuccessful req
    hope it helps
    thanks
    puneet

  • Can anyone help me? When i try to download minecraft and open it up, it says that it gets damaged and it won't work

    Can anyone help me? When i try to download minecraft and open it up, it says that it gets damaged and it won't work. I have the Macbook Pro with Retina display

    Hi AMD2, This worked for me
    https://discussions.apple.com/thread/3241273?start=15&tstart=0

  • UPload data useing BDC for cost element allocation

    Hi ALL,
      i have to upload data useing BDC , have to upload data for cost centre accloction table ,What is the T.code and how to do it, i have knows LSMW,
    very useful for me
    Advance  Thanks
    Narra

    Using BDC means...use theTCODE: SHDB   + ABAPer help, it requires program need to create for this....you can have options in BDC is...u can test the data validity before you upload the data
    VVR

  • Upload data using BDC

    Hi Expert,
    How to upload data using BDC. I have uploaded using LSMW....now want to know how to upload data using BDC

    HI
    Ask your Abapper.
    First you have to record in SHDB. then you have to generate the program and write the code in SE38
    For more details please make a search
    regards
    Prashanth

  • Difference between uploading data using BDC,CATT

    Dear experts,
    what is the difference between uploading the data using BDC and CATT tool?
    is it only the coding or something else.
    and can you explain the situations where we prefer to upload the data using CATT tool.
    thanks in advance.

    Check this thread -
    Differences between  BDC , LSMW, BAPI,CATT
    Regards,
    Amit

  • Flat  file to upload data using BDC for transaction MM01

    Hi
    I am trying to update data using bdc code has been attached below using a txt file.
    It is updating the first set of data into the table mara ,but  for the rest it is not
    All the data from txt file has being loaded to internal table , but the problem is it does not gets updated from internal table to the database .
    Only the first set of data has been loaded ,<u><b> rest of the data is not loaded</b></u>
    <u><b>content of txt file</b></u>
    zsc     zsc     kg     
    zsv     zsv     kg     
    zsb     zsb     kg
    <u><b>Actual code</b></u>
    report ZMAT_UPLOAD
           no standard page heading line-size 255.
    types declaration..........................................................................
    types : begin of t_mat,
       matnr(20),
       desc(50),
       uom(5),
    end of t_mat.
    internal table and workarea declaration.......................................
    data : i_mat type table of t_mat.
    data : wa_mat type t_mat.
    include bdcrecx1.
    start-of-selection.
    moving the flat file content to internal table................................
    CALL FUNCTION 'UPLOAD'
         EXPORTING
             FILETYPE   = 'DAT'
         TABLES
             data_tab   = i_mat.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    perform open_group.
    loop at i_mat into wa_mat.
    perform bdc_dynpro      using 'SAPLMGMM' '0060'.
    perform bdc_field       using 'BDC_CURSOR'
                                       'RMMG1-MATNR'.
    perform bdc_field       using 'BDC_OKCODE'
                                        '=AUSW'.
    perform bdc_field       using 'RMMG1-MATNR'
                                        wa_mat-matnr.
    perform bdc_field       using 'RMMG1-MBRSH'
                                        'P'.
    perform bdc_field       using 'RMMG1-MTART'
                                        'ZOH'.
    perform bdc_dynpro   using 'SAPLMGMM' '0070'.
    perform bdc_field       using 'BDC_CURSOR'
                                        'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                        '=ENTR'.
    perform bdc_field       using 'MSICHTAUSW-KZSEL(01)'
                                        'X'.
    perform bdc_dynpro   using 'SAPLMGMM' '4004'.
    perform bdc_field       using 'BDC_OKCODE'
                                        '=BU'.
    perform bdc_field       using 'MAKT-MAKTX'
                                        wa_mat-desc.
    perform bdc_field       using 'BDC_CURSOR'
                                        'MARA-MEINS'.
    perform bdc_field       using 'MARA-MEINS'
                                        wa_mat-uom.
    perform bdc_field       using 'MARA-MTPOS_MARA'
                                        'NORM'.
    perform bdc_transaction using 'MM01'.
    endloop.
    Perform close_group.

    Hi Sumant,
    just concentrate on bold one
    report ZMAT_UPLOAD
    no standard page heading line-size 255.
    types declaration..........................................................................
    <b>
    data : begin of t_mat occurs 0,
    matnr(20),
    desc(50),
    uom(5),
    end of t_mat.</b>
    internal table and workarea declaration.......................................
    <b>*data : i_mat type table of t_mat.
    *data : wa_mat type t_mat.</b>
    include bdcrecx1.
    start-of-selection.
    moving the flat file content to internal table................................
    CALL FUNCTION 'UPLOAD'
    EXPORTING
    FILETYPE = 'DAT'
    TABLES
    <b>data_tab = i_mat.---> t_mat.</b>
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    perform open_group.
    <b>loop at i_mat into wa_mat.------>loop at t_mat.</b>
    perform bdc_dynpro using 'SAPLMGMM' '0060'.
    perform bdc_field using 'BDC_CURSOR'
    'RMMG1-MATNR'.
    perform bdc_field using 'BDC_OKCODE'
    '=AUSW'.
    perform bdc_field using 'RMMG1-MATNR'
    <b>wa_mat-matnr.---->t_mat-matnr(change in this for ur wa to t_mat.</b>
    perform bdc_field using 'RMMG1-MBRSH'
    'P'.
    perform bdc_field using 'RMMG1-MTART'
    'ZOH'.
    perform bdc_dynpro using 'SAPLMGMM' '0070'.
    perform bdc_field using 'BDC_CURSOR'
    'MSICHTAUSW-DYTXT(01)'.
    perform bdc_field using 'BDC_OKCODE'
    '=ENTR'.
    perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
    'X'.
    perform bdc_dynpro using 'SAPLMGMM' '4004'.
    perform bdc_field using 'BDC_OKCODE'
    '=BU'.
    perform bdc_field using 'MAKT-MAKTX'
    wa_mat-desc.
    perform bdc_field using 'BDC_CURSOR'
    'MARA-MEINS'.
    perform bdc_field using 'MARA-MEINS'
    wa_mat-uom.
    perform bdc_field using 'MARA-MTPOS_MARA'
    'NORM'.
    perform bdc_transaction using 'MM01'.
    endloop.
    Perform close_group.
    Reward points for helpful answers.
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen
    Message was edited by:
            Pattan Naveen

  • Error when upload data in  ADF Desktop Integration

    Hi,
    I am using ADF Desktop Integration for create 1 application.
    I have 1 ADF Table and 1 upload button for upload data in Integrated Excel file.
    First, when load file, data are loaded into Excel file.
    when I edit data in table and click upload button then Exception raise as follow:
    oracle.adf.desktopintegration.bindingxml.BindingContainerXml writeThrowableXml
    WARNING: reporting throwable to client: JBO-25077: Name element not found in the given object: aa1.
    oracle.jbo.expr.JIEvalException: JBO-25077: Name element not found in the given object: aa1.
    In Action[] Array of Upload button I have uploadData method and TAB1852140547.Upload
    My upload button action do nothing.
    Please help me

    Hi,
    Have you included any settings on your table batch actions? Please see the following tutorial which also does update on data from a table
    http://www.oracle.com/technology/obe/obe11jdev/ps1/adfdi/gettingstartedwithadfdi.htm
    Juan C

  • Runtime Error while uploading data using a BAPI

    Hi ALL,
        I am trying to upload duties for PO items using BAPI from a excel sheet.In this BAPI I am saving the data into a z table(Customizing table, maintenance only by cust., not SAP import).The data is getting saved into the table and it shows the data uploaded successfully message also,but when I scroll up I see RUN time error,althogh the data is getting saved.
            I have seen in the st22 and it shows the following information.
    Internal error: Invalid page number.                                                                               
    What happened?                                                                               
    The current ABAP program had to be terminated because the                    
    ABAP processor detected an internal system error.                            
    The current ABAP program "ZFI_UPD_BOE_UPLOAD" had to be terminated because the
    ABAP                                                                        
    processor discovered an invalid system state.                                
        My functional consultants opinion is after data getting saved it comes into me23n's  condition tab.He has done it many times.But for one PO it is not showing.
        I checked the upload program.In upload program a BAPI is written which simply takes the data from a excelsheet and saves into the z table.
      My query is whether we can show the data of a z table into standard tocde?

    Thanks Lakshman!
               I debug the program.There is no BDC used update.In this program after taking the data from excel sheet one internal table is prepared and this internal table is directly used to insert data into z table.This is the last code which executes.
      INSERT zmmpoamend FROM TABLE t_zmmpo_amend_tab.
      IF sy-subrc EQ '0'.
        MESSAGE 'Data Upload Successfully completed' TYPE 'S'.
      ELSE.
        ROLLBACK WORK.
        MESSAGE 'Data Upload failed ' TYPE 'E'.
      ENDIF.
      CLEAR t_zmmpo_amend_tab.
      REFRESH t_zmmpo_amend_tab.
         Is it possible to configure z table using SPRO tcode,such that this z tables data will go to standard table and then we can see it in the standard tcode?
    I am not sure but it's just a guess.

  • Error when extracting data using DB Connect from an Oracle database

    Hi All,
    We are on BI 3.5 and loading data from a non-SAP (Oracle 10g) database using DB Connect.
    I received the following error messages when trying to perform "Check DataSource" using the DB Connect setup in RSA1.
    Event with errors RSDL_META_UPLOAD in DataSource
    Message no. R8287
    Warning Messages;
    Message no. RSDL053
    Field name ReceiptID contains non-alpha-numeric characters
    Field name ActivityDate contains non-alpha-numeric characters
    Field name ReceiptDate contains non-alpha-numeric characters
    Field name ReceiptLineNumber must have between 000001 and 000016 digits
    etc...
    Views are created under the owner's user name. I have checked with DB personnel and they confirm that all the authorization and security access privileges have been correctly granted to the views.
    We are also able to extract the data by running a sql query statement from the views using SQL Plus
    Currently we also have a similar extraction process set up with an Oracle 9 database, which extracts the information without any issues.
    Thanks,
    Anthony

    Hi Mr Loh.
    I know that this thread has over a year ago but i was looking for something similar for over 2 weeks ago and i ialways found this thread...I want to share my experience even that maybe you already found the same solution or something similar (i saw that you check your own post as answered):
    I made a similar connection from BI 7 SP 18, but in my case was to a Microsoft SQL database 2005. When i "check the datasource" i receive like almost 150 warnings and 1 error and all the warnings and errors are the same ones as you describe above. What i did is create a custom view in the MSSQL database and convert all the column names to uppercase and the column names i limited to 16 characters at most. after doing that all the warnings and the error described disappear and i can view the database content when you made click in the "view content table" button.
    I hope that this will help somebody and best regards
    Martin Olmos

  • Error when importing data using DTW template

    Dear All gurus/experts,
    I have a problem when importing data into SBO system using DTW. The error message is "sort error, pls check the prepared data and delimeter. I use SBO 2004 SP 00 PL 41. I don't understand to cope with this problem, I have no idea anymore. I appreciate your answer. TIA
    Rgds,

    Tks for your reply. I have seen it and the error message relates to delimeter. I have tried to correct the error by recreate the file and save as tab delimeted. Right now I am trying to import the files.
    Rgds,

  • Getting error while uploading data  using the EXCEL( GUI_upload)

    Dear Freinds,
    I am uploading data from my excel sheet to my Custom table . I am using the below code
    call function 'GUI_UPLOAD'
    exporting
    filename = l_fn
    filetype = 'BIN' "'ASC'
    has_field_separator = 'X'
    tables
    data_tab = p_i_ins_db
    exceptions
    others = 17.
    i can see in my internal P_i_ins_db ...all the data is coming in encrypted format.
    The flat given to me is the .CSV file .
    Could any one please let me know how i can upload the data which is there in .csv file.
    regards
    syamala

    Hi Syamala,
    Before using the GUI_UPLOAD to upload the data from the excel file to the internal table,you can try usng the Function Module 'SAP_CONVERT_TO_TEX_FORMAT' or 'SAP_CONVERT_TO_CSV_FORMAT' as it helps n formatting the data.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Problem during uploading data Using BDC

    While I'm trying to upload data for T.Code J1IS using BDC, Value for the field  Net.***.value ( J_1IASSVAL-J_1IVALNDP) is not getting populated on the screen.
    Pls help.

    Hi,
    This is a Currency Field so you need to pass this to a Char field first and then pass to BDCTAB-FVAL.
    " This is a common problem with BDC with other data types even with Date  and Quantity and Numeric types
    Please note while passing values to BDCTAB all the values should be passed in CHAR form only
    Cheerz
    Ram.

  • Is it possible upload data using BDC for creation of Quotation

    Dear All ,
    Scenario is such that details in teh quotaion is entered in three steps by three departments, weh ave planned that  all three departments would work on single excel sheet enter the details over there and when it is ready  we will create quotaion by uploading it through BDC,
    First of all is it possible to upload  the data in quotaion through BDC  , Kindly suggest
    Regards
    Sunaina

    Hi Sunaina,
    Yes its possible to load the data through BDC.
    But I would suggest to go for BAPI instead of BDC.
    BAPI_QUOTATION_CREATEFROMDATA Or BAPI_SALESDOCU_CREATEFROMDATA can be used to create a quotation .
    Regs.
    Sai

Maybe you are looking for