<?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: Function Module to Process Search Help and Export the selected values in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643350#M608678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cann use  this function module "F4IF_FIELD_VALUE_REQUEST"&lt;/P&gt;&lt;P&gt;at the POV event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 04:36:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T04:36:31Z</dc:date>
    <item>
      <title>Function Module to Process Search Help and Export the selected values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643347#M608675</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;I am looking for a Function Module, which will process the given Search Help (Already Created) and will provide a pop-up (Search Help Result) screen, where user will choose the required values and the chosen values from the Search Help are exported for further processing in a Transaction. Is there any Standard SAP Function Modules are programs that can be used to process the search help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate Your Help!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kannan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 04:30:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643347#M608675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T04:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Process Search Help and Export the selected values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643348#M608676</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;&lt;/P&gt;&lt;P&gt;How to create a function Module for search help exits?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function module for search help F4IF_SHLP_EXIT_EXAMPLE &lt;/P&gt;&lt;P&gt;dynamic search help use 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check out the link below it will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A repository object maintained in the ABAP Dictionary. It supplies input fields on Dynpros with single- or multi-column input helps. Search helps can be linked in the Dictionary with components from structures, data elements, and check tables. A search help enables you to search for entry values with assigned data, without you having to know the exact spelling of the value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;please explain in details with step by step process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a search help exit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. create an fm with this interface:&lt;/P&gt;&lt;P&gt;*" TABLES&lt;/P&gt;&lt;P&gt;*" SHLP_TAB TYPE SHLP_DESCR_TAB_T&lt;/P&gt;&lt;P&gt;*" RECORD_TAB STRUCTURE SEAHLPRES&lt;/P&gt;&lt;P&gt;*" CHANGING&lt;/P&gt;&lt;P&gt;*" VALUE(SHLP) TYPE SHLP_DESCR_T&lt;/P&gt;&lt;P&gt;*" VALUE(CALLCONTROL) LIKE DDSHF4CTRL STRUCTURE DDSHF4CTRL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put this logic in it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Delete duplicate filter logic.&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This logic only needs to apply at the 'DISP' event - which is just&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;before the hit list is displayed&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if callcontrol-step = 'DISP'.&lt;/P&gt;&lt;P&gt;delete adjacent duplicates from record_tab.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. edit your search help in se11 and enter the name of the above search help exit fm &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;check this sample code..for dynamic search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEST_F4HELP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*---Report with selection screen and to display the list of&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;possible entries for field 'B' as per the value in field 'A'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_vbeln type vbak-vbeln,&lt;/P&gt;&lt;P&gt;p_posnr type vbap-posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_posnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of help_item occurs 0,&lt;/P&gt;&lt;P&gt;posnr type vbap-posnr,&lt;/P&gt;&lt;P&gt;matnr type vbap-matnr,&lt;/P&gt;&lt;P&gt;arktx type vbap-arktx,&lt;/P&gt;&lt;P&gt;end of help_item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: dynfields type table of dynpread with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dynfields-fieldname = 'P_VBELN'.&lt;/P&gt;&lt;P&gt;append dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;dyname = sy-cprog&lt;/P&gt;&lt;P&gt;dynumb = sy-dynnr&lt;/P&gt;&lt;P&gt;translate_to_upper = 'X'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;dynpfields = dynfields&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;invalid_dynprofield = 2&lt;/P&gt;&lt;P&gt;invalid_dynproname = 3&lt;/P&gt;&lt;P&gt;invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;invalid_request = 5&lt;/P&gt;&lt;P&gt;no_fielddescription = 6&lt;/P&gt;&lt;P&gt;invalid_parameter = 7&lt;/P&gt;&lt;P&gt;undefind_error = 8&lt;/P&gt;&lt;P&gt;double_conversion = 9&lt;/P&gt;&lt;P&gt;stepl_not_found = 10&lt;/P&gt;&lt;P&gt;others = 11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table dynfields with key fieldname = 'P_VBELN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_vbeln = dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;input = p_vbeln&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;output = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select posnr matnr arktx into table help_item&lt;/P&gt;&lt;P&gt;from vbap&lt;/P&gt;&lt;P&gt;where vbeln = p_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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 = 'POSNR'&lt;/P&gt;&lt;P&gt;dynprofield = 'P_POSNR'&lt;/P&gt;&lt;P&gt;dynpprog = sy-cprog&lt;/P&gt;&lt;P&gt;dynpnr = sy-dynnr&lt;/P&gt;&lt;P&gt;value_org = 'S'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;value_tab = help_item.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;also check this link it will help you&lt;/P&gt;&lt;P&gt;/message/3854825#3854825 &lt;B&gt;[original link is broken]&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********&lt;STRONG&gt;please reward points if the information is helpful to you&lt;/STRONG&gt;*************&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 04:32:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643348#M608676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T04:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Process Search Help and Export the selected values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643349#M608677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;check this links&lt;/P&gt;&lt;P&gt;Search Help Exits:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2291334"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2956586"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for useful Answers&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 04:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643349#M608677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T04:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module to Process Search Help and Export the selected values</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643350#M608678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cann use  this function module "F4IF_FIELD_VALUE_REQUEST"&lt;/P&gt;&lt;P&gt;at the POV event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Reema.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 04:36:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-to-process-search-help-and-export-the-selected-values/m-p/2643350#M608678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T04:36:31Z</dc:date>
    </item>
  </channel>
</rss>

