Error handling in DATA MIGRATION

hi
i am a beginner in sap abap. i am learning data migration techniques . so i wanted to know that what are the possible error in bdc and lsmw apart from error of data in flat file.And how handle those errors. if anyone can share his/her experience based on real time projects then it will be very helpful.
thanks'
akash

Hi
That depends on how you load the data in the system
It can think there are two ways to upload the data:
- Asynchronous: the data are picked up (from file) and loaded in different sessions (for example: a program read data from file and then prepare a BDC session)
- Synchronous: the data are picked up and loaded in the same session (for example a program read data from file and load them by BAPI)
In the first solution you can't know if a record is ok or not ok you need to elaborate it by BDC session: so here yuo need to decide what to do,
The BDC session keeps the wrong transaction so you can elaborate it manually (anyway it's better to be sure the file is correct before creating a BDC session)
In the second  case you can use many soltuon because you can know if a record is ok or not after running BAPI, so (for example) you can generate a new file with the wrong record only, in order to try to elaborate it again.
Max

Similar Messages

  • Error detail in data migration?

    Hi all,
    I'm migrating an Access database to Oracle using SQL Developer and the migration workbench.
    When I run the data migration, it almost all works, but one table has one error.
    I get a list of tables, with rows, total rows, errors and total errors.
    Only one error is reported in the summary. 2208 out of 2209 records migrated in this table.
    How do I find out what the problem is?
    Is there a log anywhere?
    Is the data migration script visible anywhere?
    Thanks,
    Greg H

    Hi Dermot,
    It turns out there's some corrupt data in the Access database. That or it's in a language that I don't have installed on my machine.
    Access displays it as a bunch of squares.
    I guess if Access can't figure out how to display it, it would be unreasonable to expect a migration tool to.
    The Export Table Data failed with "error #5 Invalid procedure call or argument" and did not create the file for this table.
    I'll send this one record back to the business and let them figure out which record it is and if it's important.
    Thanks for your help,
    Greg H

  • Error Message during Data Migration.

    Hi All,
    I have to migrate data for opportunity. I read the data and passed it to "BAPI_BUSPROCESSND_CREATEMULTI". This FM returns a message i.e. "A log has been generated for single document". When i am passing the GUID to FM "BAPI_BUSPROCESSND_SAVE" it is giving an error message i.e. "The document could not be saved".
    I am not able to find why it is not saving that GUID. if anyone has any idea or if you the sample code then please reply.
          CALL FUNCTION 'BAPI_BUSPROCESSND_CREATEMULTI'
            TABLES
              HEADER               = lt_bapibus20001_header_ins
              OPPORTUNITY      = lt_bapibus20001_opportunity
              INPUT_FIELDS     = lt_bapibus20001_input_fields
              PARTNER            = lt_bapibus20001_partner_ins
              STATUS               = lt_bapibus20001_status_ins
              RETURN             = lt_bapiret2.
          lw_objects_to_save-guid  = lv_guid.
          APPEND lw_objects_to_save TO lt_objects_to_save.
          CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
            EXPORTING
              update_task_local = space
              save_frame_log    = GC_X
            IMPORTING
              LOG_HANDLE        = LOG_HANDLE
            TABLES
              objects_to_save   = lt_objects_to_save
              saved_objects     = lt_saved_objects
              return            = lt_bapiret2.

    I was going through the log and there is an error 250 in there too.

  • Error in asset data migration thru LSMW

    Hi u all,
    i have an issue while running an lsmw for asset data loads here, when i did it in foreground it saves the asset but when i run it in background its erring out
    i am doin it thru as91 whichis legacy transfers the error is
    Field RALT_DYNP_STRUC-ANBTR02(7) is not an input field     AS91     1     SAPLALTD     1100     14     S     00     347
    Field RALT_DYNP_STRUC-ANBTR03(7) is not an input field     AS91     1     SAPLALTD     1100     14     S     00     347
    this ANBTR02(7) n ANBTR03(7) are the *** spl dep fields for TAX and AMT in the takeover values tab,where we were giving the values of spl dep (Bonus value which is taken off in the acquisition yr)
    all is goin good in foreground but its giving the error whichi pasted above saying ..is not an input field, when i did it in background not able to figure out...
    Any help would be really grateful and appreciated......Thanka a lot in advance.

    Hi Nathan,
    as i mentioned earlier, it goes smooth when it is done manually or lsmw foreground, and answering to ur ques'n yes the fields are open. i am getting the error when i do it in batch input....
    Thanks ya
    Jay

  • Error Handling in Data - Query

    Hi,
    Could you please help me on the below scenario:
    Consider, Source table has 500 rows and Error Output  for both
    OLE DB source and Destination have been set as "Fail Component".
    Kindly confirm, If dataflow task failed due to Not Null column for a row, how many rows will  get insert ? or will it failed for all rows?

    It depends on how many batches got executed successfully. The last batch having failed records will get rolledback and any previous batches which got commited will be still there in the table as long as task is not inside a transaction (ie TransactionOption
    Required or inside a container with trsnaction option required and its transactionoption set to supported)
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Credit card Open sales order data migration

    Hi All,
    My query for today is to know your experiences as to how to handle legacy data migration to SAP for Open transactions having credit card information. I mean in legacy we have Open orders with credit card information and some of them are approved, or rejected or in a yet to receive a response stage. What is the best practice to migrate these open orders. Should we reauthorize these orders? Similarly, if you can tell me about Open Invoices and Open A/ru2019s.
    Thanks
    AriBis

    hello, friend.
    a standard transaction is VA05 or VA05n to check on open orders. 
    if you need to check the database tables, you can check sales order status/header thru table VBUK.  for item level, use VBUP.  you will find fields such as reference status, delivery status, etc.
    regards.
    jy

  • Best practice for data migration install v1.40 - Error 2732 Directory manag

    Hi
    I'm attempting to install SAP Best Practice for Data migration 1.40 on Win Server 2008 R2 (64 bit).
    Prerequisite error
    Installation program stops with missing file error
    The following file was not found
    ... \migration\InstallationWizard\BusinessObjects Data Services\setup.exe
    The file is necessary for successful installation. Please connect to internet or refer to Quick Guide (available on SAP note 1527151) for information regarding the above file.
    Windows installer log displays
    Error 2732 Directory Manager not initialized
    SAP note 1527151 does not exist or is internal.
    Any help appreciated  on what is the root cause of the error as the file does not exist in that folder in the installation zip file.
    Other prerequisite of .NET 3.5.1 met already.
    Patch is released since 20.11.2011 so I presume that it is a good installation set.
    Thanks,
    Alan

    Hi Alan,
    There are details on data migration v1.4 installations on SAP website and market place. The below link should guide to the right place. It has a power point presentation and other useful links as well.
    http://help.sap.com/saap/sap_bp/DMS_V140/DMS_US/html/index.htm
    Arun

  • Error handling for master data with direct update

    Hi guys,
    For master data with flexible update, error handling can be defined in InfoPackege, and if the load is performed via PSA there are several options - clear so far. But what about direct update...
    But my specific question is: If an erroneous record (e.g invalid characters) occur in a master data load using direct update, this will set the request to red. But what does this mean in terms of what happens to the other records of the request (which are correct) are they written to the master data tables, so that they can be present once the masterdata is activated, or are nothing written to masterdata tables if a single record is erroneous???
    Many thanks,
    / Christian

    Hi Christian -
    Difference between flexible upload & Direct upload is that direct upload does not have Update Rules, direct upload will have PSA as usual & you can do testing in PSA.
    second part when you load master data - if error occurs all the records for that request no will be status error so activation will not have any impact on it i.e. no new records from failed load will be available.
    hope it helps
    regards
    Vikash

  • HT4796 windows migration assistant has errors in preparing data on my PC

    Hi,
    just got my new iMac and want to migrate files from my Windows XP machine using Windows Migration Assistant for Lion. It seemed to install OK on the PC but it will not run. It comes up with an message saying found errors in preparing data. Any ideas?
    Peter

    Are you using wifi to migrate?

  • Error in Data Migration

    Hi Experts,
    We are Trying to upload Journal entry datas from SAP Business one Data Migration Tool.
    We have maintained Header and Item Templates.
    But System is giving a error which is having following Description.
    Key JdtNum iS Too short,error 65171.
    Can anyone please help us in overcoming the problem?
    Thanks in advance

    Hi Ravi,
    Please check this thread to have some ideas:
    Re: DTW journal entry problem for many line accounts
    Thanks,
    Gordon

  • Error in updationg the opportunity in data Migration program

    Hi,
      I am getting an error in updationg the opportunity in data Migration program. I am using
      CALL FUNCTION 'BAPI_BUSPROCESSND_CHANGEMULTI'
              TABLES
                HEADER        =    li_header
                ITEM          =        lt_bapibus20001_item
                OPPORTUNITY   = lt_bapibus20001_opportunity
                INPUT_FIELDS  = lt_bapibus20001_input_fields
                PARTNER       = lt_bapibus20001_partner_ins
                STATUS        = lt_bapibus20001_status_ins
                PRICING       = li_pricing
                TEXT          = li_text
                RETURN        = lt_bapiret2.
    after save when it is to be commited. I am getting the following error.
    Express Document: Updation terminated author by "XYZ"
    Thanks in advance.

    HI Piyush,
    Tyr to use CRM_order_maintain. If you are trying to change partner,pricing,status,header,item then ORDER_MAINTAIN is the good one to use.
    Its very easy to identify the parameters that need to be populated for this FM

  • Error -2003: a data handler needed by the movie could not be found

    Hello.
    I just purchased QuickTime Pro and the MPEG-2 add-on for it, for the single purpose of transcoding some MPEG-2 recordings to H.264. However, when I try to open any of my MPEG-2 files in Quicktime, I get the message: "error -2003: a data handler needed by the movie could not be found (my-filename.mpg)"
    I can play these files in a number of different free players--VLC, Mplayer, Windows Media Player, RealPlayer... but not in the player I paid $50 for.
    Can someone please help me?

    That doesn't really help. Besides, I haven't even got to the point where I'm trying to export. I get this error message when I try to open the file. I can't even play back the clip.
    And the MPEG-2 page clearly states: "The QuickTime MPEG-2 Playback Component provides QuickTime users with the ability to import and play back MPEG-2 content, including both multiplexed (a.k.a. muxed, where the audio and video tracks are interleaved together into one track) and non-multiplexed (a.k.a. elementary) streams."
    Also, Streamclip crashes when I try to load my MPEG-2 clips, so that's not going to work (and even if it did, I am trying to find a simple way to take the HDTV content I've recorded off the air and get it onto my AppleTV--I want fewer steps, not more).
    Looks like I'll have to waste some time calling customer service to get a refund, since there's no way to do this via the website.

  • Error message while doing data migration

    Hi all
    When im doing data migration for material master through Z transaction ,it is updating global DIR documents for material while doing this ,im getting the error and  the transaction is stopped intermediately the error message is CHANGE MASTER STATUS DOES NOT ALLOW CHANGES no error message number.
    Kindly sujjest where is that error is coming,it would be very helpful

    It seems you are using engineering change management and your change number's status is not proper (CC01, CC02, CC03; table AENR).
    Configuration of the status is in T419S (use SM30 + T419S) - but I guess the problem is about your change number not about config...
    How your Z-program is working, we don't know; contact the responsible functional/technical consultants.
    Edited by: Csaba Szommer on Aug 19, 2011 8:41 AM

  • Data error handling documents

    Dear Freinds,
    can any one send error handling documents for data loads.
    Regards,
    Pavan

    Pavan,
    <b>load failed .
    fullload-- masterdata or transcational data-- data in PSA--- directly update from PSA by deleting request in data target.</b>
    Yea you can update the data from the PSA if the data is correct.
    <b>full load -- master data or transcation data-- no PSA- schedule the infopackage again.</b>
    Yes when you have no data backup in BW (PSA) you need to extract data from the source system. In case of delta if the load fails you can repeat the delta load which extracts data from source system.
    <b>delta load- master data or transactional data data in PSA-- directly update from PSA by deleting request in data target.</b>
    <b>delta laod-- master data or transactional data- no psa- schedule the IP again.</b>
    If the delta load fails you can repeat delta even if the data is present in the PSA or not
    <b>also when we go for repair full request and repeat delta?</b>
    You can go for repair full request only when you have data in PSA.

  • Error in data migration through DTW

    Hi All,
          I am creating a template for user define Master data table from DTW, when i am trying to port data by using that template through DTW. it is giving error like--'Master data type User table cannot add row'
    So can any one have solution for this.
    Regard's
    Hari

    hi,
    object name is U_SCRAPMAST
    Code     Name     U_SCD     U_SDSC     U_Status
    Code     Name     U_SCD     U_SDSC     U_Status
    1          SCR1     SCR1     
    2          SCR2     SCR2     
    regard's
    Hari

Maybe you are looking for

  • Windows 7 and Office 2010 activation issues

    hey everyone since a few days we facing really strange issue here within our school. We are running windows 7 machines and office 2010 and all our different machine types is it VDI VMs, physical laptops, desktop computer or provisioning machines (Cit

  • Illustrator CS2 Run time error

    i encountered error ..."Illustrator cs2\Support Files\Contents\Windows\Illustrator.exe . This application has requested the Runtime to terminate it in an unusual way.Please contact the application's support team for more information. " i know this is

  • Loading xml file into oracle table

    Please guide as to how can xml file be loaded into corresponding oracle table.

  • How Do I Convert at Palette Into a Color Ramp?

    Hello, Is there a way to convert the 5-color palettes created by Kuler into a continuous color ramp? Thanks, Doug Twitter: @dugla

  • How can i get icloud on my macbook pro

    i go to system prefferences and there is no option for icloud.  i am trying to establish the find my mac application