<?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: uploading multiple material using BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275319#M1217718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im also facing same issue..please Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Oct 2011 07:09:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-10-11T07:09:53Z</dc:date>
    <item>
      <title>uploading multiple material using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275316#M1217715</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;I have created BDC for transaction MB11.&lt;/P&gt;&lt;P&gt;Now in internal table for onr plant, if i have multile material, then in BDC , it creates one material document for each material. But req. is to creat one document for all material.&lt;/P&gt;&lt;P&gt;My code is as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT it_output INTO wa_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     w_qty = wa_output-qty.&lt;/P&gt;&lt;P&gt;     w_count = w_count + 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CONCATENATE 'MSEG-MATNR' '(' w_count ')' INTO w_var1.&lt;/P&gt;&lt;P&gt;      CONCATENATE 'MSEG-ERFMG' '(' w_count ')' INTO w_var2.&lt;/P&gt;&lt;P&gt;      CONCATENATE 'MSEG-CHARG' '(' w_count ')' INTO w_var3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; PERFORM bdc_field       USING 'MKPF-BLDAT'&lt;/P&gt;&lt;P&gt;                                    w_date_final."'18.03.2009'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'MKPF-BUDAT'&lt;/P&gt;&lt;P&gt;                                    w_date_final."'18.03.2009'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'RM07M-BWARTWA'&lt;/P&gt;&lt;P&gt;                                    '551'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'RM07M-WERKS'&lt;/P&gt;&lt;P&gt;                                     wa_output-werks.       "'1000'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING 'RM07M-LGORT'&lt;/P&gt;&lt;P&gt;                                     wa_output-lgort." 'BSRB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   PERFORM bdc_field       USING w_var1 "'MSEG-MATNR(01)'&lt;/P&gt;&lt;P&gt;                                     wa_output-matnr." 'PH-7001'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING w_var2 "'MSEG-ERFMG(01)'&lt;/P&gt;&lt;P&gt;                                     w_qty.                 " '2'.&lt;/P&gt;&lt;P&gt;      PERFORM bdc_field       USING w_var3 "'MSEG-CHARG(01)'&lt;/P&gt;&lt;P&gt;                                     wa_output-charg."'0000000391'.&lt;/P&gt;&lt;P&gt;  PERFORM bdc_transaction USING 'MB11'.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to get this ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anagha Deshmukh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 05:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275316#M1217715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T05:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: uploading multiple material using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275317#M1217716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to call transaction after loop/endloop:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
LOOP AT it_output INTO wa_output.
.......
ENDLOOP.
PERFORM bdc_transaction USING 'MB11'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 06:19:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275317#M1217716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T06:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: uploading multiple material using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275318#M1217717</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;Try this...&lt;/P&gt;&lt;P&gt;Separate plants and materials,split into two internal tables.&lt;/P&gt;&lt;P&gt;loop at itab into fs.(plant)&lt;/P&gt;&lt;P&gt;loop at material.&lt;/P&gt;&lt;P&gt;bdcsteps.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;bdcsteps.&lt;/P&gt;&lt;P&gt;call transaction .&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 06:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275318#M1217717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-19T06:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: uploading multiple material using BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275319#M1217718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im also facing same issue..please Help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 07:09:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/uploading-multiple-material-using-bdc/m-p/5275319#M1217718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-11T07:09:53Z</dc:date>
    </item>
  </channel>
</rss>

