<?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: in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396574#M815596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Session Method&lt;/STRONG&gt; usually are used to transfer large amount of data. For example you are implementing a new SAP project, and of course you will need some data transfer from legacy system to SAP system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;CALL TRANSACTION&lt;/STRONG&gt; is used especially for integration actions between two SAP systems or between different modules. Users sometimes wish to do something like that click a button or an item then SAP would inserts or changes data automatically. Here CALL TRANSACTION should be considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2008 05:59:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-08T05:59:31Z</dc:date>
    <item>
      <title>in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396573#M815595</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 which cases we use call transaction, in which cases we use session method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 05:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396573#M815595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T05:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396574#M815596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Session Method&lt;/STRONG&gt; usually are used to transfer large amount of data. For example you are implementing a new SAP project, and of course you will need some data transfer from legacy system to SAP system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     &lt;STRONG&gt;CALL TRANSACTION&lt;/STRONG&gt; is used especially for integration actions between two SAP systems or between different modules. Users sometimes wish to do something like that click a button or an item then SAP would inserts or changes data automatically. Here CALL TRANSACTION should be considered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 05:59:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396574#M815596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T05:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396575#M815597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is easy see we use call transaction whenever when we want user to monitor e.g. when we edit a record in ALV display and then save it a BDC run to save it .it is through call transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but session method is meant for background processing of mass data and to get error log and other details all together .so it do not need anyone to monitor in session method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz reward if useful&lt;/P&gt;&lt;P&gt;vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 06:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396575#M815597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T06:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396576#M815598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out following links. It would be great help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="349554"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="396373"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 06:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396576#M815598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T06:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396577#M815599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SESSION METHOD &lt;/P&gt;&lt;P&gt;- It is one of the BDC techniques for uploading legacy data into SAP&lt;/P&gt;&lt;P&gt;- The data is transferring from the internal table to database table&lt;/P&gt;&lt;P&gt;through sessions. &lt;/P&gt;&lt;P&gt;- Data along with its action is stored in session. &lt;/P&gt;&lt;P&gt;- When the program has finished generating the session, you can run &lt;/P&gt;&lt;P&gt;the session to execute the transaction. &lt;/P&gt;&lt;P&gt;- Unless session is processed, the data is not transferred to &lt;/P&gt;&lt;P&gt;database tables. &lt;/P&gt;&lt;P&gt;- The following Function Modules are used in the session method. &lt;/P&gt;&lt;P&gt;1. BDC_OPEN_GROUP (Used to create the session) &lt;/P&gt;&lt;P&gt;Import Parameters : &lt;/P&gt;&lt;P&gt;USER - User Name &lt;/P&gt;&lt;P&gt;CLIENT - Client &lt;/P&gt;&lt;P&gt;GROUP - Name of the session &lt;/P&gt;&lt;P&gt;HOLD - The date when you want to process the session &lt;/P&gt;&lt;P&gt;KEEP - &amp;#145;X&amp;#146; &amp;#150; retain session even after processing it &lt;/P&gt;&lt;P&gt;' ' - Delete the session after processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. BDC_INSERT (Data is transferred to session) &lt;/P&gt;&lt;P&gt;Import Parameters : &lt;/P&gt;&lt;P&gt;TCODE - Transaction code &lt;/P&gt;&lt;P&gt;DYNPROTAB &amp;#150; BDCDATA table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. BDC_CLOSE_GROUP (Used to close a session) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Processing Steps &lt;/P&gt;&lt;P&gt;1. Generate the batch input session using function module &lt;/P&gt;&lt;P&gt;BDC_OPEN_GROUP. &lt;/P&gt;&lt;P&gt;2. The proceed as follows for each transaction that the session &lt;/P&gt;&lt;P&gt;contains: &lt;/P&gt;&lt;P&gt;a. In the BDCDATA structure, enter the value for all screens &lt;/P&gt;&lt;P&gt;and fields that must be processed in the transaction. &lt;/P&gt;&lt;P&gt;b. Use BDC_INSERT to transfer the transaction and the BDCDATA &lt;/P&gt;&lt;P&gt;structure to the session. &lt;/P&gt;&lt;P&gt;3. Close the batch input session with BDC_CLOSE_GROUP. &lt;/P&gt;&lt;P&gt;4. Start to process the generated session in T.Code SM35. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WT IS CALL TRANSACTION METHOD? WT IS SYNTAX/PROCEDURE?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION :&lt;/P&gt;&lt;P&gt;1. It is compatible for small amount of data only. &lt;/P&gt;&lt;P&gt;2. It process the data Synchronously. i.e., The data is updated&lt;/P&gt;&lt;P&gt;at the time of execution. &lt;/P&gt;&lt;P&gt;3. It updates data both Synchronously and Asynchronously. When&lt;/P&gt;&lt;P&gt;we use Synchronous mode, it always verify all the data updated&lt;/P&gt;&lt;P&gt;successfully in the database. &lt;/P&gt;&lt;P&gt;When we use Asynchronous mode, the system can not wait till &lt;/P&gt;&lt;P&gt;all the data updated in the database. &lt;/P&gt;&lt;P&gt;4. It can handle only one application at a time. &lt;/P&gt;&lt;P&gt;5. It does not have Log file, we need to design logfile explicitly&lt;/P&gt;&lt;P&gt;using BDCMSGCOLL stucture. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax :&lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;lt;T.Code&amp;gt; USING &amp;lt;BDCTAB&amp;gt; MODE &amp;lt;A/N/E&amp;gt; UPDATE &amp;lt;S/A&amp;gt;&lt;/P&gt;&lt;P&gt;MESSAGES INTO &amp;lt;BDCMSGCOLL Int.Table&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter 1 : Transaction Code&lt;/P&gt;&lt;P&gt;Parameter 2 : It is name of BDCDATA table.&lt;/P&gt;&lt;P&gt;Parameter 3 : Specifying Mode in which you execute transaction. &lt;/P&gt;&lt;P&gt;A - All screen mode. All the screen of transaction&lt;/P&gt;&lt;P&gt;are displayed. &lt;/P&gt;&lt;P&gt;N - No screen mode. No screen is displayed when you &lt;/P&gt;&lt;P&gt;execute the transaction. &lt;/P&gt;&lt;P&gt;E - Error screen. Only those screens are displayed &lt;/P&gt;&lt;P&gt;where you have error record. &lt;/P&gt;&lt;P&gt;Parameter 4 : Specifying Update type by which data base table is &lt;/P&gt;&lt;P&gt;updated.&lt;/P&gt;&lt;P&gt;S - It is for Synchronous update in which if you &lt;/P&gt;&lt;P&gt;change data for one table then all the relacted &lt;/P&gt;&lt;P&gt;tables gets updated. And then sy-subrc is returned&lt;/P&gt;&lt;P&gt;i.e., sy-subrc is returned for once and all. &lt;/P&gt;&lt;P&gt;A - It is for Asynchronous update, when you change &lt;/P&gt;&lt;P&gt;data of one table, the sy-subrc is returned. And&lt;/P&gt;&lt;P&gt;then updation of other affected tables takes place&lt;/P&gt;&lt;P&gt;If system fails to update other tables still&lt;/P&gt;&lt;P&gt;sy-subrc returned is 0.&lt;/P&gt;&lt;P&gt;Parameter 5 : When you update database table, operation is either&lt;/P&gt;&lt;P&gt;successful or unsuccessful or operation is successful&lt;/P&gt;&lt;P&gt;with some warning. These messages are stored in &lt;/P&gt;&lt;P&gt;internal table which you specify along with MESSAGE&lt;/P&gt;&lt;P&gt;statement. This internal table should be declared like&lt;/P&gt;&lt;P&gt;BDCMSGCOLL structure. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steps for CALL TRANSACTION Method :&lt;/P&gt;&lt;P&gt;1. Interanal table for the data (structure similler to local file)&lt;/P&gt;&lt;P&gt;2. BDCTAB like BDCDATA.&lt;/P&gt;&lt;P&gt;3. Use UPLOAD/WS_UPLOAD/GUI_UPLOAD or DATASETS for upload data from&lt;/P&gt;&lt;P&gt;local file to internal table (i.e. ITAB). &lt;/P&gt;&lt;P&gt;4. LOOP at Itab. &lt;/P&gt;&lt;P&gt;Populate BDCTAB table. &lt;/P&gt;&lt;P&gt;CALL TRANSACTION &amp;lt;T.Code&amp;gt; USING &amp;lt;BDCTAB&amp;gt; MODE &amp;lt;A/N/E&amp;gt;&lt;/P&gt;&lt;P&gt;UPDATE &amp;lt;S/A&amp;gt; MESSAGES INTO &amp;lt;BDCMSGCOLL Int.Table&amp;gt;&lt;/P&gt;&lt;P&gt;Refresh BDCTAB.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2008 06:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-bdc/m-p/3396577#M815599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-08T06:20:51Z</dc:date>
    </item>
  </channel>
</rss>

