<?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 doubt (session method) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578042#M260973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Well, thats not directly true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) for making one bdc session, we do&lt;/P&gt;&lt;P&gt;bdc_open_group&lt;/P&gt;&lt;P&gt;bdc_insert&lt;/P&gt;&lt;P&gt;bdc_close_group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) and for one call transaction,&lt;/P&gt;&lt;P&gt;we simply do&lt;/P&gt;&lt;P&gt;call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The above full (a) &lt;/P&gt;&lt;P&gt;   is only for one tcode.&lt;/P&gt;&lt;P&gt;   If we repeat it, i mean, we repeat the full steps of a,&lt;/P&gt;&lt;P&gt;   then another session will be created,&lt;/P&gt;&lt;P&gt;   in which we can give another tcode, &lt;/P&gt;&lt;P&gt;   thats all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The same thing applies for (b) also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Sep 2006 11:09:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-29T11:09:08Z</dc:date>
    <item>
      <title>bdc doubt (session method)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578040#M260971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;i have read from many materials that using session methods we can run multiple transactions at a time&lt;/P&gt;&lt;P&gt;whereas using call transaction only one transaction at a&lt;/P&gt;&lt;P&gt;time.&lt;/P&gt;&lt;P&gt;so iwant to know that how we can run multiple transaction at a time.&lt;/P&gt;&lt;P&gt;plz clear my doubt&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 10:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578040#M260971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T10:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: bdc doubt (session method)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578041#M260972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go for call transaction,becoz it returns sy-subrc value.So first run one transaction and if sy-subrc eq 0 then only run the other transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 11:07:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578041#M260972</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-09-29T11:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: bdc doubt (session method)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578042#M260973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Well, thats not directly true.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) for making one bdc session, we do&lt;/P&gt;&lt;P&gt;bdc_open_group&lt;/P&gt;&lt;P&gt;bdc_insert&lt;/P&gt;&lt;P&gt;bdc_close_group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) and for one call transaction,&lt;/P&gt;&lt;P&gt;we simply do&lt;/P&gt;&lt;P&gt;call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The above full (a) &lt;/P&gt;&lt;P&gt;   is only for one tcode.&lt;/P&gt;&lt;P&gt;   If we repeat it, i mean, we repeat the full steps of a,&lt;/P&gt;&lt;P&gt;   then another session will be created,&lt;/P&gt;&lt;P&gt;   in which we can give another tcode, &lt;/P&gt;&lt;P&gt;   thats all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. The same thing applies for (b) also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 11:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578042#M260973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T11:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: bdc doubt (session method)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578043#M260974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Amit on his version but I feel your point of multiple transaction in session as compared to Call transaction might be referring to the below point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In session method you create a session where you are calling the same transaction multiple times with different data...Example you created a session to change a field in material master...here if you check the created bdc session, if you would find that you are calling mm02 for each material record...hence a session can contain multiple transaction. In short, though you have a transaction call for each material record a bdc contains multiple such calls in one session. But in call transaction basically you call that transaction again for each material record but it is one call for each record.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 11:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578043#M260974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: bdc doubt (session method)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578044#M260975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   In session method we can call two different &lt;/P&gt;&lt;P&gt;   trasaction by calling function&lt;/P&gt;&lt;P&gt;   BDC_insert with two different tcodes&lt;/P&gt;&lt;P&gt;   and they will be part  of same session&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     bdc_open_group&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;         EXPORTING&lt;/P&gt;&lt;P&gt;              CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;              GROUP  = WS-MAPPE&lt;/P&gt;&lt;P&gt;              KEEP   = 'X'&lt;/P&gt;&lt;P&gt;              USER   = SY-UNAME.&lt;/P&gt;&lt;P&gt; ws-tcode = 'VA01'.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            TCODE     = WS-TCODE       " Transaction code&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DYNPROTAB = BDCDATA.       " Transaction data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  refresh bdcdata&lt;/P&gt;&lt;P&gt;    ws-tcode = 'VA02'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            TCODE     = WS-TCODE       " Transaction code&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DYNPROTAB = BDCDATA.       " Transaction data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as in call trasansction we can call only one &lt;/P&gt;&lt;P&gt; transaction at a time&lt;/P&gt;&lt;P&gt; call transaction  'VA01' using bdcdata messages into&lt;/P&gt;&lt;P&gt; messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call transaction  'VA02' using bdcdata messages into&lt;/P&gt;&lt;P&gt; messtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Sep 2006 11:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-doubt-session-method/m-p/1578044#M260975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-29T11:29:39Z</dc:date>
    </item>
  </channel>
</rss>

