<?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: Problem in BDC???? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024401#M82018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of curiosity, why are you not using the BAPI for Material create?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2005 04:38:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-22T04:38:34Z</dc:date>
    <item>
      <title>Problem in BDC????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024400#M82017</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;&lt;/P&gt;&lt;P&gt;I have 2 questions regarding BDC:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ques1. When we do BDC through tcode "MM01" we have to go down through scrollbar if we want to Select Views from below as well. But scrollbar do not records. So what  will be Solution??? How can we select views from down as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ques2. I want to capture Errors in Call Transaction Method in BDC[Transaction("MM01")]. Can anybody give me documentation (and if possible coding also) that how it can be done. I know there is role of BDCMSGCOLL but don't know how it can be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 04:29:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024400#M82017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T04:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in BDC????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024401#M82018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of curiosity, why are you not using the BAPI for Material create?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 04:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024401#M82018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T04:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in BDC????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024402#M82019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;Don't worry about the scrollbar recording, it will not record and without that your bdc code works perfect since when you click on view, that view will have some okcode which will be recorded and that okcode will be placed in the command bar. so just record it and write code accordingly it works perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.  &lt;/P&gt;&lt;P&gt;see below code&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION 'FB02'&lt;/P&gt;&lt;P&gt;                          USING i_bdctab&lt;/P&gt;&lt;P&gt;                                MODE input_method&lt;/P&gt;&lt;P&gt;                                UPDATE c_update&lt;/P&gt;&lt;P&gt;                                MESSAGES INTO i_bdcmsg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    LOOP AT i_bdcmsg&lt;/P&gt;&lt;P&gt;         WHERE msgid EQ 'F5'&lt;/P&gt;&lt;P&gt;         AND   msgnr EQ '312'.                  "success message - mm&lt;/P&gt;&lt;P&gt;      rc = 'X'.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the code it was used for success message you can code for error message and populate it into another internal table .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 04:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024402#M82019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T04:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in BDC????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024403#M82020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt;How can we select views from down as well?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In BDC, capturing fields like this (of table control)&lt;/P&gt;&lt;P&gt;  can be done thru INDEX NUMBER (or row number)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If u observe the recording, and see the code &lt;/P&gt;&lt;P&gt;  of screen 700, there is a field MSICHTAUSW-KZSEL&lt;/P&gt;&lt;P&gt;  you can select the rows like this&lt;/P&gt;&lt;P&gt;  MSICHTAUSW-KZSEL(1)&lt;/P&gt;&lt;P&gt;  MSICHTAUSW-KZSEL(2)&lt;/P&gt;&lt;P&gt;  MSICHTAUSW-KZSEL(6)&lt;/P&gt;&lt;P&gt;  MSICHTAUSW-KZSEL(12)&lt;/P&gt;&lt;P&gt;  etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Place their values as X.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;2. want to capture Errors in Call Transaction Method in BDC[Transaction("MM01")]. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  While using Call Transaction&lt;/P&gt;&lt;P&gt;    CALL TRANSACTION tcode USING bdcdata&lt;/P&gt;&lt;P&gt;                   MODE   ctumode&lt;/P&gt;&lt;P&gt;                   UPDATE 'S'&lt;/P&gt;&lt;P&gt;                   MESSAGES INTO messtab.&lt;/P&gt;&lt;P&gt;  Define this messtab as an internal table.&lt;/P&gt;&lt;P&gt; data : messtab type table of yhrs_bdcmsg with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. After the transaction is completed, &lt;/P&gt;&lt;P&gt;   this message table will contain all &lt;/P&gt;&lt;P&gt;   the messages (whether Error E, Success S, Warning W)&lt;/P&gt;&lt;P&gt;   which have been issued during the simulation of transaction.&lt;/P&gt;&lt;P&gt;   One must loop thru this messge table and&lt;/P&gt;&lt;P&gt;   find out if there was an error (E) and appropriate handle the further action.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope the above helps. &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>Tue, 22 Nov 2005 04:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-bdc/m-p/1024403#M82020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T04:46:48Z</dc:date>
    </item>
  </channel>
</rss>

