<?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: How to programmatically listing articles in assortment? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934927#M691623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I need to CREATE listing for this materials in WLK1. Not list existing entries in WLK1 because there are none since I've just created the material programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 13:18:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-19T13:18:01Z</dc:date>
    <item>
      <title>How to programmatically listing articles in assortment?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934923#M691619</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;This is Retail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating articles from scratch based on data uploaded to some Z-tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already successfully created the article. Now I need to list this article in some assortments, but I can't seem to understand how this can be done in ABAP. I tried to look for relevant FM but didn't find any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 07:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934923#M691619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T07:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically listing articles in assortment?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934924#M691620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how you going determine in which assortments list article?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from algorithm point of view&lt;/P&gt;&lt;P&gt;0. you have relations "article - store - yes/no" in your scratch DB&lt;/P&gt;&lt;P&gt;1. for each article change article listing procedure (mm42 -&amp;gt; listing -&amp;gt; listing procedures 03 (manual)&lt;/P&gt;&lt;P&gt;2. for each store create standart module (wso1)&lt;/P&gt;&lt;P&gt;3. fill module with articles according to relations from scratch DB&lt;/P&gt;&lt;P&gt;4. assign module to store local assortment (ws05, local assortment exists for each store and has same code as store)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 11:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934924#M691620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T11:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically listing articles in assortment?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934925#M691621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mikhail,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in ABAP I don't want to start inserting records in tables directly so I'm looking for a function which helps me achieve this safely. Now I'm already doing it by submitting program RWSORLIARTI which is assigned to transaction WSM3 which kind of works, but it's not easy to get error reporting and it always commits. With a function I'd have much more control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 11:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934925#M691621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T11:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically listing articles in assortment?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934926#M691622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did this awhile back: Loop at your matnrs, then....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_outdata INTO wa_outdata.    "MATNRS&lt;/P&gt;&lt;P&gt;      CLEAR:    t_assortments_matnrs.*      REFRESH:  t_assortments_matnrs.*&lt;/P&gt;&lt;P&gt;      SELECT filia FROM wlk1 APPENDING CORRESPONDING FIELDS OF TABLE t_assortments_matnrs&lt;/P&gt;&lt;P&gt;        WHERE artnr = wa_outdata-matnr AND&lt;/P&gt;&lt;P&gt;              datab &amp;lt;= sy-datum AND&lt;/P&gt;&lt;P&gt;              datbi =&amp;gt; sy-datum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 13:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934926#M691622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T13:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically listing articles in assortment?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934927#M691623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for answering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I need to CREATE listing for this materials in WLK1. Not list existing entries in WLK1 because there are none since I've just created the material programmatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 13:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934927#M691623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T13:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to programmatically listing articles in assortment?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934928#M691624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the solution by analysing report RWSORLIARTI. It can be done using two function modules: MODULE_CREATE followed by ASSIGNMENT_POS_TO_SHOP. It's fast and it works quite well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nuno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-programmatically-listing-articles-in-assortment/m-p/2934928#M691624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-24T08:35:34Z</dc:date>
    </item>
  </channel>
</rss>

