<?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: validation for incoming data from the structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668851#M1289178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write select single command and then &lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;then pass e000 message (error messgae)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2009 07:35:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-02T07:35:01Z</dc:date>
    <item>
      <title>validation for incoming data from the structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668849#M1289176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;i have to do the validation for the incoming data from the structure based on a key field.&lt;/P&gt;&lt;P&gt;say from example,if no material found for that key field,give the error.&lt;/P&gt;&lt;P&gt;in this case,what could be the select and sy-subrc statement.&lt;/P&gt;&lt;P&gt;thanks in adv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 07:28:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668849#M1289176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T07:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: validation for incoming data from the structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668850#M1289177</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;At run time, let's say MARA structure MATNR field got populated with the material number and you want to validate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then write a select command like,&lt;/P&gt;&lt;P&gt;SELECT SINGLE MATNR &lt;/P&gt;&lt;P&gt;FROM MARA&lt;/P&gt;&lt;P&gt;INTO V_MATNR&lt;/P&gt;&lt;P&gt;WHERE MATNR = MARA-MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC not equal to 0.&lt;/P&gt;&lt;P&gt;MESSAGE E000 WITH 'No suitable material found for the selection'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But do remember that, validation for the particular field will be done on it's check table only if it is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 07:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668850#M1289177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: validation for incoming data from the structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668851#M1289178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write select single command and then &lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;then pass e000 message (error messgae)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 07:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668851#M1289178</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T07:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: validation for incoming data from the structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668852#M1289179</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;If you want stop the execution then  go for the error i.e E.&lt;/P&gt;&lt;P&gt;Or if you want to proceed with the execution without stopping then go for the warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If sy-subrc  not equal to  0.&lt;/P&gt;&lt;P&gt;&amp;lt;your option&amp;gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aswarth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aswarthanarayana Mylavaram on Jun 2, 2009 9:47 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aswarthanarayana Mylavaram on Jun 2, 2009 9:48 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Aswarthanarayana Mylavaram on Jun 2, 2009 9:48 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2009 07:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validation-for-incoming-data-from-the-structure/m-p/5668852#M1289179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-02T07:46:58Z</dc:date>
    </item>
  </channel>
</rss>

