<?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. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531948#M1071053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;please check the sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_TEST_SUBHA4.&lt;/P&gt;&lt;P&gt;DATA:  progname TYPE progname.&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;c_check TYPE char01 VALUE 'X'  .  " Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;  s_prog FOR progname    " Program Name&lt;/P&gt;&lt;P&gt;  NO INTERVALS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F4 help fom program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prog-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read the selection screen value dynamically&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM sub_read_dynamic_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F4 help fom program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM sub_f4help_program_name  USING s_prog-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FORM sub_read_dynamic_value .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Local data declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:  l_wa_dynp TYPE dynpread,       "Work area for dynamic read&lt;/P&gt;&lt;P&gt;         l_i_dynp  TYPE STANDARD TABLE OF dynpread&lt;/P&gt;&lt;P&gt;                   INITIAL SIZE 0.      "Internal table for dynamic read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_wa_dynp-fieldname = 'S_PROG-LOW'.   "Field name&lt;/P&gt;&lt;P&gt;  APPEND l_wa_dynp TO l_i_dynp.&lt;/P&gt;&lt;P&gt;  CLEAR : l_wa_dynp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the selection screen value dynamically&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname               = sy-repid   " Program name&lt;/P&gt;&lt;P&gt;      dynumb               = sy-dynnr   " Screen number&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = l_i_dynp&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Put the screen value in the select-options&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE l_i_dynp INTO l_wa_dynp INDEX 1.&lt;/P&gt;&lt;P&gt;    s_prog-low = l_wa_dynp-fieldvalue.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;FORM sub_f4help_program_name  USING    p_prog TYPE progname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Local data declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: l_object_typ TYPE  seu_obj.      " Object type&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set object type as program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l_object_typ = 'PROG'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get F4 help&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_type           = l_object_typ&lt;/P&gt;&lt;P&gt;      object_name           = p_prog&lt;/P&gt;&lt;P&gt;      suppress_selection    = c_check&lt;/P&gt;&lt;P&gt;      without_personal_list = c_check&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      object_name_selected  = p_prog&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cancel                = 1&lt;/P&gt;&lt;P&gt;      wrong_type            = 2&lt;/P&gt;&lt;P&gt;      OTHERS                = 3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SY-SUBRC check is not required&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it will solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2008 07:17:54 GMT</pubDate>
    <dc:creator>Subhankar</dc:creator>
    <dc:date>2008-09-30T07:17:54Z</dc:date>
    <item>
      <title>AT SELECTION-SCREEN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531944#M1071049</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 created a Select-Options. Inside  AT SELECTION SCREEN on VALUE REQUEST for this field I have fired a query then display it through F4IF_INT_TABLE_VALUE_REQUEST. BUt while pressing the F4 when I am giving the exact value it is showing me the F4 help and when I am passing 0000 it is not firing the query. Thats why F4 help is not displaying in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me why it is happening and what I can do to solve it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 06:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531944#M1071049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T06:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531945#M1071050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just check the query when it is getting executed by putting a break-point and also check the internal table you had passed to the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Midhun Abraham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Midhun Abraham on Sep 30, 2008 8:51 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 06:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531945#M1071050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T06:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531946#M1071051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Populate internal table for F4 help in event INITIALIZATION not in AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aparna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 06:53:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531946#M1071051</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T06:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531947#M1071052</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;&lt;STRONG&gt;"BUt while pressing the F4 when I am giving the exact value it is showing me the F4 help and when I am passing 0000 it is not firing the query"&lt;/STRONG&gt; Please clarify this part of your query... I have not understood...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:07:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531947#M1071052</guid>
      <dc:creator>former_member755502</dc:creator>
      <dc:date>2008-09-30T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531948#M1071053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;please check the sample code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  Z_TEST_SUBHA4.&lt;/P&gt;&lt;P&gt;DATA:  progname TYPE progname.&lt;/P&gt;&lt;P&gt;CONSTANTS:&lt;/P&gt;&lt;P&gt;c_check TYPE char01 VALUE 'X'  .  " Flag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;  s_prog FOR progname    " Program Name&lt;/P&gt;&lt;P&gt;  NO INTERVALS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F4 help fom program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_prog-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Read the selection screen value dynamically&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM sub_read_dynamic_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;F4 help fom program name&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  PERFORM sub_f4help_program_name  USING s_prog-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  FORM sub_read_dynamic_value .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Local data declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA:  l_wa_dynp TYPE dynpread,       "Work area for dynamic read&lt;/P&gt;&lt;P&gt;         l_i_dynp  TYPE STANDARD TABLE OF dynpread&lt;/P&gt;&lt;P&gt;                   INITIAL SIZE 0.      "Internal table for dynamic read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_wa_dynp-fieldname = 'S_PROG-LOW'.   "Field name&lt;/P&gt;&lt;P&gt;  APPEND l_wa_dynp TO l_i_dynp.&lt;/P&gt;&lt;P&gt;  CLEAR : l_wa_dynp.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get the selection screen value dynamically&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      dyname               = sy-repid   " Program name&lt;/P&gt;&lt;P&gt;      dynumb               = sy-dynnr   " Screen number&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = l_i_dynp&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Put the screen value in the select-options&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    READ TABLE l_i_dynp INTO l_wa_dynp INDEX 1.&lt;/P&gt;&lt;P&gt;    s_prog-low = l_wa_dynp-fieldvalue.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;FORM sub_f4help_program_name  USING    p_prog TYPE progname.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Local data declaration&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  DATA: l_object_typ TYPE  seu_obj.      " Object type&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Set object type as program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  l_object_typ = 'PROG'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Get F4 help&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      object_type           = l_object_typ&lt;/P&gt;&lt;P&gt;      object_name           = p_prog&lt;/P&gt;&lt;P&gt;      suppress_selection    = c_check&lt;/P&gt;&lt;P&gt;      without_personal_list = c_check&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      object_name_selected  = p_prog&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      cancel                = 1&lt;/P&gt;&lt;P&gt;      wrong_type            = 2&lt;/P&gt;&lt;P&gt;      OTHERS                = 3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SY-SUBRC check is not required&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it will solve your problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531948#M1071053</guid>
      <dc:creator>Subhankar</dc:creator>
      <dc:date>2008-09-30T07:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531949#M1071054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;"BUt while pressing the F4 when I am giving the exact value it is showing me the F4 help and when I am passing 0000 it is not firing the query. "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the above you mean paasing value into the select query right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok, the problem is you are not getting F4 help when you pass 0000 right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure there is some data in the table (from which you are fetching using select query) with the value equal to "0000" ?&lt;/P&gt;&lt;P&gt;please check that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 07:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen/m-p/4531949#M1071054</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2008-09-30T07:18:47Z</dc:date>
    </item>
  </channel>
</rss>

