<?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: regarding selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545815#M1073652</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you did is correct then wht is problem... ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Sep 2008 04:13:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-22T04:13:25Z</dc:date>
    <item>
      <title>regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545814#M1073651</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;&lt;/P&gt;&lt;P&gt;i have declared selection-screen with this codes,&lt;/P&gt;&lt;P&gt;on the basis of p_appfdt i m making calculation &lt;/P&gt;&lt;P&gt;and populating some value in the p_apptdt,i want to make that &lt;/P&gt;&lt;P&gt;field 'p_apptdt' sud be non editable it will only in display &lt;/P&gt;&lt;P&gt;mode with the values which i m populating....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my codes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN DECLARATION:&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(31) text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_appfdt TYPE hap_s_dynp_report_1000-appraisal_from_date.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;                    OBLIGATORY.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 47(8) text-003.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_apptdt TYPE hap_s_dynp_report_1000-appraisal_to_date.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on p_appfdt .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN on  p_apptdt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; loop at screen.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    BREAK-POINT.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   if screen-name = p_apptdt.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     screen-input = 0.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     modify screen .&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  clear:begda,&lt;/P&gt;&lt;P&gt;        endda,&lt;/P&gt;&lt;P&gt;        p_apptdt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_appfdt+6(2) NE '01' and&lt;/P&gt;&lt;P&gt;     p_appfdt+6(2) NE '16'.&lt;/P&gt;&lt;P&gt;    MESSAGE S016(rp) WITH 'The day should be either 01 or 16'(m08).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_appfdt+6(2) NE '16' and&lt;/P&gt;&lt;P&gt;     p_appfdt+6(2) NE '01'.&lt;/P&gt;&lt;P&gt;    MESSAGE S016(rp) WITH 'The day should be either 01 or 16'(m08).&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if p_appfdt+6(2) = '01'.&lt;/P&gt;&lt;P&gt;    move '14' to IM_DURATION-durdd.&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'HR_99S_DATE_ADD_SUB_DURATION'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        IM_DATE     = p_appfdt&lt;/P&gt;&lt;P&gt;        IM_OPERATOR = '+'&lt;/P&gt;&lt;P&gt;        IM_DURATION = IM_DURATION&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        EX_DATE     = mybegda.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    move mybegda to p_apptdt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    clear:p_apptdt.&lt;/P&gt;&lt;P&gt;    if p_appfdt+6(2) = '16' .&lt;/P&gt;&lt;P&gt;      clear:mybegda.&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'LAST_DAY_OF_MONTHS'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          DAY_IN            = p_appfdt&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;          LAST_DAY_OF_MONTH = mybegda&lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;          DAY_IN_NO_DATE    = 1&lt;/P&gt;&lt;P&gt;          OTHERS            = 2.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      clear:p_apptdt.&lt;/P&gt;&lt;P&gt;      move mybegda to p_apptdt.&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, 22 Sep 2008 04:05:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545814#M1073651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T04:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545815#M1073652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you did is correct then wht is problem... ?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 04:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545815#M1073652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T04:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545816#M1073653</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 the AT SELECTION_SCREEN OUTPUT.  event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_appfdt TYPE hap_s_dynp_report_1000-appraisal_from_date MODIF ID chr OBLIGATORY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen. &lt;/P&gt;&lt;P&gt;if screen-name = p_apptdt. &lt;/P&gt;&lt;P&gt;screen-input = '0'. &lt;/P&gt;&lt;P&gt;modify screen . &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;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_appfdt TYPE hap_s_dynp_report_1000-appraisal_from_date MODIF ID chr OBLIGATORY. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen. &lt;/P&gt;&lt;P&gt;if screen-group = 'chr'. &lt;/P&gt;&lt;P&gt;screen-input = '0'. &lt;/P&gt;&lt;P&gt;modify screen . &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;Thanks,&lt;/P&gt;&lt;P&gt;Nelson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Nelson karunakar on Sep 22, 2008 6:17 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 04:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545816#M1073653</guid>
      <dc:creator>nelsonkarunakar_darla2</dc:creator>
      <dc:date>2008-09-22T04:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545817#M1073654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya sunil i know but it is not working........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 04:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545817#M1073654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T04:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: regarding selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545818#M1073655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raja,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this below code. it will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS :p_aname LIKE rlgrap-filename MODIF ID gr2 OBLIGATORY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = `GR2`.&lt;/P&gt;&lt;P&gt;      screen-input = `0`.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Sep 2008 05:37:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-selection-screen/m-p/4545818#M1073655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-22T05:37:48Z</dc:date>
    </item>
  </channel>
</rss>

