<?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: FETCH THE DOC NO GENERATED DURING BDC.... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156791#M119065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        You can try using Call transaction with the messages option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MI01' using itab_bdcdata mode 'A'&lt;/P&gt;&lt;P&gt;                         MESSAGES INTO ITAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here ITAB will be of type BDCMSGCOLL and will contain &lt;/P&gt;&lt;P&gt;all system messages triggered during the execution of the transaction.Field MSGV1 which will contain the number of the document generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Yogeshwari Agashe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2006 08:25:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-21T08:25:13Z</dc:date>
    <item>
      <title>FETCH THE DOC NO GENERATED DURING BDC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156789#M119063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI FRIENDS...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;following is scenerio(inventory count suing mi01 and mi04)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first i made a module pool in which user will enter EAN no. using barcode reader....the data thus collected is then transfered to mi01...and then to mi04...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now when i save mi04 a doc no generates and and i have to transfer that doc no in to mi04...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i use following code but in mi04 doc no is not that generated by current mi04...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MI01' using itab_bdcdata mode 'A'.&lt;/P&gt;&lt;P&gt;CLEAR itab_bdcdata[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * into corresponding fields of table itab from ikpf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab index sy-dbcnt.&lt;/P&gt;&lt;P&gt;docno = itab-iblnr.&lt;/P&gt;&lt;P&gt;message i010(zmgs) with docno.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_mi04.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 08:09:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156789#M119063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T08:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: FETCH THE DOC NO GENERATED DURING BDC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156790#M119064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;DATA: ITAB TYPE TABLE OF BDCMSGCOLL.&amp;lt;/b&amp;gt;
call transaction 'MI01' using itab_bdcdata mode 'A'
                         &amp;lt;b&amp;gt;MESSAGES INTO ITAB&amp;lt;/b&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab where mesgtyp = 'S'.
"in the success message you can see the Doc no Generated
"During BDC.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 08:19:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156790#M119064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T08:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: FETCH THE DOC NO GENERATED DURING BDC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156791#M119065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Madan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        You can try using Call transaction with the messages option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call transaction 'MI01' using itab_bdcdata mode 'A'&lt;/P&gt;&lt;P&gt;                         MESSAGES INTO ITAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here ITAB will be of type BDCMSGCOLL and will contain &lt;/P&gt;&lt;P&gt;all system messages triggered during the execution of the transaction.Field MSGV1 which will contain the number of the document generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Yogeshwari Agashe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 08:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156791#M119065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T08:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: FETCH THE DOC NO GENERATED DURING BDC....</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156792#M119066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks  vijay and yogesh sir......&lt;/P&gt;&lt;P&gt;job done...&lt;/P&gt;&lt;P&gt;i m working in IS Retail project as ABAPER..&lt;/P&gt;&lt;P&gt;regards....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Madan Gopal Sharma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2006 09:22:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetch-the-doc-no-generated-during-bdc/m-p/1156792#M119066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-21T09:22:47Z</dc:date>
    </item>
  </channel>
</rss>

