<?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 BDC Session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156753#M455737</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;I am dealing with session method. Suppose I am processing for one customer no. While calling the transaction is it &lt;/P&gt;&lt;P&gt;possible that in for a single entry internal table JTAB( internal table for error handling like BDCMSGCOLL) having multiple value??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'ZXY' using ITAB messages JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*suppose in i_kunnr = 2129 then is it possible JTAB having 2 entries??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2007 06:53:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-03T06:53:37Z</dc:date>
    <item>
      <title>BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156753#M455737</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;I am dealing with session method. Suppose I am processing for one customer no. While calling the transaction is it &lt;/P&gt;&lt;P&gt;possible that in for a single entry internal table JTAB( internal table for error handling like BDCMSGCOLL) having multiple value??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at i_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'ZXY' using ITAB messages JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*suppose in i_kunnr = 2129 then is it possible JTAB having 2 entries??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:53:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156753#M455737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156754#M455738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is possible that error handling table might be containing multiple entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:59:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156754#M455738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156755#M455739</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;Yes , it holds all the messages ...i mean  multiple messages also it can hold for a single transaction...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the syntax is ...&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop at i_kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'ZXY' using ITAB messages into JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop. &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to collect all those messages in the loop itself u need to again loop at the messages table ,,, then onli u can get all the messages regarding that particular transaction...  if u are clearing the Messages table, at the end of the loop .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Observe this code ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code is for displaying the messages of a particular material &amp;lt;b&amp;gt;fs_material-matnr&amp;lt;/b&amp;gt;.. i am using loop at t_messages tab.. to get all the multiple messages collected while updating this material..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  loop at t_messages into fs_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;P&gt;        id        = fs_messages-msgid&lt;/P&gt;&lt;P&gt;        lang      = sy-langu&lt;/P&gt;&lt;P&gt;        v1        = fs_messages-msgv1&lt;/P&gt;&lt;P&gt;        v2        = fs_messages-msgv2&lt;/P&gt;&lt;P&gt;        v3        = fs_messages-msgv3&lt;/P&gt;&lt;P&gt;        v4        = fs_messages-msgv4&lt;/P&gt;&lt;P&gt;      importing&lt;/P&gt;&lt;P&gt;        msg       = lw_mesg_text&lt;/P&gt;&lt;P&gt;      exceptions&lt;/P&gt;&lt;P&gt;        not_found = 1&lt;/P&gt;&lt;P&gt;        others    = 2.&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if fs_messages-msgtyp eq 'S'.&lt;/P&gt;&lt;P&gt;      fs_out_tab-icon = '@08@'.&lt;/P&gt;&lt;P&gt;    elseif fs_messages-msgtyp eq 'W'.&lt;/P&gt;&lt;P&gt;      fs_out_tab-icon = '@09@'.&lt;/P&gt;&lt;P&gt;    elseif fs_messages-msgtyp eq 'E'.&lt;/P&gt;&lt;P&gt;      fs_out_tab-icon = '@0A@'.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;    fs_out_tab-msgtyp = fs_messages-msgtyp.&lt;/P&gt;&lt;P&gt;    fs_out_tab-matnr  = fs_material-matnr.&lt;/P&gt;&lt;P&gt;    fs_out_tab-msgtxt = lw_mesg_text.&lt;/P&gt;&lt;P&gt;    fs_out_tab-werks  = fs_material-werks.&lt;/P&gt;&lt;P&gt;    append fs_out_tab to t_out_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear : fs_out_tab, lw_mesg_text, fs_messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.                             " Loop at&amp;lt;/b&amp;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;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156755#M455739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T07:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: BDC Session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156756#M455740</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 doing the BDC, transaction might through the Warning message Success massage Information message and the Error message, except the error message BDC will ignore all the messages, but all the messages will be stored in the JTAB internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:22:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session/m-p/2156756#M455740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T07:22:29Z</dc:date>
    </item>
  </channel>
</rss>

