<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Data Migration examples in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212537#M765903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SAP Data Migration with LSMW&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/sap-data-migration.htm" target="test_blank"&gt;http://www.sap-img.com/sap-data-migration.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For BDC:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://myweb.dal.ca/hchinni/sap/bdc_home.htm" target="test_blank"&gt;http://myweb.dal.ca/hchinni/sap/bdc_home.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&amp;amp;" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&amp;amp;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/learning-bdc-programming.htm" target="test_blank"&gt;http://www.sap-img.com/abap/learning-bdc-programming.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/bdc/bdchome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/bdc/bdchome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html" target="test_blank"&gt;http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 03:54:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-14T03:54:24Z</dc:date>
    <item>
      <title>Data Migration examples</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212536#M765902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can give some examples on data migration?...thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 01:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212536#M765902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T01:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data Migration examples</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212537#M765903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check these links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SAP Data Migration with LSMW&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/sap-data-migration.htm" target="test_blank"&gt;http://www.sap-img.com/sap-data-migration.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;For BDC:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://myweb.dal.ca/hchinni/sap/bdc_home.htm" target="test_blank"&gt;http://myweb.dal.ca/hchinni/sap/bdc_home.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&amp;amp;" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&amp;amp;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/learning-bdc-programming.htm" target="test_blank"&gt;http://www.sap-img.com/abap/learning-bdc-programming.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/bdc/bdchome.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/bdc/bdchome.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html" target="test_blank"&gt;http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 03:54:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212537#M765903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T03:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data Migration examples</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212538#M765904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we can use batch input method i.e., either call transaction and session &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and direct input... this is outdated due to poor performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have tool lsmw &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bapi are also used... these are very efficient since they hit the database using structures &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;steps to be carried out for data migration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Ensure that whether u r going to do one time transfer or frequent data transfer.One time transfer includes transferring master data and frequent data transfer includes transactional data.&lt;/P&gt;&lt;P&gt;2.Analyse the legacy data and identify the source from where it is coming from.&lt;/P&gt;&lt;P&gt;3.Record the corresponding SAP Transaction to know about the details like screen sequence,screen program name,screen field name,mandatory fields etc.&lt;/P&gt;&lt;P&gt;4.Generate the program based on the recording.&lt;/P&gt;&lt;P&gt;5.Read the data from your legacy system.Depends on whether the data is in presentation/application server you could use either GUI_UPLOAD/OPEN DATASET variants.&lt;/P&gt;&lt;P&gt;5.Convert the data into SAP format.&lt;/P&gt;&lt;P&gt;6.Replace the values from your recording with the value converted in SAP Format.&lt;/P&gt;&lt;P&gt;7.Finally you could do the transfer using either Session/Call transaction techniques.&lt;/P&gt;&lt;P&gt;8.You could also use LSMW for master data transfer as it is not suited for frequent data transfers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example using BAPI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is an example of SO change using BAPI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;initialize&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;clear: zBAPISDH1,&lt;/P&gt;&lt;P&gt;zBAPISDH1x.&lt;/P&gt;&lt;P&gt;refresh: zBAPIRET2,&lt;/P&gt;&lt;P&gt;zBAPISDITM,&lt;/P&gt;&lt;P&gt;zBAPISDITMx.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set header parameters for sales order update&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;move '911' to zBAPISDH1-ORD_REASON.&lt;/P&gt;&lt;P&gt;move 'X' to zBAPISDH1x-ORD_REASON.&lt;/P&gt;&lt;P&gt;move 'U' to zBAPISDH1x-UPDATEFLAG.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;set item parameters for sales order update&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select posnr&lt;/P&gt;&lt;P&gt;into vbap-posnr&lt;/P&gt;&lt;P&gt;from vbap&lt;/P&gt;&lt;P&gt;where vbeln eq itab_ord-vbeln.&lt;/P&gt;&lt;P&gt;clear: zBAPISDITM,&lt;/P&gt;&lt;P&gt;zBAPISDITMx.&lt;/P&gt;&lt;P&gt;move vbap-posnr to zBAPISDITM-ITM_NUMBER.&lt;/P&gt;&lt;P&gt;move '96' to zBAPISDITM-REASON_REJ.&lt;/P&gt;&lt;P&gt;append zBAPISDITM.&lt;/P&gt;&lt;P&gt;move vbap-posnr to zBAPISDITMx-ITM_NUMBER.&lt;/P&gt;&lt;P&gt;move 'X' to zBAPISDITMx-REASON_REJ.&lt;/P&gt;&lt;P&gt;move 'U' to zBAPISDITMx-UPDATEFLAG.&lt;/P&gt;&lt;P&gt;append zBAPISDITMx.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;update sales order&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'BAPI_SALESORDER_CHANGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;SALESDOCUMENT = itab_ord-vbeln&lt;/P&gt;&lt;P&gt;ORDER_HEADER_IN = zBAPISDH1&lt;/P&gt;&lt;P&gt;ORDER_HEADER_INX = zBAPISDH1X&lt;/P&gt;&lt;P&gt;SIMULATION = p_test&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;RETURN = zBAPIRET2&lt;/P&gt;&lt;P&gt;ORDER_ITEM_IN = zBAPISDITM&lt;/P&gt;&lt;P&gt;ORDER_ITEM_INX = zBAPISDITMX.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;commit changes&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if found helpful&amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chandra Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2007 10:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212538#M765904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-15T10:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Data Migration examples</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212539#M765905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Difference Between Batch Input and Call Transaction in BDC &lt;/P&gt;&lt;P&gt;What is the difference between batch input and call transaction in BDC? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session method. &lt;/P&gt;&lt;P&gt;1) synchronous processing. &lt;/P&gt;&lt;P&gt;2) can tranfer large amount of data. &lt;/P&gt;&lt;P&gt;3) processing is slower. &lt;/P&gt;&lt;P&gt;4) error log is created &lt;/P&gt;&lt;P&gt;5) data is not updated until session is processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction. &lt;/P&gt;&lt;P&gt;1) asynchronous processing &lt;/P&gt;&lt;P&gt;2) can transfer small amount of data &lt;/P&gt;&lt;P&gt;3) processing is faster. &lt;/P&gt;&lt;P&gt;4) errors need to be handled explicitly &lt;/P&gt;&lt;P&gt;5) data is updated automatically &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Data Communication (BDC) is the oldest batch interfacing technique that SAP provided since the early versions of R/3.   BDC is not a typical integration tool, in the sense that, it can be only be used for uploading data into R/3 and so it is &lt;/P&gt;&lt;P&gt;not bi-directional.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BDC works on the principle of simulating user input for transactional screen, via an ABAP program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically the input comes in the form of a flat file. The ABAP program reads this file and formats the input data screen by screen into an internal table (BDCDATA). The transaction is then started using this internal table as the input and executed in the background.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &amp;#145;Call Transaction&amp;#146;, the transactions are triggered at the time of processing itself and so the ABAP program must do the error handling.  It can also be used for real-time interfaces and custom error handling &amp;amp; logging features. Whereas in &lt;/P&gt;&lt;P&gt;Batch Input Sessions, the ABAP program creates a session with all the transactional data, and this session can be viewed, scheduled and processed (using Transaction SM35) at a later time. The latter technique has a built-in error processing mechanism too.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input (BI) programs still use the classical BDC approach but doesn&amp;#146;t require an ABAP program to be written to format the BDCDATA. The user has to format the data using predefined structures and store it in a flat file. The BI program then reads this and invokes the transaction mentioned in the header record of the file.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Direct Input (DI) programs work exactly similar to BI programs. But the only difference is, instead of processing screens they validate fields and directly load the data into tables using standard function modules. For this reason, DI programs are much faster (RMDATIND - Material Master DI program works at least 5 times faster) than the BDC counterpart and so ideally suited for loading large volume data. DI programs are not available for all application areas.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Differences between bdc session method and call transaction method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most important aspects of the batch session interface are: - Asynchronous processing - Transfers data for multiple transactions - Synchronous database update During processing, no transaction is started until the previous transaction has been written to the database. - A batch input processing log is generated for each session - Sessions cannot be generated in parallel  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The most important aspects of the CALL TRANSACTION USING interface are: - Synchronous processing - Transfers data for a single transaction - Synchronous and asynchronous database updating both possible The program specifies which kind of updating is desired. - Separate LUW for the transaction The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.  - No batch input processing log is generated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explain in detail with example what is batch input session? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Batch Input Session: &lt;/P&gt;&lt;P&gt;- It is a sequence of transactions, which is generated when user run a particular program.  &lt;/P&gt;&lt;P&gt;- It contains the accounting documents that are to be created. The SAP system stores these transactions until you decide to process them online.  &lt;/P&gt;&lt;P&gt;- It does not update transaction figures until the session has been processed.  Using this technique, you can transfer large amounts of data to the SAP system in a short time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three processing modes of executing Batch Input Session :- &lt;/P&gt;&lt;P&gt;(1) Run Visibly : You can correct faulty transactions online &amp;amp; work step-by-step through  the transactions not yet executed.  &lt;/P&gt;&lt;P&gt;(2) Display Errors only : You can correct faulty transactions online.   Transactions not yet executed, but without error, run in the background. &lt;/P&gt;&lt;P&gt;(3) Run in Background : Recommended by SAP.                                      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Kindly Reward Points If You Found The Reply Usefull&amp;lt;b&amp;gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Chaitanya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2007 11:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-migration-examples/m-p/3212539#M765905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-15T11:07:47Z</dc:date>
    </item>
  </channel>
</rss>

