<?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 error message? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076920#M729693</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;   How to write the message statement for select options.Below is my select options and query for that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_varnt FOR rsvar-variantt,&lt;/P&gt;&lt;P&gt;                s_tknum FOR vttk-tknum,&lt;/P&gt;&lt;P&gt;                s_erdat FOR vttp-erdat,&lt;/P&gt;&lt;P&gt;                s_vsart FOR vttk-vsart,&lt;/P&gt;&lt;P&gt;                s_wdt_it FOR likp-wadat_ist,&lt;/P&gt;&lt;P&gt;                s_route  FOR likp-route,&lt;/P&gt;&lt;P&gt;                s_werks FOR lips-werks,&lt;/P&gt;&lt;P&gt;                s_pltmst FOR lips-werks,&lt;/P&gt;&lt;P&gt;                s_dstct FOR kna1-land1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT s&lt;SUB&gt;vbeln s&lt;/SUB&gt;werks s&lt;SUB&gt;posnr s&lt;/SUB&gt;vgbel s&lt;SUB&gt;matnr s&lt;/SUB&gt;lfimg s~vrkme&lt;/P&gt;&lt;P&gt;                 s&lt;SUB&gt;arktx s&lt;/SUB&gt;kzwi4 p&lt;SUB&gt;expkz p&lt;/SUB&gt;wadat_ist p~erzet&lt;/P&gt;&lt;P&gt;                 INTO  TABLE t_lips_likp&lt;/P&gt;&lt;P&gt;                 FROM lips AS s INNER JOIN likp AS p&lt;/P&gt;&lt;P&gt;                 ON s&lt;SUB&gt;vbeln = p&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;                 FOR ALL ENTRIES IN t_vttk_vttp&lt;/P&gt;&lt;P&gt;                 WHERE s~vbeln EQ t_vttk_vttp-vbeln&lt;/P&gt;&lt;P&gt;                 AND   p~expkz EQ 'X'&lt;/P&gt;&lt;P&gt;                 AND   p~route IN s_route&lt;/P&gt;&lt;P&gt;                 AND p~wadat_ist GE w_date1&lt;/P&gt;&lt;P&gt;                 AND s~werks IN s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      LOOP AT t_lips_likp WHERE wadat_ist EQ l_date1 AND erzet LE l_time1.&lt;/P&gt;&lt;P&gt;        DELETE t_lips_likp.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&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;When i enter the wrong route value in the selection screen how to i will get the error message "This route does not exits".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srihitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Nov 2007 12:56:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-22T12:56:32Z</dc:date>
    <item>
      <title>error message?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076920#M729693</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;   How to write the message statement for select options.Below is my select options and query for that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_varnt FOR rsvar-variantt,&lt;/P&gt;&lt;P&gt;                s_tknum FOR vttk-tknum,&lt;/P&gt;&lt;P&gt;                s_erdat FOR vttp-erdat,&lt;/P&gt;&lt;P&gt;                s_vsart FOR vttk-vsart,&lt;/P&gt;&lt;P&gt;                s_wdt_it FOR likp-wadat_ist,&lt;/P&gt;&lt;P&gt;                s_route  FOR likp-route,&lt;/P&gt;&lt;P&gt;                s_werks FOR lips-werks,&lt;/P&gt;&lt;P&gt;                s_pltmst FOR lips-werks,&lt;/P&gt;&lt;P&gt;                s_dstct FOR kna1-land1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT s&lt;SUB&gt;vbeln s&lt;/SUB&gt;werks s&lt;SUB&gt;posnr s&lt;/SUB&gt;vgbel s&lt;SUB&gt;matnr s&lt;/SUB&gt;lfimg s~vrkme&lt;/P&gt;&lt;P&gt;                 s&lt;SUB&gt;arktx s&lt;/SUB&gt;kzwi4 p&lt;SUB&gt;expkz p&lt;/SUB&gt;wadat_ist p~erzet&lt;/P&gt;&lt;P&gt;                 INTO  TABLE t_lips_likp&lt;/P&gt;&lt;P&gt;                 FROM lips AS s INNER JOIN likp AS p&lt;/P&gt;&lt;P&gt;                 ON s&lt;SUB&gt;vbeln = p&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;                 FOR ALL ENTRIES IN t_vttk_vttp&lt;/P&gt;&lt;P&gt;                 WHERE s~vbeln EQ t_vttk_vttp-vbeln&lt;/P&gt;&lt;P&gt;                 AND   p~expkz EQ 'X'&lt;/P&gt;&lt;P&gt;                 AND   p~route IN s_route&lt;/P&gt;&lt;P&gt;                 AND p~wadat_ist GE w_date1&lt;/P&gt;&lt;P&gt;                 AND s~werks IN s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      LOOP AT t_lips_likp WHERE wadat_ist EQ l_date1 AND erzet LE l_time1.&lt;/P&gt;&lt;P&gt;        DELETE t_lips_likp.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&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;When i enter the wrong route value in the selection screen how to i will get the error message "This route does not exits".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srihitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2007 12:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076920#M729693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-22T12:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: error message?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076921#M729694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Dhwani shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2007 12:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076921#M729694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-22T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: error message?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076922#M729695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;write the screen field validation in at selection-screen event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Checking for the input values of selection screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  perform screen_check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  screen_check&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   Ckecking for Selection Screen fields Validation&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form screen_check.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation of Route&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear tvro.&lt;/P&gt;&lt;P&gt;  if not s_route-low is initial.&lt;/P&gt;&lt;P&gt;    select route from tvro up to 1 rows&lt;/P&gt;&lt;P&gt;           into tvro-route&lt;/P&gt;&lt;P&gt;           where route in s_route.&lt;/P&gt;&lt;P&gt;    endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      message e009.  " Invalid Route&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation of Plant&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear t001w.&lt;/P&gt;&lt;P&gt;  if not s_werks is initial.&lt;/P&gt;&lt;P&gt;    select werks from t001w up to 1 rows&lt;/P&gt;&lt;P&gt;           into t001w-werks&lt;/P&gt;&lt;P&gt;           where werks in s_werks.&lt;/P&gt;&lt;P&gt;    endselect.&lt;/P&gt;&lt;P&gt;    if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;      message e004.    " Invalid Plant Number&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;endform.             "screen_check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2007 13:00:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076922#M729695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-22T13:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: error message?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076923#M729696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message e001(zmsg).&lt;/P&gt;&lt;P&gt;end if.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Nov 2007 13:08:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/3076923#M729696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-22T13:08:04Z</dc:date>
    </item>
  </channel>
</rss>

