<?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: getting problem in displaying messages... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610482#M1278440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place ur code under AT SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

IF VENDOR_N-LOW &amp;lt; '.
MESSAGE S000(sabapdocu).
clear vendor_n.
ELSEIF vendor_n-HIGH &amp;gt; '200'.
MESSAGE S001(sabapdocu).
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2009 11:21:35 GMT</pubDate>
    <dc:creator>agnihotro_sinha2</dc:creator>
    <dc:date>2009-05-04T11:21:35Z</dc:date>
    <item>
      <title>getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610480#M1278438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have prepared this report and i want that if the user enters value &amp;lt; 1 on selection screen, a message should be displayed saying that its a lower value and same thing for value &amp;gt; 200. but when i'm executing this code, without checking its displaying d message at selection screen and its doing nothing if i give value &amp;gt; 200. Plz tell me d solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZVENDORDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: LFA1,lfb1.&lt;/P&gt;&lt;P&gt;data: ITAB LIKE LFA1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;      JTAB LIKE LFB1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: vendor_n for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;set pf-status 'MENU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;vendor_n-low = '1'.&lt;/P&gt;&lt;P&gt;vendor_n-high = '200'.&lt;/P&gt;&lt;P&gt;vendor_n-option = 'BT'.&lt;/P&gt;&lt;P&gt;APPEND vendor_n.&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF VENDOR_N-LOW &amp;lt; '1'.&lt;/P&gt;&lt;P&gt;MESSAGE S000(sabapdocu).&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;ELSEIF vendor_n-HIGH &amp;gt; '200'.&lt;/P&gt;&lt;P&gt;MESSAGE S001(sabapdocu).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: neha.7 on May 4, 2009 1:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:17:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610480#M1278438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610481#M1278439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first check if vendor_n-HIGH  is intial.&lt;/P&gt;&lt;P&gt;IF VENDOR_N-LOW &amp;lt; 1. ==&amp;gt; no value here &lt;/P&gt;&lt;P&gt;MESSAGE S000(sabapdocu).&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;ELSEIF vendor_n-HIGH &amp;gt; '200'.&lt;/P&gt;&lt;P&gt;MESSAGE S001(sabapdocu).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;if vendor_n-low &amp;lt; 1 and vendor_n-HIGH &amp;gt; 200 .&lt;/P&gt;&lt;P&gt;message.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610481#M1278439</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-04T11:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610482#M1278440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place ur code under AT SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

IF VENDOR_N-LOW &amp;lt; '.
MESSAGE S000(sabapdocu).
clear vendor_n.
ELSEIF vendor_n-HIGH &amp;gt; '200'.
MESSAGE S001(sabapdocu).
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610482#M1278440</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2009-05-04T11:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610483#M1278441</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;Use it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF vendor_n &amp;lt; VENDOR_N-LOW.&lt;/P&gt;&lt;P&gt;MESSAGE S000(sabapdocu).&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;ELSEIF vendor_n &amp;gt; vendor_n-HIGH.&lt;/P&gt;&lt;P&gt;MESSAGE S001(sabapdocu).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610483#M1278441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610484#M1278442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

tables: LFA1,lfb1.
data: ITAB LIKE LFA1 OCCURS 0 WITH HEADER LINE,
JTAB LIKE LFB1 OCCURS 0 WITH HEADER LINE.
SELECT-OPTIONS: vendor_n for lfa1-lifnr.
set pf-status 'MENU'.

INITIALIZATION.
vendor_n-low = '1'.
vendor_n-high = '200'.
vendor_n-option = 'BT'.
APPEND vendor_n.
clear vendor_n.

At selection-screen on vendor_n.

IF VENDOR_N-LOW &amp;lt; '1'.
MESSAGE S000(sabapdocu).
clear vendor_n.
ELSEIF vendor_n-HIGH &amp;gt; '200'.
MESSAGE S001(sabapdocu).
ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610484#M1278442</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-05-04T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610485#M1278443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove the following statement from ur code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and add VENDOR_N-SIGN = 'I'. before append in initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and see the result in debug&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Tripat Pal Singh on May 4, 2009 5:07 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:36:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610485#M1278443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610486#M1278444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this after 'START-OF-SELECTION'...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;IF VENDOR_N-LOW &amp;lt; '.&lt;/P&gt;&lt;P&gt;MESSAGE S000(sabapdocu).&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;ELSEIF vendor_n-HIGH &amp;gt; '200'.&lt;/P&gt;&lt;P&gt;MESSAGE S001(sabapdocu).&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 11:49:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610486#M1278444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T11:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610487#M1278445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put in at selection screen event.&lt;/P&gt;&lt;P&gt;At selection-screen on vendor_n.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;IF VENDOR_N-LOW &amp;lt; 1.&lt;/P&gt;&lt;P&gt;MESSAGE S000(sabapdocu).&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;ELSEIF vendor_n-HIGH &amp;gt; '200'.&lt;/P&gt;&lt;P&gt;MESSAGE S001(sabapdocu).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 12:06:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610487#M1278445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T12:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610488#M1278446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify ur code like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZVENDORDATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: LFA1,lfb1.&lt;/P&gt;&lt;P&gt;data: ITAB LIKE LFA1 OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;JTAB LIKE LFB1 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: vendor_n for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;set pf-status 'MENU'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;vendor_n-low = '1'.&lt;/P&gt;&lt;P&gt;vendor_n-high = '200'.&lt;/P&gt;&lt;P&gt;vendor_n-option = 'BT'.&lt;/P&gt;&lt;P&gt;APPEND vendor_n.&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF VENDOR_N-LOW &amp;lt; 0.     """"""Insted of  '0'&lt;/P&gt;&lt;P&gt;MESSAGE S000(sabapdocu).&lt;/P&gt;&lt;P&gt;clear vendor_n.&lt;/P&gt;&lt;P&gt;ELSEIF vendor_n-HIGH &amp;gt; 200 .     """""""insted of '200'&lt;/P&gt;&lt;P&gt;MESSAGE S001(sabapdocu).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked that by executing.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;    Yog&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2009 12:21:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610488#M1278446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-04T12:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610489#M1278447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot 4 ur replies....&lt;/P&gt;&lt;P&gt;after using at selection-screen and 1 &amp;amp; 200 instead of  '1' and '200' while comparison, problem has been solved but i have 1 doubt.. while assigning the value i used '1' &amp;amp; '200' and its working but when i used it in comparison its not working properly. why so??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 05:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610489#M1278447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T05:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610490#M1278448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using LT instead of &amp;lt;......what it results into...??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 05:40:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610490#M1278448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T05:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: getting problem in displaying messages...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610491#M1278449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     This problem is solved if you use proper event in your report.&lt;/P&gt;&lt;P&gt;Put your condition in  'At selection screen' event  as this event check the selection screen value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2009 05:57:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-problem-in-displaying-messages/m-p/5610491#M1278449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-05T05:57:10Z</dc:date>
    </item>
  </channel>
</rss>

