<?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 regarding in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3751969#M902645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anupama,&lt;/P&gt;&lt;P&gt;                 You can try the code given below and check whether your requirement is satisfied. The field will be populated when executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:pbed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:s_date FOR sy-datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_date AS CHECKBOX."DEFAULT no.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: o_print FOR pbed-perxx.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&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 s_date.&lt;/P&gt;&lt;P&gt;    o_print-low = s_date-low+6(2).&lt;/P&gt;&lt;P&gt;    o_print-high = s_date-high+6(2).&lt;/P&gt;&lt;P&gt;    APPEND o_print TO o_print[].&lt;/P&gt;&lt;P&gt;    CLEAR o_print.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 08:15:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-02T08:15:34Z</dc:date>
    <item>
      <title>at selection-screen regarding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3751968#M902644</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;&lt;/P&gt;&lt;P&gt;i have a seletion screen in my report with two different blocks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of block b1.&lt;/P&gt;&lt;P&gt;select-options: s_date like sy-datum.&lt;/P&gt;&lt;P&gt;end of block b1.&lt;/P&gt;&lt;P&gt;and the date is in the format like 200801&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have another block&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_date as checkbox default no.&lt;/P&gt;&lt;P&gt; select-options: o_print like pbed-perxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the requirement is like when i enter the date in s_date in 200801 format then the last two values should be automatically &lt;/P&gt;&lt;P&gt;filled in o_print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like as follows&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;s_date      200801   to  200812

o_print      01      to     12&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help me in this regard i have tried with at selection-screen output but its not relevent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anupama&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 06:39:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3751968#M902644</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T06:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: at selection-screen regarding</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3751969#M902645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anupama,&lt;/P&gt;&lt;P&gt;                 You can try the code given below and check whether your requirement is satisfied. The field will be populated when executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:pbed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:s_date FOR sy-datum.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b2.&lt;/P&gt;&lt;P&gt;PARAMETERS : p_date AS CHECKBOX."DEFAULT no.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: o_print FOR pbed-perxx.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&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 s_date.&lt;/P&gt;&lt;P&gt;    o_print-low = s_date-low+6(2).&lt;/P&gt;&lt;P&gt;    o_print-high = s_date-high+6(2).&lt;/P&gt;&lt;P&gt;    APPEND o_print TO o_print[].&lt;/P&gt;&lt;P&gt;    CLEAR o_print.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3751969#M902645</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:15:34Z</dc:date>
    </item>
  </channel>
</rss>

