<?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: selection-screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012188#M958622</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 explicit F4 help, according to the criteria select the data and call the F4 help for the wanted field, with the data you got.&lt;/P&gt;&lt;P&gt;     You can use the below function module to build the dialog box for F4 help on the filed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   --&amp;gt; F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ravi Kumar on Jun 20, 2008 8:47 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2008 06:47:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-20T06:47:20Z</dc:date>
    <item>
      <title>selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012187#M958621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello &lt;/P&gt;&lt;P&gt;experts i have a requirement .the scenario is like this i have three select-options in my screen&lt;/P&gt;&lt;P&gt;comp code ,&lt;/P&gt;&lt;P&gt;sales org,&lt;/P&gt;&lt;P&gt;distribtion channel&lt;/P&gt;&lt;P&gt;now suppose if comp code 9000 is selected the sales org and dist chnl will be reduced to only 9000 company code in the search help&lt;/P&gt;&lt;P&gt;plz help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012187#M958621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012188#M958622</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 explicit F4 help, according to the criteria select the data and call the F4 help for the wanted field, with the data you got.&lt;/P&gt;&lt;P&gt;     You can use the below function module to build the dialog box for F4 help on the filed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   --&amp;gt; F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ravi Kumar on Jun 20, 2008 8:47 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012188#M958622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012189#M958623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;P&gt;can u plz give me a sample code for that&lt;/P&gt;&lt;P&gt;it will help me a lot&lt;/P&gt;&lt;P&gt;plz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012189#M958623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012190#M958624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   I had the same requirement.You have to create dynamic search help.Refer the sample code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_dynpread-fieldname = 'ZCAN_HDR-PLANT'.
  APPEND wa_dynpread TO it_dynpread.

  CALL FUNCTION 'DYNP_VALUES_READ'
  EXPORTING
    dyname                               = sy-repid
    dynumb                               = sy-dynnr
*   TRANSLATE_TO_UPPER                   = ' '
*   request                              = 'A'
*   PERFORM_CONVERSION_EXITS             = ' '
*   PERFORM_INPUT_CONVERSION             = ' '
*   DETERMINE_LOOP_INDEX                 = ' '
*   START_SEARCH_IN_CURRENT_SCREEN       = ' '
*   START_SEARCH_IN_MAIN_SCREEN          = ' '
*   START_SEARCH_IN_STACKED_SCREEN       = ' '
*   START_SEARCH_ON_SCR_STACKPOS         = ' '
*   SEARCH_OWN_SUBSCREENS_FIRST          = ' '
*   SEARCHPATH_OF_SUBSCREEN_AREAS        = ' '
  TABLES
    dynpfields                           = it_dynpread
EXCEPTIONS
 invalid_abapworkarea                 = 1
 invalid_dynprofield                  = 2
 invalid_dynproname                   = 3
 invalid_dynpronummer                 = 4
 invalid_request                      = 5
 no_fielddescription                  = 6
 invalid_parameter                    = 7
 undefind_error                       = 8
 double_conversion                    = 9
 stepl_not_found                      = 10
 OTHERS                               = 11
          .
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

  CLEAR wa_dynpread.

  READ TABLE it_dynpread INTO wa_dynpread WITH KEY fieldname = 'ZCAN_HDR-PLANT'.

  IF sy-subrc = 0.

    SELECT hawb_bl_no plant exbond_no doc_type cha_agent
    FROM zcan_cha INTO TABLE it_hawb
    WHERE plant = wa_dynpread-fieldvalue.

  ENDIF.

  REFRESH it_dynpread.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
*   DDIC_STRUCTURE         = ' '
      retfield               = 'HAWB_BL_NO'
*   PVALKEY                = ' '
     dynpprog               = sy-cprog
     dynpnr                 = sy-dynnr
     dynprofield            = 'ZCAN_HDR-HAWB_BL_NO'
*   STEPL                  = 0
*   WINDOW_TITLE           =
*   VALUE                  = ' '
     value_org              = 'S'
*   MULTIPLE_CHOICE        = ' '
*   DISPLAY                = ' '
*   CALLBACK_PROGRAM       = ' '
*   CALLBACK_FORM          = ' '
*   MARK_TAB               =
* IMPORTING
*   USER_RESET             =
    TABLES
      value_tab              = it_hawb
*   FIELD_TAB              =
*   RETURN_TAB             =
*   DYNPFLD_MAPPING        =
* EXCEPTIONS
*   PARAMETER_ERROR        = 1
*   NO_VALUES_FOUND        = 2
*   OTHERS                 = 3
            .
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:50:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012190#M958624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012191#M958625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;thanx for giving the code but i am unable to understand the code&lt;/P&gt;&lt;P&gt;if possible plz tell me step by step so that i can understand&lt;/P&gt;&lt;P&gt;and can achive the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:59:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012191#M958625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012192#M958626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;thanx for giving the code but i am unable to understand the code&lt;/P&gt;&lt;P&gt;if possible plz tell me step by step so that i can understand&lt;/P&gt;&lt;P&gt;and can achive the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and can i use this for select -options ??&lt;/P&gt;&lt;P&gt;thanx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 07:01:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/4012192#M958626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T07:01:47Z</dc:date>
    </item>
  </channel>
</rss>

