<?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: SEARCH HELP PROBLEM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327381#M1031085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. .This code will works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : g_region like t005u-bland.

data : begin of it_t005s occurs 0,
region like t005s-bland,
end of it_t005s.


data : begin of it_t005u occurs 0,
region like t005u-bland,
bezei like t005u-bezei,
end of it_t005u.

select-options : s_regio for g_region.

at selection-screen on value-request for s_regio-low.

  select bland
         from t005s
         into table it_t005s
         where land1 = 'IN'.

  select bland bezei
         from t005u into table it_t005u for all entries in it_t005s
         where bland = it_t005s-region and spras = 'EN' and land1 = 'IN'.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'REGION'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'S_REGIO-LOW'
      value_org   = 'S'
    tables
      value_tab   = it_t005u.


at selection-screen on value-request for s_regio-high.
  select bland
         from t005s
         into table it_t005s where land1 = 'IN'.

  select bland bezei
         from t005u into table it_t005u for all entries in it_t005s
         where bland = it_t005s-region and spras = 'EN' and land1 = 'IN'.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'REGION'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'S_REGIO-HIGH'
      value_org   = 'S'
    tables
      value_tab   = it_t005u.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2008 09:55:39 GMT</pubDate>
    <dc:creator>naveen_inuganti2</dc:creator>
    <dc:date>2008-08-25T09:55:39Z</dc:date>
    <item>
      <title>SEARCH HELP PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327379#M1031083</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 am getting problem in search help...when I click &lt;/P&gt;&lt;P&gt;F4 and select any region, i want the to see region not the description in selction field.&lt;/P&gt;&lt;P&gt;Here I am getting description.&lt;/P&gt;&lt;P&gt;This is my coding..&lt;/P&gt;&lt;P&gt;can any body suggest me......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data : g_region type regio.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF IT_T005S OCCURS 0,&lt;/P&gt;&lt;P&gt;       REGION LIKE T005S-BLAND,&lt;/P&gt;&lt;P&gt;       END OF IT_T005S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF  IT_T005U OCCURS 0,&lt;/P&gt;&lt;P&gt;       REGION LIKE T005U-BLAND,&lt;/P&gt;&lt;P&gt;       BEZEI LIKE T005U-BEZEI,&lt;/P&gt;&lt;P&gt;       END OF IT_T005U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : s_regio for g_region.&lt;/P&gt;&lt;P&gt;At selection-screen on value-request for s_regio-low.&lt;/P&gt;&lt;P&gt;  select BLAND from T005S into table it_T005S where LAND1 = 'IN'.&lt;/P&gt;&lt;P&gt;  SELECT BLAND BEZEI FROM T005U INTO TABLE IT_T005U FOR ALL ENTRIES IN IT_T005S&lt;/P&gt;&lt;P&gt;  WHERE BLAND = IT_T005S-REGION AND SPRAS = 'EN' AND LAND1 = 'IN'.&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    = 'S_REGIO-LOW'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield = 'IT_T005U-REGION'&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = IT_T005U.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on value-request for s_regio-high.&lt;/P&gt;&lt;P&gt;select BLAND from T005S into table it_T005S where LAND1 = 'IN'.&lt;/P&gt;&lt;P&gt;  SELECT BLAND BEZEI FROM T005U INTO TABLE IT_T005U FOR ALL ENTRIES IN IT_T005S&lt;/P&gt;&lt;P&gt;  WHERE BLAND = IT_T005S-REGION AND SPRAS = 'EN' AND LAND1 = 'IN'.&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    = 'S_REGIO-HIGH'&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-repid&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      dynprofield = 'IT_T005U-REGION'&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = IT_T005U.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 09:16:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327379#M1031083</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-25T09:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327380#M1031084</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;Parameters should be exchanged:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;retfield = 'REGION'&lt;/P&gt;&lt;P&gt;dynprofield = 'S_REGIO-LOW'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 09:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327380#M1031084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-25T09:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: SEARCH HELP PROBLEM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327381#M1031085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.. .This code will works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data : g_region like t005u-bland.

data : begin of it_t005s occurs 0,
region like t005s-bland,
end of it_t005s.


data : begin of it_t005u occurs 0,
region like t005u-bland,
bezei like t005u-bezei,
end of it_t005u.

select-options : s_regio for g_region.

at selection-screen on value-request for s_regio-low.

  select bland
         from t005s
         into table it_t005s
         where land1 = 'IN'.

  select bland bezei
         from t005u into table it_t005u for all entries in it_t005s
         where bland = it_t005s-region and spras = 'EN' and land1 = 'IN'.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'REGION'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'S_REGIO-LOW'
      value_org   = 'S'
    tables
      value_tab   = it_t005u.


at selection-screen on value-request for s_regio-high.
  select bland
         from t005s
         into table it_t005s where land1 = 'IN'.

  select bland bezei
         from t005u into table it_t005u for all entries in it_t005s
         where bland = it_t005s-region and spras = 'EN' and land1 = 'IN'.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      retfield    = 'REGION'
      dynpprog    = sy-repid
      dynpnr      = sy-dynnr
      dynprofield = 'S_REGIO-HIGH'
      value_org   = 'S'
    tables
      value_tab   = it_t005u.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2008 09:55:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-problem/m-p/4327381#M1031085</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-08-25T09:55:39Z</dc:date>
    </item>
  </channel>
</rss>

