<?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: syntax for validating data.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847215#M924929</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;Loop at itab1.&lt;/P&gt;&lt;P&gt;  select single matnr into itab1-matnr&lt;/P&gt;&lt;P&gt;    from mara&lt;/P&gt;&lt;P&gt;where matnr = itab1-matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0&lt;/P&gt;&lt;P&gt;  move itab1 to itab2.&lt;/P&gt;&lt;P&gt;  append itab2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2008 06:06:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-19T06:06:31Z</dc:date>
    <item>
      <title>syntax for validating data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847213#M924927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends&lt;/P&gt;&lt;P&gt;I have one internal table with material no.,i want o check wheather that data is there in standard table or not..&lt;/P&gt;&lt;P&gt;how to check..?&lt;/P&gt;&lt;P&gt;and after checking if that particular material is not there i have to move the data in other internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz give me one example also..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 06:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847213#M924927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T06:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for validating data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847214#M924928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For material MARA is the master table.&lt;/P&gt;&lt;P&gt;Check the table before selecting the data.&lt;/P&gt;&lt;P&gt;whether the material avilable or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin................&lt;/P&gt;&lt;P&gt;parameter p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;selection-screen end of..................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_matnr is not initial.&lt;/P&gt;&lt;P&gt;at selection-screen on p_matnr.&lt;/P&gt;&lt;P&gt;select single * from mara into mara where matnr = p_matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;Raise the message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Madan kurapati on May 19, 2008 11:36 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 06:05:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847214#M924928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T06:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for validating data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847215#M924929</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;Loop at itab1.&lt;/P&gt;&lt;P&gt;  select single matnr into itab1-matnr&lt;/P&gt;&lt;P&gt;    from mara&lt;/P&gt;&lt;P&gt;where matnr = itab1-matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0&lt;/P&gt;&lt;P&gt;  move itab1 to itab2.&lt;/P&gt;&lt;P&gt;  append itab2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 06:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847215#M924929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T06:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for validating data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847216#M924930</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;Loop at itab1.&lt;/P&gt;&lt;P&gt;select single matnr into itab1-matnr&lt;/P&gt;&lt;P&gt;from mara&lt;/P&gt;&lt;P&gt;where matnr = itab1-matnr.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0&lt;/P&gt;&lt;P&gt;move itab1 to itab2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...Reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 06:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847216#M924930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-19T06:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: syntax for validating data..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847217#M924931</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;after u select data from mara ,give condition as ,if itab1 is initial.message e000(zmsg).create  1 more itab and move data into it.&lt;/P&gt;&lt;P&gt;ex:itab2-matnr = itab1-matnr.append itab2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 06:09:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-validating-data/m-p/3847217#M924931</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-05-19T06:09:27Z</dc:date>
    </item>
  </channel>
</rss>

