<?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: Function module for Article creation (transaction MM41) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405980#M1407013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I refined my forum search and managed to found this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Article creation using BAPI|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6454711"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It mentions the use of BAPI_MATEIRAL_MAINTAINDATA_RT, which is for IS-Retail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2009 03:48:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-27T03:48:34Z</dc:date>
    <item>
      <title>Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405979#M1407012</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;I have been trying to create an article which is normally done using transaction MM41.&lt;/P&gt;&lt;P&gt;I am trying to use &lt;STRONG&gt;BAPI_MATERIAL_SAVEDATA&lt;/STRONG&gt; to do this, but since article creation is different  from regular material creation, there are fields that are not available, for example &lt;STRONG&gt;article category&lt;/STRONG&gt; (MARA-ATTYP).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another problem encountered with the BAPI is that the industry section is a required input.  For MM41 it is not a required field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, is there an available function module aside from the BAPI mentioned above that can perform article creation?&lt;/P&gt;&lt;P&gt;If the BAPI above is sufficient, how can I properly populate the necessary fields?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional information:  requirement is developed in 4.6c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;provide the code I've been working on if asked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 03:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405979#M1407012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T03:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405980#M1407013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I refined my forum search and managed to found this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Article creation using BAPI|&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6454711"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It mentions the use of BAPI_MATEIRAL_MAINTAINDATA_RT, which is for IS-Retail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 03:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405980#M1407013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T03:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405981#M1407014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try &lt;STRONG&gt;WRF_MATERIAL_MAINTAINDATA_RT&lt;/STRONG&gt; or go for BDC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 04:08:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405981#M1407014</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-11-27T04:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405982#M1407015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the additional options, however customer does not want me to use BDC because it's error-prone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try your other suggested FM if the one I found doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 04:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405982#M1407015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T04:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405983#M1407016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to populate the structure of &lt;STRONG&gt;BAPI_MATERIAL_MAINTAINDATA_RT&lt;/STRONG&gt;, but after running I get this return message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Messages for article DT.1011019.000: log number 0000000000014948"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know where to access the log so I can interpret the error message?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 04:46:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405983#M1407016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T04:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405984#M1407017</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 try the BAPI BAPI_RETAILMATERIAL_CREATE  also to create an article in retail specific transaction MM41. &lt;/P&gt;&lt;P&gt; Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 04:49:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405984#M1407017</guid>
      <dc:creator>VivekG</dc:creator>
      <dc:date>2009-11-27T04:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405985#M1407018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also had a look on that BAPI, but it calls transaction MM41.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The requirement is that article creation can also be done as a scheduled job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to get the message details, and it said&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Invalid load format for BAPI_MATERIAL_MAINTAINDATA_RT=FT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;                                                                       &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The specified program was found in the database with an incorrect load&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;version number and was therefore re-generated by the system.&lt;/STRONG&gt;          &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have absolutely no idea what this means.  Can someone please help to interpret?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2009 04:56:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405985#M1407018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-27T04:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405986#M1407019</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;Better you go for BDC recording and create articles rather than using a FM if you are facing these problems and let me know if you face any issues in recording.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 08:52:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405986#M1407019</guid>
      <dc:creator>VivekG</dc:creator>
      <dc:date>2009-12-10T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405987#M1407020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BAPI_MATERIAL_MAINTAINDATA_RT did the trick.  I am now able to create the article and extend it to as many salesorg or dc as i need also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Dec 2009 09:33:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405987#M1407020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-10T09:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405988#M1407021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need a help from your side. We need to extend an article to some other Distribution Chain in IS Retail. As mentioned by you, you were successful in doing so by using the BAPI "BAPI_MATERIAL_MAINTAINDATA_RT". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please guide us how to use this BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 11:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405988#M1407021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-31T11:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405989#M1407022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Harsh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To extend the article to another distribution channel you need to populate the salesdata/salesdatax structures of the BAPI.  For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CLEAR wa_salesdata.
  wa_salesdata-material            = material.
  wa_salesdata-sales_org           = salesorg.
  wa_salesdata-distr_chan          = dstchan.
  wa_salesdata-item_cat            = itemcat.
  wa_salesdata-matl_stats          = '1'.
  APPEND wa_salesdata TO i_salesdata.
  CLEAR wa_salesdatax.
  wa_salesdata-material            = material.
  wa_salesdata-sales_org           = salesorg.
  wa_salesdata-distr_chan          = dstchan.
  wa_salesdatax-item_cat            = 'X'.
  wa_salesdatax-matl_stats          = 'X'.
  APPEND wa_salesdatax TO i_salesdatax.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe the important data you need to have are material, sales org, and distribution channel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 04:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405989#M1407022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-01T04:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405990#M1407023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know It's been a while now, but I'd like to know if you ever had the opportunity to test article creation including variants (generic articles + variants).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you recommend any specific method to create these articles assigning and identifiying characteristics and values, as well the result-matrix-table for variant generation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manuel Nascimento&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 10:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405990#M1407023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-09T10:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405991#M1407024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BAPI_MATERIAL_MAINTAINDATA_RT' for article change/creation. But if we need to extend the article to multiple vendors or input vendor specific/purchasing organization details then instead of using BDC for these data fields we can go and use the function module WRF_MATERIAL_MAINTAINDATA_RT - this FM enhances the functionality of the former BAPI. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 17:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405991#M1407024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-30T17:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405992#M1407025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 04:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405992#M1407025</guid>
      <dc:creator>former_member623135</dc:creator>
      <dc:date>2016-05-09T04:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405993#M1407026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Aug 2016 09:55:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405993#M1407026</guid>
      <dc:creator>former_member623135</dc:creator>
      <dc:date>2016-08-23T09:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405994#M1407027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 04:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405994#M1407027</guid>
      <dc:creator>former_member623135</dc:creator>
      <dc:date>2016-08-29T04:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Function module for Article creation (transaction MM41)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405995#M1407028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2016 05:46:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-article-creation-transaction-mm41/m-p/6405995#M1407028</guid>
      <dc:creator>former_member623135</dc:creator>
      <dc:date>2016-08-31T05:46:21Z</dc:date>
    </item>
  </channel>
</rss>

