<?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: BDC Transaction Vs Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402077#M194289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;BDC is the tool which is used to migrate data from one SAP system to another or from non-sap (eg. text files, excel files etc) system to a SAP system.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BDC uses two methods for the same.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;1) Call Transaction&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;2) Batch Input Session&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Following are some of the points which shows the differences between two.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;                    &lt;STRONG&gt;CALL TRANSACTION                                                              BATCH INPUT SESSION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1) can upload the data from  only one transaction         1) can upload the data from more than one transaction*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) This is more faster than Batch Input Session            2) As compared to call transaction, this is slow&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Data processes synchronously                                    3) Data processes asynchronously.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) The records are immediately added to the                  4) The records are not added to the database until the session is processed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;database table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5) Updation in database table is either Synchronous     5) Updation in database table is always Synchronous.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;or Asynchronus.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6) Error logs are not created and hence the errors need 6) Error logs are created for error record.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;to be handled explicitly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7) The value of sy-subrc returned to 0 if successful.       7)  The value of sy-subrc is never returned because records are&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                                                                &lt;STRONG&gt;stored temporary in session and after the records are updated to the&lt;/STRONG&gt;                                                                                &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;database.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 12:05:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-09T12:05:00Z</dc:date>
    <item>
      <title>BDC Transaction Vs Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402072#M194284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whats the exact difference between BDC Transaction VS BDC Session?  Any simple example . Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether BAPI can be substitute for the above two techniques?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 00:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402072#M194284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T00:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Transaction Vs Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402073#M194285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC - Call Transaction is more of an online transaction, it executes in the same work process.  Creating a session, allows you to put off the process to the background process, they are be administrated via SM35.  You have better error handling using a session, because it remembers the errors and you can reprocess them.  You can use a BAPI if there is one available, this will be simular to the BDC - CALL Transaction, the only difference is that there is no screen processing in the BAPI, which is better, because this makes it process faster than BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 00:57:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402073#M194285</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-06-22T00:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Transaction Vs Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402074#M194286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BDC TRansaction : &amp;lt;b&amp;gt; Online &amp;lt;/b&amp;gt;-The system won't store data for later processing.&lt;/P&gt;&lt;P&gt;Session : &amp;lt;b&amp;gt; later processing &amp;lt;/b&amp;gt;-You can store the sessions and it can be used for later processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BAPI can't replace Session method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;OPJ.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 01:16:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402074#M194286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T01:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Transaction Vs Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402075#M194287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;here is the difference..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Call transaction:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;1.Synchronous Processing.&lt;/P&gt;&lt;P&gt;2.Synchronous and Asynchronous database updates.&lt;/P&gt;&lt;P&gt;3.Transfer of data for individual transaction,&lt;/P&gt;&lt;P&gt;4.Not suited for bulk transfer.&lt;/P&gt;&lt;P&gt;5.No automatic errror handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Session:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;1.Asynchronous Processing.&lt;/P&gt;&lt;P&gt;2.Synchronous database updates.&lt;/P&gt;&lt;P&gt;3.Transfer of data for multiple transactions.&lt;/P&gt;&lt;P&gt;4.Best suited for bulk transfer.&lt;/P&gt;&lt;P&gt;5.Automatic errror handling.&lt;/P&gt;&lt;P&gt;6.SAP's standard approach for data transfer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;You can also use BAPI's if there is one available..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 02:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402075#M194287</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-06-22T02:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Transaction Vs Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402076#M194288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;bdc can be done in two ways&lt;/P&gt;&lt;P&gt;1. direct input (uses some fn modules to directly update dbtab)&lt;/P&gt;&lt;P&gt;2. batch input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transcation and session methods are the methods in batch input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are many differences between call transcation and session method like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. session method is asynchronous processing and synchronous update while call transaction can use any mode for update .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in session method logs can be seen in session over view. in call transaction we have to handle using BDCMSGCOLL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. session will not return sy-subrc while call transcation returns sy-subrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like wise there are few differences.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leaving that, the question is when to use which method.&lt;/P&gt;&lt;P&gt;the answer is it depends upon the scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i will give u a nice example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose, i need to use two transactions in my bdc.&lt;/P&gt;&lt;P&gt;the requirement is when the data is successfully updated in the first one, then update in the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which method we need to go?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. if we need to call two transactions, in both the methods not a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in session method , betwwen bdc_opn_group and close_group, we can call any number of bdc_insert s in which we pass the transcations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. in call transaction ,we can call any number of transacions using call transaction &amp;lt;tcode&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now which method to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the scenario is when the first one is successfull, update the second one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;session method is clearly not possible as bdc_insert does not return sy-subrc = 0 which means succefull.&lt;/P&gt;&lt;P&gt;so, we need to go in this situation for call transaction method only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like wise depending on the situation we need to switch over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if huge number of data is there to update we generally prefer session method rather than call transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 03:46:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402076#M194288</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-06-22T03:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Transaction Vs Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402077#M194289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;BDC is the tool which is used to migrate data from one SAP system to another or from non-sap (eg. text files, excel files etc) system to a SAP system.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BDC uses two methods for the same.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;1) Call Transaction&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;2) Batch Input Session&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Following are some of the points which shows the differences between two.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;P&gt;                    &lt;STRONG&gt;CALL TRANSACTION                                                              BATCH INPUT SESSION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1) can upload the data from  only one transaction         1) can upload the data from more than one transaction*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2) This is more faster than Batch Input Session            2) As compared to call transaction, this is slow&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3) Data processes synchronously                                    3) Data processes asynchronously.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4) The records are immediately added to the                  4) The records are not added to the database until the session is processed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;database table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5) Updation in database table is either Synchronous     5) Updation in database table is always Synchronous.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;or Asynchronus.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6) Error logs are not created and hence the errors need 6) Error logs are created for error record.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;    &lt;STRONG&gt;to be handled explicitly.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7) The value of sy-subrc returned to 0 if successful.       7)  The value of sy-subrc is never returned because records are&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                                                                &lt;STRONG&gt;stored temporary in session and after the records are updated to the&lt;/STRONG&gt;                                                                                &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;database.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 12:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-transaction-vs-session/m-p/1402077#M194289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-09T12:05:00Z</dc:date>
    </item>
  </channel>
</rss>

