<?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/3756598#M903723</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;try this code.&lt;/P&gt;&lt;P&gt;after you entered date in s_date &lt;STRONG&gt;press enter&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;then you have the other select-options o_print automatically filled with your required values&lt;/P&gt;&lt;P&gt;&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;data : var(6) type c.&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 var.&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;selection-screen begin of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_date as checkbox default 'X'.&lt;/P&gt;&lt;P&gt;select-options: o_print for PBED-PERXX.&lt;/P&gt;&lt;P&gt;&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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o_print-low = s_date-low+4(2).&lt;/P&gt;&lt;P&gt;   o_print-high = s_date-high+4(2).&lt;/P&gt;&lt;P&gt;  append o_print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DONT FORGET TO REWARD IF HELPFUL.&lt;/P&gt;&lt;P&gt;PRASANTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 May 2008 08:37:41 GMT</pubDate>
    <dc:creator>prasanth_kasturi</dc:creator>
    <dc:date>2008-05-02T08:37:41Z</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/3756596#M903721</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;P&gt;&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;&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 08:05:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3756596#M903721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:05:33Z</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/3756597#M903722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can populate these values in 'at selection-screen output' event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

REPORT  ZTESTAB11.

TABLES: PBED.

SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECT-OPTIONS: S_DATE FOR SY-DATUM.
SELECTION-SCREEN END OF BLOCK B1.

SELECTION-SCREEN BEGIN OF BLOCK B2.
*parameters : p_date as checkbox default no.
SELECT-OPTIONS: O_PRINT FOR PBED-PERXX.
SELECTION-SCREEN END OF BLOCK B2.

AT SELECTION-SCREEN OUTPUT.
  IF NOT S_DATE[] IS INITIAL.
    READ TABLE S_DATE INDEX 1.
    O_PRINT-SIGN  = 'I'.
    O_PRINT-OPTION  = 'EQ'.
    O_PRINT-LOW = S_DATE-LOW+4(2).
    O_PRINT-HIGH  = S_DATE-HIGH+4(2).
    APPEND O_PRINT.
    CLEAR O_PRINT.
  ENDIF.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing the program, when you enter s_date and press enter  O_PRINT will be autometically filled,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:09:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3756597#M903722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T08:09:11Z</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/3756598#M903723</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;try this code.&lt;/P&gt;&lt;P&gt;after you entered date in s_date &lt;STRONG&gt;press enter&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;then you have the other select-options o_print automatically filled with your required values&lt;/P&gt;&lt;P&gt;&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;data : var(6) type c.&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 var.&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;selection-screen begin of block b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_date as checkbox default 'X'.&lt;/P&gt;&lt;P&gt;select-options: o_print for PBED-PERXX.&lt;/P&gt;&lt;P&gt;&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 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  o_print-low = s_date-low+4(2).&lt;/P&gt;&lt;P&gt;   o_print-high = s_date-high+4(2).&lt;/P&gt;&lt;P&gt;  append o_print.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DONT FORGET TO REWARD IF HELPFUL.&lt;/P&gt;&lt;P&gt;PRASANTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 08:37:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3756598#M903723</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-05-02T08:37:41Z</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/3756599#M903724</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 below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: v_date(6) type n.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 with frame.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_DATE FOR &lt;STRONG&gt;v_date&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B2 with frame.&lt;/P&gt;&lt;P&gt;parameters : p_date as checkbox &lt;STRONG&gt;user-command rusr.&lt;/STRONG&gt;&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;STRONG&gt;if p_date = 'X'.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;  IF NOT S_DATE[] IS INITIAL.&lt;/P&gt;&lt;P&gt;    O_PRINT-SIGN  = 'I'.&lt;/P&gt;&lt;P&gt;    O_PRINT-OPTION  = 'BT'.&lt;/P&gt;&lt;P&gt;    O_PRINT-LOW = S_DATE-LOW+4(2).&lt;/P&gt;&lt;P&gt;    O_PRINT-HIGH  = S_DATE-HIGH+4(2).&lt;/P&gt;&lt;P&gt;    APPEND O_PRINT.&lt;/P&gt;&lt;P&gt;    CLEAR O_PRINT.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;else.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;refresh o_print.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; After entering the dates in S_DATE, select the check box&lt;/P&gt;&lt;P&gt;then only you can see the values in o_print. if you deselect the check box then the values in o_print will be deleted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 09:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3756599#M903724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T09:46:44Z</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/3756600#M903725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI deep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as u r scenario&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on s_data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;o_print-low  = s_data-low+4(2)&lt;/P&gt;&lt;P&gt;o_print-high = s_data-high+4(2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check This Code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 10:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-regarding/m-p/3756600#M903725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T10:01:00Z</dc:date>
    </item>
  </channel>
</rss>

