<?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 Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/3170932#M754585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a function group and function module with following parameters.&lt;/P&gt;&lt;P&gt;FUNCTION z_XXX_shlp_exit.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      SHLP_TAB TYPE  SHLP_DESCT&lt;/P&gt;&lt;P&gt;*"      RECORD_TAB STRUCTURE  SEAHLPRES&lt;/P&gt;&lt;P&gt;*"  CHANGING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(SHLP) TYPE  SHLP_DESCR&lt;/P&gt;&lt;P&gt;*"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write code here. Put a break point and check the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECoRD_TAB will have the values to display. You can control those values in this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF callcontrol-step = 'DISP'.&lt;/P&gt;&lt;P&gt; Delete the records which you dont want to show on the screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Se11 - C_T001 - Display - Choose included search help tab - Double click on APP_T001&lt;/P&gt;&lt;P&gt;Again Included search help - double click on H_T001 - enter the function module name in &lt;/P&gt;&lt;P&gt;search help exit field. activate it and see the values in record_tab.&lt;/P&gt;&lt;P&gt;validate them and use it. remember this applies to Company code field through out SAP &lt;/P&gt;&lt;P&gt;system. so be careful when you do this kind of enhancement to search help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 18:40:51 GMT</pubDate>
    <dc:creator>former_member191735</dc:creator>
    <dc:date>2007-12-14T18:40:51Z</dc:date>
    <item>
      <title>Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/3170931#M754584</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;  When the user press F4 in the field BUKRS(company Code) user should see only limited entries based on the user name. We have maintained a Zee table for &lt;/P&gt;&lt;P&gt;Company code and user name. in F4 list user should see only Authorized company codes based on the username.&lt;/P&gt;&lt;P&gt;How can we achieve this.&lt;/P&gt;&lt;P&gt;Pls send me the procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Partha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 17:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/3170931#M754584</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T17:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/3170932#M754585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a function group and function module with following parameters.&lt;/P&gt;&lt;P&gt;FUNCTION z_XXX_shlp_exit.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      SHLP_TAB TYPE  SHLP_DESCT&lt;/P&gt;&lt;P&gt;*"      RECORD_TAB STRUCTURE  SEAHLPRES&lt;/P&gt;&lt;P&gt;*"  CHANGING&lt;/P&gt;&lt;P&gt;*"     REFERENCE(SHLP) TYPE  SHLP_DESCR&lt;/P&gt;&lt;P&gt;*"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write code here. Put a break point and check the values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RECoRD_TAB will have the values to display. You can control those values in this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF callcontrol-step = 'DISP'.&lt;/P&gt;&lt;P&gt; Delete the records which you dont want to show on the screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Se11 - C_T001 - Display - Choose included search help tab - Double click on APP_T001&lt;/P&gt;&lt;P&gt;Again Included search help - double click on H_T001 - enter the function module name in &lt;/P&gt;&lt;P&gt;search help exit field. activate it and see the values in record_tab.&lt;/P&gt;&lt;P&gt;validate them and use it. remember this applies to Company code field through out SAP &lt;/P&gt;&lt;P&gt;system. so be careful when you do this kind of enhancement to search help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 18:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit/m-p/3170932#M754585</guid>
      <dc:creator>former_member191735</dc:creator>
      <dc:date>2007-12-14T18:40:51Z</dc:date>
    </item>
  </channel>
</rss>

