<?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 call transaction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447712#M548342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While using CALL TRANSACTION, if first record is not updated the screen fields or got some error, what will be the case? how to handle this?&lt;/P&gt;&lt;P&gt;Do i can handle sy-subrc for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 15:31:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T15:31:10Z</dc:date>
    <item>
      <title>call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447712#M548342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;While using CALL TRANSACTION, if first record is not updated the screen fields or got some error, what will be the case? how to handle this?&lt;/P&gt;&lt;P&gt;Do i can handle sy-subrc for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447712#M548342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447713#M548343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare an internal table of TYPE BDCMSGCOLL structure. This would trap all the errors while using CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SKJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447713#M548343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447714#M548344</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;You can use FM WRITE_MESSAGES and FORMAT_MESSAGES to read the error messages in addition to BDCMSGCOLL.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447714#M548344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447715#M548345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Besides capturing the error message, you should also save the error out record to a BDC session so user has an option to fix the error records. This can be done by calling FM: &amp;lt;b&amp;gt;BDC_OPEN_GROUP&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;BCD_INSERT&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;BDC_CLOSE_GROUP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Minami&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 00:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447715#M548345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T00:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: call transaction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447716#M548346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Use the MESSAGES INTO &amp;lt;bdcmsgcoll type internal table&amp;gt; option of CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;2. READ TABLE &amp;lt;bdcmsgcol type itab&amp;gt; WITH KEY msgtyp = 'E'. If sy-subrc = 0, then error occured in the transaction call.&lt;/P&gt;&lt;P&gt;3. If error occured, use CONVERT_BDCMSGCOLL_TO_BAPIRET2 to convert the BDCMSGCOL message into a BAPIRET2 type structure and MESSAGE field of this structure contains the error message.&lt;/P&gt;&lt;P&gt;4. If error occured, use the same BDC internal table and put it into a batch input session for someone to look at it and process. Use BDC_OPEN_GROUP, BDC_INSERT, and BDC_CLOSE_GROUP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 00:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-transaction/m-p/2447716#M548346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T00:38:58Z</dc:date>
    </item>
  </channel>
</rss>

