<?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: Displaying Message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208215#M472702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If the Personel Number is having records then the Select query return SY-SUBRC = 0. if there is no record existed then the SY-SUBRC will become 4. so based on this SY-SUBRC you can give the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever the SY-SUBRC returns 4, then move those records to a Internal table, then loop that Internal table and Display those records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 05:51:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-03T05:51:44Z</dc:date>
    <item>
      <title>Displaying Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208212#M472699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm giving input as Flat file. it contains  53 Personal Numbers, but there are entries for 47 Numbers. After writing Select Query How can i display a message that these numbers doesn't contain records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone Suggest.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208212#M472699</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208213#M472700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;therse must be duplicate entries for which you must have coded 'delete adjacent duplicates' that's y entries number is not matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208213#M472700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208214#M472701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Upload the data in flat file to internal table ITAB1 using GUI_UPLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. store the 53 numbers in ITAB2 using select query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
sort itab1 by pernr.
loop at itab2.
 read table itab1 with key perne eq itab2-pernr binary search.
 if sy-subrc eq 0.
 else.
 message i001(ZZ) with itab2-pernr.
 endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208214#M472701</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208215#M472702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If the Personel Number is having records then the Select query return SY-SUBRC = 0. if there is no record existed then the SY-SUBRC will become 4. so based on this SY-SUBRC you can give the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When ever the SY-SUBRC returns 4, then move those records to a Internal table, then loop that Internal table and Display those records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 05:51:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208215#M472702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T05:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying Message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208216#M472703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vamsi,&lt;/P&gt;&lt;P&gt;             First upload the file into internal table itab1 using FM 'gui_upload'.&lt;/P&gt;&lt;P&gt;take another table itab2 having same structure as itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;select single pernr from P0003 into  i_tab2 where pernr = itab1-pernr.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;message e0001.&lt;/P&gt;&lt;P&gt;else 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;e0001-these numbers doesn't contain records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 06:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/displaying-message/m-p/2208216#M472703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T06:13:43Z</dc:date>
    </item>
  </channel>
</rss>

