<?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 problem in picking up the data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-picking-up-the-data/m-p/7263892#M1529299</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;I have a requirement of picking up the data from mvke and a005 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In an internal Table select all records from MVKE where Sales Org/Dist Channel/Material Number = Selection Screen parameters u2013 Exclude the Following Values of Core assortment Code: Q/N/X/I&lt;/P&gt;&lt;P&gt;	2. If Material Selection is Blank on selection screen Join tables MVKE and A005 where Sales Org and Dist Channel = Selection Parameters and Core Assortment code is Q or N and A005-KSCHL = ZCSP and A005-KUNNR = Selection screen u2013 Select all Materials and add them to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here a005 is cluster table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example if the following Materials existed in Sales org 2103 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material (MATNR)   CAC &lt;/P&gt;&lt;P&gt; MAT_1                    C &lt;/P&gt;&lt;P&gt;MAT_2   C&lt;/P&gt;&lt;P&gt;MAT_3    C     &lt;/P&gt;&lt;P&gt;MAT_4  B &lt;/P&gt;&lt;P&gt;MAT_5  B &lt;/P&gt;&lt;P&gt;MAT_6  Q &lt;/P&gt;&lt;P&gt;MAT_7  Q &lt;/P&gt;&lt;P&gt;MAT_8  N &lt;/P&gt;&lt;P&gt;MAT_9  X &lt;/P&gt;&lt;P&gt;MAT_10  I &lt;/P&gt;&lt;P&gt;MAT_11  C &lt;/P&gt;&lt;P&gt;MAT_12  C &lt;/P&gt;&lt;P&gt;MAT_13 C &lt;/P&gt;&lt;P&gt;MAT_14 C &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1 would pick &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAT_1 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_2 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_3 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_4 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_5 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_11 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_12 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_13 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_14 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the following ZCSP Records were in Place (Table A005) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCSP &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;KUNNR  MATNR &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;106367  MAT_6 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;106367  MAT_8 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;113047  MAT_4 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;113047  MAT_8&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And when the prog. is rin for a cust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAT_6 and MAT_8 would also be included in the Output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this i'm just confused&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Oct 2010 06:10:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-06T06:10:13Z</dc:date>
    <item>
      <title>problem in picking up the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-picking-up-the-data/m-p/7263892#M1529299</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;I have a requirement of picking up the data from mvke and a005 table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In an internal Table select all records from MVKE where Sales Org/Dist Channel/Material Number = Selection Screen parameters u2013 Exclude the Following Values of Core assortment Code: Q/N/X/I&lt;/P&gt;&lt;P&gt;	2. If Material Selection is Blank on selection screen Join tables MVKE and A005 where Sales Org and Dist Channel = Selection Parameters and Core Assortment code is Q or N and A005-KSCHL = ZCSP and A005-KUNNR = Selection screen u2013 Select all Materials and add them to the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here a005 is cluster table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example if the following Materials existed in Sales org 2103 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material (MATNR)   CAC &lt;/P&gt;&lt;P&gt; MAT_1                    C &lt;/P&gt;&lt;P&gt;MAT_2   C&lt;/P&gt;&lt;P&gt;MAT_3    C     &lt;/P&gt;&lt;P&gt;MAT_4  B &lt;/P&gt;&lt;P&gt;MAT_5  B &lt;/P&gt;&lt;P&gt;MAT_6  Q &lt;/P&gt;&lt;P&gt;MAT_7  Q &lt;/P&gt;&lt;P&gt;MAT_8  N &lt;/P&gt;&lt;P&gt;MAT_9  X &lt;/P&gt;&lt;P&gt;MAT_10  I &lt;/P&gt;&lt;P&gt;MAT_11  C &lt;/P&gt;&lt;P&gt;MAT_12  C &lt;/P&gt;&lt;P&gt;MAT_13 C &lt;/P&gt;&lt;P&gt;MAT_14 C &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1 would pick &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAT_1 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_2 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_3 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_4 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_5 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_11 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_12 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_13 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;MAT_14 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the following ZCSP Records were in Place (Table A005) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ZCSP &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;KUNNR  MATNR &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;106367  MAT_6 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;106367  MAT_8 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;113047  MAT_4 &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;113047  MAT_8&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;And when the prog. is rin for a cust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAT_6 and MAT_8 would also be included in the Output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this i'm just confused&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 06:10:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-picking-up-the-data/m-p/7263892#M1529299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T06:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: problem in picking up the data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-picking-up-the-data/m-p/7263893#M1529300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read about how to do a subquery in SE30.  Or do a simple loop on internal table created from A005 and delete those rows from the first table (if not being executed for a customer).  Not difficult at all.... just write the code and then if you can't figure out why it doesn't work, post a specific question....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you've done here is call "spec dumping"... the forum isn't a do-my-work-for-me source, but participants do offer help to specific coding errors or problems..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Oct 2010 20:24:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-picking-up-the-data/m-p/7263893#M1529300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-06T20:24:45Z</dc:date>
    </item>
  </channel>
</rss>

