<?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: Serch Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394512#M1405281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use at selection-screen on value request for region.&lt;/P&gt;&lt;P&gt;So, u can select the regions of country and modify the region selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Nov 2009 07:14:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-11-20T07:14:23Z</dc:date>
    <item>
      <title>Serch Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394510#M1405279</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;Now I am working in a module pool program,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set a serch help for Region Selection , for that I created an Elementry Serch Help with following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BLAND&lt;/P&gt;&lt;P&gt;BEZEI&lt;/P&gt;&lt;P&gt;SPRAS&lt;/P&gt;&lt;P&gt;LAND1 from T005U, it is working but my requirement is that i want to select the items mased on other serch help used for country in the same screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if I select Country India then in region selection serch help must select only reions with country 'IN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So please help me to solve&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nausal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 07:06:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394510#M1405279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T07:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Serch Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394511#M1405280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Nausal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u do a f4 on the field, on that even,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call this FM F4IF_INT_TABLE_VALUE_REQUEST, and pass the field where country is stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you would have to pass some more attributes and you will get the table of regions which is from the particular country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get the usage of this FM from .. SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check them out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Reji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 07:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394511#M1405280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T07:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Serch Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394512#M1405281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use at selection-screen on value request for region.&lt;/P&gt;&lt;P&gt;So, u can select the regions of country and modify the region selection&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 07:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394512#M1405281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T07:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Serch Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394513#M1405282</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 using this 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES: MARA,
        MAKT.
DATA: BEGIN OF T_MATNR OCCURS 0,
      MATNR TYPE VBAP-MATNR,
      END OF T_MATNR,
      BEGIN OF T_MAKTX OCCURS 0,
      MAKTX TYPE MAKT-MAKTX,
      END OF T_MAKTX.
DATA: T_DYNPRO TYPE TABLE OF DYNPREAD,
      WA_DYNPRO LIKE LINE OF T_DYNPRO,
      TEMP TYPE MARA-MATNR.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-T01.
  PARAMETERS: P_MATNR TYPE MARA-MATNR,
              P_MAKTX TYPE MAKT-MAKTX.
SELECTION-SCREEN END OF BLOCK B1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
  SELECT MATNR
    FROM MARA
    INTO TABLE T_MATNR
    UP TO 10 ROWS.
IF SY-SUBRC EQ 0.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
  EXPORTING
    RETFIELD               = 'MATNR'
   VALUE_ORG              = 'S'
  TABLES
    VALUE_TAB              = T_MATNR
 EXCEPTIONS
   PARAMETER_ERROR        = 1
   NO_VALUES_FOUND        = 2
   OTHERS                 = 3  .       

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MAKTX.
WA_DYNPRO-FIELDNAME = 'P_MATNR'.
APPEND WA_DYNPRO TO T_DYNPRO.
CALL FUNCTION 'DYNP_VALUES_READ'
  EXPORTING
    DYNAME                               = SY-REPID
    DYNUMB                               = SY-DYNNR
   TRANSLATE_TO_UPPER                   = 'X'
  TABLES
    DYNPFIELDS                           = T_DYNPRO
 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                               = 10        .
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.
READ TABLE T_DYNPRO INTO WA_DYNPRO WITH KEY FIELDNAME = 'P_MATNR'.
TEMP = WA_DYNPRO-FIELDVALUE.
"Again call F4 help on the second field

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2009 07:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serch-help/m-p/6394513#M1405282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-11-20T07:14:58Z</dc:date>
    </item>
  </channel>
</rss>

