<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959159#M394454</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the example search help exit function module  F4IF_SHLP_EXIT_EXAMPLE which elaborates how we can code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally, I would expect ur search help say pops upt he following values in a search help for F2 field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F1   F2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;10    20&lt;/P&gt;&lt;P&gt;10    21&lt;/P&gt;&lt;P&gt;11   30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence the record_tab table in the step   IF CALLCONTROL-STEP = 'DISP'. would have the above three records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now say you entered F1 as 11 in the screen and then pressed F4, then what u need to do is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF CALLCONTROL-STEP = 'DISP'.&lt;/P&gt;&lt;P&gt;   GET PARAMETER ID 'ABC' FIELD V_F1.&lt;/P&gt;&lt;P&gt; DELETE RECORD_TAB WHERE record_tab-string+(2) NE V_F1.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the record fields in the RECORD_TAB are concatenated into the STRING field of the table. We have the assurity of the structure and hence can know where the F1 field appears and hence deleted the unwanted records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know incase of any more doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Mar 2007 10:48:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-02T10:48:21Z</dc:date>
    <item>
      <title>search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959156#M394451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a requirement. There is a field which has search help associated to it; Now the current scenario is that on screen processing if field F1 has a specific value , then field F2 , field that has search help built, shud display only few values depending on F1. I have made the changes in the search help, added column to compare that the values should match, but issue is that I dont knw how to fetch up the value from screen into search help so that I can compare. I have implemented the search help exit but i have no idea how to take up the value of field from screen to compare it in search help. I have used a search help exit but i dont knwo how to implement in such a manner that it takes value from screen and puts it in field of search help.&lt;/P&gt;&lt;P&gt;Please revert back if anything is not clear.&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959156#M394451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959157#M394452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Garuav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why dont you export the field value F1 to a parameter ID and import it in the search help exit and delete all entries where the values dont belong to F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PARAMETER ID 'ABC' FIELD F1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the search help exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET PARAMETER ID 'ABC' FIELD &amp;lt;local_var&amp;gt;.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959157#M394452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959158#M394453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Aditya,&lt;/P&gt;&lt;P&gt;Can you elaborate a bit more? I understand that I set paramater in module pool of my screen then i get it in search help exit . Then what, what records do i need to delete or how do i change it, i mean the table record_tab does not contain the value, where do i need to make comparison, ne idea?&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:37:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959158#M394453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959159#M394454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the example search help exit function module  F4IF_SHLP_EXIT_EXAMPLE which elaborates how we can code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally, I would expect ur search help say pops upt he following values in a search help for F2 field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F1   F2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;10    20&lt;/P&gt;&lt;P&gt;10    21&lt;/P&gt;&lt;P&gt;11   30&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence the record_tab table in the step   IF CALLCONTROL-STEP = 'DISP'. would have the above three records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now say you entered F1 as 11 in the screen and then pressed F4, then what u need to do is following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF CALLCONTROL-STEP = 'DISP'.&lt;/P&gt;&lt;P&gt;   GET PARAMETER ID 'ABC' FIELD V_F1.&lt;/P&gt;&lt;P&gt; DELETE RECORD_TAB WHERE record_tab-string+(2) NE V_F1.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the record fields in the RECORD_TAB are concatenated into the STRING field of the table. We have the assurity of the structure and hence can know where the F1 field appears and hence deleted the unwanted records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know incase of any more doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 10:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959159#M394454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T10:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959160#M394455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Aditya,&lt;/P&gt;&lt;P&gt;Let me explain you a bit more, &lt;/P&gt;&lt;P&gt;I have fields F1 F3 F4 coming up in the dialog box, and F3 wud be the field that user enters and lets say if user enters 'AA' then i dont want entries that are  not 'AA'. So in table record_tab how would i knw its offest 2, like u mentioned&lt;/P&gt;&lt;P&gt;DELETE RECORD_TAB WHERE record_tab-string+(2)NE V_F1.&lt;/P&gt;&lt;P&gt;how would i knw that i need to compare it from the offset 2.&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 12:43:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959160#M394455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T12:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959161#M394456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is your problem solved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2007 13:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959161#M394456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-02T13:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959162#M394457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not exactly Aditya, I am not able to find out how to write a query and select field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 09:06:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/1959162#M394457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T09:06:38Z</dc:date>
    </item>
  </channel>
</rss>

