<?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: field validation at selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647423#M609954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the event AT SELECTION SCREE ON &amp;lt;Feild Name&amp;gt; for each selection screen element.&lt;/P&gt;&lt;P&gt;For each element perform the following checks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Value has been entered&lt;/P&gt;&lt;P&gt;   IF &amp;lt;Feild_name &amp;gt; is initial.&lt;/P&gt;&lt;P&gt;      give error message.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;2. Valid value is entered&lt;/P&gt;&lt;P&gt;  Select single &amp;lt;feild&amp;gt;&lt;/P&gt;&lt;P&gt;  from &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;  where &amp;lt;feild_t&amp;gt; = &amp;lt;feild_name&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0 .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Give success message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Give error message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;rewards point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 05:43:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T05:43:03Z</dc:date>
    <item>
      <title>field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647421#M609952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have a parameter in the selection-screen like ths:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: p_mail type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when we run report we can give email address there.&lt;/P&gt;&lt;P&gt;But i want to validate that.How can we do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if i give value for p_mail like: ravi@gmail.com&lt;/P&gt;&lt;P&gt;     or ravi.kumar@hotmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 05:40:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647421#M609952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647422#M609953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Declare the fields with their master tables after declaring those tables with TABLES statement.for few I will give the code, rest you practice.&lt;/P&gt;&lt;P&gt;You have to write this code in AT SELECTION-SCREEN event.&lt;/P&gt;&lt;P&gt;S_WERKS FOR T001W-WERKS,&lt;/P&gt;&lt;P&gt;S_KUNNR FOR KUNNR-KUNNR,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Validation of Customer&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;clear kna1.&lt;/P&gt;&lt;P&gt;if not s_kunnr is initial.&lt;/P&gt;&lt;P&gt;select kunnr from kna1 up to 1 rows&lt;/P&gt;&lt;P&gt;into kna1-kunnr&lt;/P&gt;&lt;P&gt;where kunnr in s_kunnr.&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 e014. " Invalid Customer 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;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;reward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;rewards point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 05:42:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647422#M609953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647423#M609954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the event AT SELECTION SCREE ON &amp;lt;Feild Name&amp;gt; for each selection screen element.&lt;/P&gt;&lt;P&gt;For each element perform the following checks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Value has been entered&lt;/P&gt;&lt;P&gt;   IF &amp;lt;Feild_name &amp;gt; is initial.&lt;/P&gt;&lt;P&gt;      give error message.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;2. Valid value is entered&lt;/P&gt;&lt;P&gt;  Select single &amp;lt;feild&amp;gt;&lt;/P&gt;&lt;P&gt;  from &amp;lt;table&amp;gt;&lt;/P&gt;&lt;P&gt;  where &amp;lt;feild_t&amp;gt; = &amp;lt;feild_name&amp;gt;.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0 .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Give success message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;else&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Give error message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;rewards point&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 05:43:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647423#M609954</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647424#M609955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS sel_opt1 FOR field1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK block1.&lt;/P&gt;&lt;P&gt;PARAMETERS: test1(10) TYPE c,&lt;/P&gt;&lt;P&gt;test2(10) TYPE c.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK block1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK block1.&lt;/P&gt;&lt;P&gt;MESSAGE i888 WITH 'AT SELECTION-SCREEN'&lt;/P&gt;&lt;P&gt;'ON BLOCK BLOCK1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at the demo program demo_selection_screen_events for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards point .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 05:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647424#M609955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647425#M609956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi, I understand your query, to validate that parameter, I am posting a sample code. Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;if not p_mail CP '%@%.com'.&lt;/P&gt;&lt;P&gt;message I000(YMSG) with 'Please enter a valid mail id'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will work. Reward poinrs if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 05:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647425#M609956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647426#M609957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; try this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;select single * from table where fieldname = p_name.&lt;/P&gt;&lt;P&gt;if sy-subrc &amp;lt;&amp;gt;0.&lt;/P&gt;&lt;P&gt;message e001(zerror).&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;&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>Thu, 23 Aug 2007 05:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647426#M609957</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647427#M609958</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;make your email parameter like this adr6-AD_SMTPADR then no need to maintain it at your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters : p_email like adr6-AD_SMTPADR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if it is useful;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 05:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647427#M609958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T05:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647428#M609959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Thanks.Suppose my parameter contais:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : w_str type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ravi@gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i want to check whether dot ('.') is there or not before @ and after @ .&lt;/P&gt;&lt;P&gt;How can i check this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647428#M609959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647429#M609960</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;do one thing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first find the positions of @ and .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the position of (first occurance of ). is lessthan @ raise a error message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if . is more than one position of @ raise a error message ( ravi@.gmail.com)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:43:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647429#M609960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647430#M609961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;But i need the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:47:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647430#M609961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647431#M609962</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;As u want to check whether '.' present before and after @, split w_str at @ into w_str1 and w_str2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then u can search for '.' in both w_str1 and w_str2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it helps....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647431#M609962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647432#M609963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;y cant u use this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on p_mail.&lt;/P&gt;&lt;P&gt;if not p_mail CP '%@%.com' or p_mail CP '%.%@%.COM.&lt;/P&gt;&lt;P&gt;message I000(YMSG) with 'Please enter a valid mail id'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647432#M609963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647433#M609964</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;SPLIT W_STR AT '@' INTO W_STR1 W_STR2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH W_STR1 FOR '.'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE '0'.&lt;/P&gt;&lt;P&gt;  MESSAGE..&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SEARCH W_STR2 FOR '.'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC NE '0'.&lt;/P&gt;&lt;P&gt;  MESSAGE..&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 06:50:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647433#M609964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T06:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647434#M609965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi...This is the Code for u..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_mail(40).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON P_MAIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF P_MAIL NP '&lt;STRONG&gt;.&lt;/STRONG&gt;@&lt;STRONG&gt;.&lt;/STRONG&gt;'.&lt;/P&gt;&lt;P&gt;   Message 'Enter Email Id in proper format' type 'E'.&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;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 07:22:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647434#M609965</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-23T07:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647435#M609966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thanks. But i wnat to check like this:&lt;/P&gt;&lt;P&gt;str1 = ravi.babu&lt;/P&gt;&lt;P&gt;str2= gmail.com&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to check whether '.' is there after  'u'  in str1 and &lt;/P&gt;&lt;P&gt;'.' is there or not after 'm' in str2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 07:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647435#M609966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T07:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: field validation at selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647436#M609967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii Ravi, according to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT STR1 CA '%U.'.&lt;/P&gt;&lt;P&gt;MESSAGE.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MESSAGE.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT STR2 CA '%M.'.&lt;/P&gt;&lt;P&gt;MESSAGE.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;MESSAGE.&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;but there is  a problem that u have m in str2  twice. so instead of all these use the below sample code it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT P_MAIL CP '%@%.com'.&lt;/P&gt;&lt;P&gt;MESSAGE&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 08:02:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-validation-at-selection-screen/m-p/2647436#M609967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T08:02:22Z</dc:date>
    </item>
  </channel>
</rss>

