<?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: while uploading data into the r/3 using call transaction or session method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829111#M920814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;Check below links. U will get all the info u need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/09715a543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/09715a543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5365814"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2008 09:19:40 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2008-05-20T09:19:40Z</dc:date>
    <item>
      <title>while uploading data into the r/3 using call transaction or session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829107#M920810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi experts&lt;/P&gt;&lt;P&gt;while uploading data into the r/3 using call transaction or session method error occured in the middle of the processing then how these methods behaves it transfers next records or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 06:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829107#M920810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T06:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data into the r/3 using call transaction or session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829108#M920811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai&lt;/P&gt;&lt;P&gt;Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if successful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system. &lt;/P&gt;&lt;P&gt;the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35). &lt;/P&gt;&lt;P&gt;so the session method should not return any value. &lt;/P&gt;&lt;P&gt;In call transaction method data is directly pass to the SAP system. &lt;/P&gt;&lt;P&gt;So its compulsory return the value. &lt;/P&gt;&lt;P&gt;Because of the call transaction is the function. &lt;/P&gt;&lt;P&gt;A function should return the value mandatory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In session method errors stroed in SYSTEM GENRATED ERROR LOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IN CALL TRANSACTION TO CAPTURE THE ERRORS WE SHOULD PERFORM THE FOLLOWING. &lt;/P&gt;&lt;P&gt;FIRST ME MUST DECLARE AN INTERNAL TABLE WITH THE STRUCTURE OF BDCMSGCOLL TABLE. &lt;/P&gt;&lt;P&gt;THEN WHILE WRITING THE CALL TRANSACTION STATEMENT WE SHOULD PUT THE 'E' MODE FOR CAPTURING ALL THE ERRORS. &lt;/P&gt;&lt;P&gt;THEN FINALLY THE CAPTURED ERRORS MUST TO SENT TO THE INTERNAL TABLE WHICH WE DECLARED IN THE BEGINNING WITH BDCMSGCOLL BY USING THE FUNCTION MODULE "FORMAT_MESSAGE" &lt;/P&gt;&lt;P&gt;AND THUS THE ERROR MESSAGES WILL BE SENT TO THE INTERNAL TABLE WHICH WE DECLARED AT THE BEGINNING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 08:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829108#M920811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T08:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data into the r/3 using call transaction or session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829109#M920812</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;Incase of session method, once it completes the processing then only the data is updated in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase of CALL TRANSACTION, it depends on the mode you are using. It will update record by record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in "N" mode: it will skip the error records and update the database with successful records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in "A" mode, it will stop when an error encounters. the previous records if successful are updated into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in "E" mode, it will stop when the error encounters. the successful records upto that point are updated into the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:02:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829109#M920812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T09:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data into the r/3 using call transaction or session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829110#M920813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Both Session and Call Transaction methods have their own ways of processing and updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In &lt;STRONG&gt;Session method&lt;/STRONG&gt;, when we run our BDC prg,. the records are submitted for processing. If any errors occur, they are stored in the Error log in &lt;STRONG&gt;SM35&lt;/STRONG&gt;. For updating the data present in the records through the session method, we need to process the corresponding &lt;STRONG&gt;GROUP&lt;/STRONG&gt; created for the session method in order to &lt;STRONG&gt;UPDATE&lt;/STRONG&gt; the transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   In &lt;STRONG&gt;CALL TRANSACTION&lt;/STRONG&gt; Method, we need to handle the errors explicitly. There is no inbuilt way to handle the errors in this method, so we can use the standard strycture &lt;STRONG&gt;BDCMSGCOLL&lt;/STRONG&gt; to explicitly handle the errors in the method. Here , the processing and updating of the records are carried out simultaneously, when we execute our BDC prg. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope this is helpful to you. If you need further information, revert back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all the helpful answers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nagaraj T&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:12:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829110#M920813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-20T09:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: while uploading data into the r/3 using call transaction or session method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829111#M920814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naresh,&lt;/P&gt;&lt;P&gt;Check below links. U will get all the info u need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/09715a543b11d1898e0000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/09715a543b11d1898e0000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5365814"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2008 09:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/while-uploading-data-into-the-r-3-using-call-transaction-or-session-method/m-p/3829111#M920814</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-05-20T09:19:40Z</dc:date>
    </item>
  </channel>
</rss>

