<?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: At selection screen validation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278513#M495884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saravana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your parameter for Fiscal Year as TYPE any data element of NUMC4.&lt;/P&gt;&lt;P&gt;Example: BEGJJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for fiscal period, u can declare it TYPE AM_MONAT (just an example).&lt;/P&gt;&lt;P&gt;AM_MONAT domain is of NUMC2 and has value range 1 to 12. &lt;/P&gt;&lt;P&gt;U can have a range with values 1 to 12. If parameter for fiscal period NOT IN that range, throw an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if this helps U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Johnson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Johnson Ittyerah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 12:15:34 GMT</pubDate>
    <dc:creator>former_member215243</dc:creator>
    <dc:date>2007-05-21T12:15:34Z</dc:date>
    <item>
      <title>At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278511#M495882</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;i wanna do validation  in at selection-screen for the field Fiscal year and fiscal period. no alphabets should be entered and in fiscal period no numbers more than 12 should be enterd. if it  is entered so , should give error message.&lt;/P&gt;&lt;P&gt;Pls let me know wat to dowith this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saravana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 12:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278511#M495882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278512#M495883</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 selection-screen on p_year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_year cp sy-abcde.&lt;/P&gt;&lt;P&gt;message I001. "error'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define define the length of fiscal year character of length 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 12:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278512#M495883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T12:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278513#M495884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saravana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare your parameter for Fiscal Year as TYPE any data element of NUMC4.&lt;/P&gt;&lt;P&gt;Example: BEGJJ&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for fiscal period, u can declare it TYPE AM_MONAT (just an example).&lt;/P&gt;&lt;P&gt;AM_MONAT domain is of NUMC2 and has value range 1 to 12. &lt;/P&gt;&lt;P&gt;U can have a range with values 1 to 12. If parameter for fiscal period NOT IN that range, throw an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if this helps U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Johnson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Johnson Ittyerah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 12:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278513#M495884</guid>
      <dc:creator>former_member215243</dc:creator>
      <dc:date>2007-05-21T12:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278514#M495885</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 variables like&lt;/P&gt;&lt;P&gt;data: v_no(10) type C value '0123456789',&lt;/P&gt;&lt;P&gt;        v_m1(2) type n value '01'.&lt;/P&gt;&lt;P&gt;        v_m2(2) type n value '12'.&lt;/P&gt;&lt;P&gt;At selection-screen on p_year.&lt;/P&gt;&lt;P&gt;   if not p_year CS v_no. (you can user other string parametrs like CO, CN etc)&lt;/P&gt;&lt;P&gt;     message 'Enter correct fiscal year'.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on p_year.&lt;/P&gt;&lt;P&gt;   if ( p_monat lt p_m1 and p_monat gt p_m2 ).&lt;/P&gt;&lt;P&gt;     message 'Enter correct fiscal period'.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&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>Mon, 21 May 2007 12:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278514#M495885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T12:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278515#M495886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi saravana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can use this code.... it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : P_MONTH               LIKE   VVIS_SOPTI-SMONTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS     : S_MONTH LIKE T247-MNR   OBLIGATORY.&lt;/P&gt;&lt;P&gt;PARAMETERS     : P_YEAR  LIKE SCAL-YEAR  OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MONTH.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REAL_ESTATE_F4_MONTH'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_MONTH       = 00&lt;/P&gt;&lt;P&gt;      I_POPUP_TITLE = 'Choose Month'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      E_MONTH       = P_MONTH.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    E_SEL_OK =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  S_MONTH       = P_MONTH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then u ca use if condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_year gt sy-datum+0(4).&lt;/P&gt;&lt;P&gt;    message 'u cant enter future year' type 'I'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 12:21:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278515#M495886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T12:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278516#M495887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;data : abc type c.&lt;/P&gt;&lt;P&gt;At selection-screen p_fiscalyear p_fiscal period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_fiscalyear &amp;gt; 12 and p_fiscalyear = abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message (Zerror) .&lt;/P&gt;&lt;P&gt;&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;go to SE93 and type error message for Zerror Transaction code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 12:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278516#M495887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T12:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen validation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278517#M495888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI SRAVAN,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p1(2) type i,&lt;/P&gt;&lt;P&gt;                   p2(2) type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:           v_no(10) type C value '0123456789',&lt;/P&gt;&lt;P&gt;                  v_m1(2) type n value '01'.&lt;/P&gt;&lt;P&gt;                  v_m2(2) type n value '12'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on p_year.&lt;/P&gt;&lt;P&gt;if not p_year CS v_no. (you can user other string parametrs like CO, CN etc)&lt;/P&gt;&lt;P&gt;message W000  WITH  'Enter correct fiscal year'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on p_year.&lt;/P&gt;&lt;P&gt;if ( p_month lt p_m1 and p_month gt p_m2 ).&lt;/P&gt;&lt;P&gt;message W000 WITH  'Enter correct fiscal period'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 12:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-validation/m-p/2278517#M495888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T12:30:01Z</dc:date>
    </item>
  </channel>
</rss>

