<?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: Hi in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502273#M565480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


data:  v_matnr type mara-matnr,
         v_matwa type kotd001-matwa.

      select single matwa into v_matwa
                   from kotd001
                      inner join kondd
                        on kotd001~knumh = kondd~knumh
                      inner join makt
                        on kondd~smatn = makt~matnr
                              where kotd001~kappl = 'V'
                                and kotd001~kschl = 'A001'
                                and kotd001~datbi = '99991231'
                                and kondd~smatn = v_matnr     "&amp;lt;-  Fill with  you material
                                and makt~spras = sy-langu.

write:/ v_matwa.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2007 15:50:27 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-18T15:50:27Z</dc:date>
    <item>
      <title>Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502271#M565478</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;&lt;/P&gt;&lt;P&gt;Where can we find the substitution material for the selected material?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kishi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 15:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502271#M565478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T15:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502272#M565479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When a material is substituted/determined using material determination method, the original material is stored by the system in the Material entered field MATWA in VBAP table.&lt;/P&gt;&lt;P&gt;You can query on VBAP and check if material entered MATWA is not equal to material number MATNR. Also check if the reason code for material susbstitution field SUGRD is non blank.&lt;/P&gt;&lt;P&gt;The quantity of course you can get from VBAP table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See if this helps you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 15:40:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502272#M565479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T15:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hi</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502273#M565480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can get is like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


data:  v_matnr type mara-matnr,
         v_matwa type kotd001-matwa.

      select single matwa into v_matwa
                   from kotd001
                      inner join kondd
                        on kotd001~knumh = kondd~knumh
                      inner join makt
                        on kondd~smatn = makt~matnr
                              where kotd001~kappl = 'V'
                                and kotd001~kschl = 'A001'
                                and kotd001~datbi = '99991231'
                                and kondd~smatn = v_matnr     "&amp;lt;-  Fill with  you material
                                and makt~spras = sy-langu.

write:/ v_matwa.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 15:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/2502273#M565480</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-18T15:50:27Z</dc:date>
    </item>
  </channel>
</rss>

