<?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: reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071418#M728101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;go thru in this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION SCREEN ON HELP-REQUEST FOR &amp;lt;field&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event is triggered when the user calls the F1 help for the field &amp;lt;field&amp;gt;. &lt;/P&gt;&lt;P&gt;If no corresponding event block has been defined, &lt;/P&gt;&lt;P&gt;Help from the ABAP Dictionary is displayed, or &lt;/P&gt;&lt;P&gt;None at all if the field has no Dictionary reference. &lt;/P&gt;&lt;P&gt;If a corresponding event block exists, it takes precedence over the default help mechanism.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT SELECTION_SCREEN_F1_DEMO.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_CARR_1 TYPE S_CARR_ID,&lt;/P&gt;&lt;P&gt;                        P_CARR_2 TYPE S_CARR_ID.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON HELP-REQUEST FOR P_CARR_2.&lt;/P&gt;&lt;P&gt;  CALL SCREEN 100 STARTING AT 10 5 ENDING   AT 60 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;field&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event is triggered when the user calls the F4 help for the field &amp;lt;field&amp;gt;. &lt;/P&gt;&lt;P&gt;If no corresponding event block has been defined, &lt;/P&gt;&lt;P&gt;The possible values help from the ABAP Dictionary is displayed, or &lt;/P&gt;&lt;P&gt;None at all if the field has no Dictionary reference. &lt;/P&gt;&lt;P&gt;If a corresponding event block exists, it takes precedence over the default possible values help mechanism. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: A type matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MATNR FROM MARA INTO  TABLE ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    RETFIELD               = 'MATNR'&lt;/P&gt;&lt;P&gt;    VALUE_ORG              = 'S'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    VALUE_TAB              = ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION SCREEN ON BLOCK &amp;lt;block&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is triggered when the contents of all of the fields in a block are passed from the selection screen to the ABAP program. &lt;/P&gt;&lt;P&gt;You can use this event block to check the consistency of the input fields in the block. &lt;/P&gt;&lt;P&gt;If an error message occurs within this event block, the fields in the block are made ready for input again on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;example:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT EVENT_DEMO.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK PART1 WITH FRAME.&lt;/P&gt;&lt;P&gt;  PARAMETERS: NUMBER1 TYPE I,&lt;/P&gt;&lt;P&gt;              NUMBER2 TYPE I,&lt;/P&gt;&lt;P&gt;              NUMBER3 TYPE I.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK PART1. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK PART2 WITH FRAME.&lt;/P&gt;&lt;P&gt;  PARAMETERS: NUMBER4 TYPE I,&lt;/P&gt;&lt;P&gt;              NUMBER5 TYPE I,&lt;/P&gt;&lt;P&gt;             NUMBER6 TYPE I.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK PART2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK PART1.&lt;/P&gt;&lt;P&gt;  IF NUMBER3 LT NUMBER2 OR     NUMBER3 LT NUMBER1 OR    NUMBER2 LT NUMBER1.&lt;/P&gt;&lt;P&gt;     MESSAGE E020(HB).&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK PART2.&lt;/P&gt;&lt;P&gt;  IF NUMBER6 LT NUMBER5 OR    NUMBER6 LT NUMBER4 OR    NUMBER5 LT NUMBER4.&lt;/P&gt;&lt;P&gt;     MESSAGE E030(HB).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Dec 2007 07:53:42 GMT</pubDate>
    <dc:creator>asik_shameem</dc:creator>
    <dc:date>2007-12-05T07:53:42Z</dc:date>
    <item>
      <title>reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071414#M728097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) we use AT SELECTION-SCREEN ON HELP REQUEST event to gv F1  functionality? can anyone tell me hw to do this? plz gv me an sample examaple with code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) we use AT SELECTION-SCREEN ON VALUE REQUEST event to gv F4  functionality? can anyone tell me hw to do this? plz gv me an sample examaple with code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)what is the use of AT SELECTION-SCREEN OUTPUT ON BLOCK? can anyone tell me hw to do this? plz gv me an sample examaple with code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 07:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071414#M728097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T07:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071415#M728098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2)At Selection-screen on value-request.&lt;/P&gt;&lt;P&gt; example..&lt;/P&gt;&lt;P&gt;Just Check this program..&lt;/P&gt;&lt;P&gt;Parameters:p_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Types:Begin of i_mara,&lt;/P&gt;&lt;P&gt;       matnr like mara-matnr,&lt;/P&gt;&lt;P&gt;       end of i_mara.&lt;/P&gt;&lt;P&gt;data:it_mara type standard table of i_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Selection-screen on value-request for p_matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Select matnr from mara into table it_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DDIC_STRUCTURE         = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    RETFIELD               = 'MATNR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PVALKEY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   DYNPPROG               = SY-REPID&lt;/P&gt;&lt;P&gt;   DYNPNR                 = SY-DYNNR&lt;/P&gt;&lt;P&gt;   DYNPROFIELD            = 'P_MATNR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STEPL                  = 0&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WINDOW_TITLE           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  VALUE                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   VALUE_ORG              = 'S'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MULTIPLE_CHOICE        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DISPLAY                = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLBACK_PROGRAM       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CALLBACK_FORM          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MARK_TAB               =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_RESET             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    VALUE_TAB              = IT_MARA&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELD_TAB              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN_TAB             =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DYNPFLD_MAPPING        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   PARAMETER_ERROR        = 1&lt;/P&gt;&lt;P&gt;   NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;P&gt;   OTHERS                 = 3&lt;/P&gt;&lt;P&gt;          .&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;&lt;/P&gt;&lt;P&gt;And also check this link...&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/different-types-of-selection-screens.htm" target="test_blank"&gt;http://www.sap-img.com/abap/different-types-of-selection-screens.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Vishnu Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 07:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071415#M728098</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2007-12-05T07:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071416#M728099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. for  this , if suppose if u ahaving a check box in selection screen,  if the client needs f1 help, then use this event.&lt;/P&gt;&lt;P&gt;2, fro this , in ur selection screen,, if u want f4 help for a field , use this event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regads'karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 07:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071416#M728099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T07:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071417#M728100</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 this sample code for getting  f1 help.Before that go to se61 create document with the prgm name starts  with "Z" as I given here ZHR_HELP and enter the details that you want to display while clicking f1.Here p_data refers check_box which is user defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON HELP-REQUEST FOR p_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      application      = 'SE61'&lt;/P&gt;&lt;P&gt;      dokclass         = 'TX'&lt;/P&gt;&lt;P&gt;      dokname          = 'ZHR_HELP'&lt;/P&gt;&lt;P&gt;      viewname         = 'STANDARD'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      class_unknown    = 0&lt;/P&gt;&lt;P&gt;      object_not_found = 0&lt;/P&gt;&lt;P&gt;      OTHERS           = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then for F4 use this Function module...&lt;/P&gt;&lt;P&gt;Here p_path and  P_FNAME are the name of the input file name.that you have declared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      PROGRAM_NAME  = SYST-CPROG&lt;/P&gt;&lt;P&gt;      DYNPRO_NUMBER = SYST-DYNNR&lt;/P&gt;&lt;P&gt;      FIELD_NAME    = ' '&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      FILE_NAME     = P_FNAME.&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 it will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sakthi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;&lt;/STRONG&gt;&lt;DEL&gt;&lt;STRONG&gt;Rewards if useful&lt;/STRONG&gt;&lt;/DEL&gt;*&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 07:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071417#M728100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T07:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071418#M728101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;go thru in this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION SCREEN ON HELP-REQUEST FOR &amp;lt;field&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event is triggered when the user calls the F1 help for the field &amp;lt;field&amp;gt;. &lt;/P&gt;&lt;P&gt;If no corresponding event block has been defined, &lt;/P&gt;&lt;P&gt;Help from the ABAP Dictionary is displayed, or &lt;/P&gt;&lt;P&gt;None at all if the field has no Dictionary reference. &lt;/P&gt;&lt;P&gt;If a corresponding event block exists, it takes precedence over the default help mechanism.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example &amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT SELECTION_SCREEN_F1_DEMO.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_CARR_1 TYPE S_CARR_ID,&lt;/P&gt;&lt;P&gt;                        P_CARR_2 TYPE S_CARR_ID.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON HELP-REQUEST FOR P_CARR_2.&lt;/P&gt;&lt;P&gt;  CALL SCREEN 100 STARTING AT 10 5 ENDING   AT 60 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;field&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The event is triggered when the user calls the F4 help for the field &amp;lt;field&amp;gt;. &lt;/P&gt;&lt;P&gt;If no corresponding event block has been defined, &lt;/P&gt;&lt;P&gt;The possible values help from the ABAP Dictionary is displayed, or &lt;/P&gt;&lt;P&gt;None at all if the field has no Dictionary reference. &lt;/P&gt;&lt;P&gt;If a corresponding event block exists, it takes precedence over the default possible values help mechanism. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab type table of matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: A type matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT MATNR FROM MARA INTO  TABLE ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    RETFIELD               = 'MATNR'&lt;/P&gt;&lt;P&gt;    VALUE_ORG              = 'S'&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    VALUE_TAB              = ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION SCREEN ON BLOCK &amp;lt;block&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This event is triggered when the contents of all of the fields in a block are passed from the selection screen to the ABAP program. &lt;/P&gt;&lt;P&gt;You can use this event block to check the consistency of the input fields in the block. &lt;/P&gt;&lt;P&gt;If an error message occurs within this event block, the fields in the block are made ready for input again on the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;example:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT EVENT_DEMO.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK PART1 WITH FRAME.&lt;/P&gt;&lt;P&gt;  PARAMETERS: NUMBER1 TYPE I,&lt;/P&gt;&lt;P&gt;              NUMBER2 TYPE I,&lt;/P&gt;&lt;P&gt;              NUMBER3 TYPE I.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK PART1. &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK PART2 WITH FRAME.&lt;/P&gt;&lt;P&gt;  PARAMETERS: NUMBER4 TYPE I,&lt;/P&gt;&lt;P&gt;              NUMBER5 TYPE I,&lt;/P&gt;&lt;P&gt;             NUMBER6 TYPE I.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK PART2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK PART1.&lt;/P&gt;&lt;P&gt;  IF NUMBER3 LT NUMBER2 OR     NUMBER3 LT NUMBER1 OR    NUMBER2 LT NUMBER1.&lt;/P&gt;&lt;P&gt;     MESSAGE E020(HB).&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON BLOCK PART2.&lt;/P&gt;&lt;P&gt;  IF NUMBER6 LT NUMBER5 OR    NUMBER6 LT NUMBER4 OR    NUMBER5 LT NUMBER4.&lt;/P&gt;&lt;P&gt;     MESSAGE E030(HB).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 07:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071418#M728101</guid>
      <dc:creator>asik_shameem</dc:creator>
      <dc:date>2007-12-05T07:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071419#M728102</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;Check Demo Programs in ur system..&lt;/P&gt;&lt;P&gt;demo_selection_screen_f1&lt;/P&gt;&lt;P&gt;demo_selection_screen_f4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps.&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 08:15:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071419#M728102</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T08:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071420#M728103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see the example programs in the abap i.e&lt;/P&gt;&lt;P&gt;Demo_selection_screen_f4 . &lt;/P&gt;&lt;P&gt;Demo_selection_screen_f1.&lt;/P&gt;&lt;P&gt; plzzzzz reward points if it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 08:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/3071420#M728103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-05T08:18:19Z</dc:date>
    </item>
  </channel>
</rss>

