<?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 Search help: Internal Error. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-internal-error/m-p/7834842#M1590306</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 getting information message : 'Search help: Internal Error' after incorporating code in RETURN event. My aim was to populate the value from Hit list to Value with restriction field and then by removing some search select criteria, again display the hit list. It is coming back to the value with restriction field screen  also populating the fields properly, below 1 information message is coming 'Search help: Internal Error'. If I remove some field from selection and again press the go button, it is doing nothing and system is hanging. The details are given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one search help ZTMVGR1 having the following details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search help type : Elementary.&lt;/P&gt;&lt;P&gt;Selection Method : MVKE&lt;/P&gt;&lt;P&gt;Search help exit:  ZF4_MATGRP_EXIT1.&lt;/P&gt;&lt;P&gt;Display value with restrictions : A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field          Import           EXPORT   LPOS      SPOS   SDis     Data Element&lt;/P&gt;&lt;P&gt;MATNR       X                   X              5             5                     MATNR                &lt;/P&gt;&lt;P&gt;VKORG      X                   X              1              1                     VKORG&lt;/P&gt;&lt;P&gt;VTWEG      X                   X              2              2                     VTWEG&lt;/P&gt;&lt;P&gt;MVGR1      X                   X               3             3                      MVGR1&lt;/P&gt;&lt;P&gt;KONDM      X                   X               4             4                      KONDM&lt;/P&gt;&lt;P&gt;MAKTX      X                   X               6              0                     MAKTX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the search help exit ZF4_MATGRP_EXIT1 I have used three events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) PRESEL : Purpose of using this was I was not able to see F4 help for few fields in value with restriction screen . I found out that in SHLP-INTERFACE-F4FIELD is equal to 'X', sometimes in search help if that field's value is 'X' , F4 help does not come even if check table exists for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) DISP : Purpose, I want to fetch material description field in exit only. MAKTX does not exist in MVKE, so either I need to create a view containing all my fields, or populate the one which is not there in selection method in exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Return : Purpose,  I want to put VKORG, VTWEG and MATNR ( MATNR has collective search help, based on material description , we can put material ) . The hit list we get contains VKORG, VTWEG, MATNR, KONDM, MVGR1 and MAKTX. When we double click on hitlist the value returns , I want to populate these entries in value with restriction field. So KONDM and MVGR1 field will be populated. Now I will remove the value of material-low  from selection screen and find out for VKORG, VTWEG and MVGR1/KONDM what materials are there. But after writing the code for event RETURN I am getting information message 'Search Help: Internal Error'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code snippet is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve formatting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 13, 2011 1:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 04:01:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-13T04:01:23Z</dc:date>
    <item>
      <title>Search help: Internal Error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-internal-error/m-p/7834842#M1590306</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 getting information message : 'Search help: Internal Error' after incorporating code in RETURN event. My aim was to populate the value from Hit list to Value with restriction field and then by removing some search select criteria, again display the hit list. It is coming back to the value with restriction field screen  also populating the fields properly, below 1 information message is coming 'Search help: Internal Error'. If I remove some field from selection and again press the go button, it is doing nothing and system is hanging. The details are given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created one search help ZTMVGR1 having the following details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search help type : Elementary.&lt;/P&gt;&lt;P&gt;Selection Method : MVKE&lt;/P&gt;&lt;P&gt;Search help exit:  ZF4_MATGRP_EXIT1.&lt;/P&gt;&lt;P&gt;Display value with restrictions : A&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field          Import           EXPORT   LPOS      SPOS   SDis     Data Element&lt;/P&gt;&lt;P&gt;MATNR       X                   X              5             5                     MATNR                &lt;/P&gt;&lt;P&gt;VKORG      X                   X              1              1                     VKORG&lt;/P&gt;&lt;P&gt;VTWEG      X                   X              2              2                     VTWEG&lt;/P&gt;&lt;P&gt;MVGR1      X                   X               3             3                      MVGR1&lt;/P&gt;&lt;P&gt;KONDM      X                   X               4             4                      KONDM&lt;/P&gt;&lt;P&gt;MAKTX      X                   X               6              0                     MAKTX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the search help exit ZF4_MATGRP_EXIT1 I have used three events:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) PRESEL : Purpose of using this was I was not able to see F4 help for few fields in value with restriction screen . I found out that in SHLP-INTERFACE-F4FIELD is equal to 'X', sometimes in search help if that field's value is 'X' , F4 help does not come even if check table exists for that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) DISP : Purpose, I want to fetch material description field in exit only. MAKTX does not exist in MVKE, so either I need to create a view containing all my fields, or populate the one which is not there in selection method in exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Return : Purpose,  I want to put VKORG, VTWEG and MATNR ( MATNR has collective search help, based on material description , we can put material ) . The hit list we get contains VKORG, VTWEG, MATNR, KONDM, MVGR1 and MAKTX. When we double click on hitlist the value returns , I want to populate these entries in value with restriction field. So KONDM and MVGR1 field will be populated. Now I will remove the value of material-low  from selection screen and find out for VKORG, VTWEG and MVGR1/KONDM what materials are there. But after writing the code for event RETURN I am getting information message 'Search Help: Internal Error'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code snippet is given below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve formatting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 13, 2011 1:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 04:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-internal-error/m-p/7834842#M1590306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-13T04:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Search help: Internal Error.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-internal-error/m-p/7834843#M1590307</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;In search help exit you need to use the below mentioned function modules&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'F4UT_PARAMETER_ALLOCATE'          For allocating fields&lt;/P&gt;&lt;P&gt; 'F4UT_PARAMETER_VALUE_GET'       Get Value&lt;/P&gt;&lt;P&gt;'F4UT_PARAMETER_RESULTS_PUT'     put Value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the same order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Bhargav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2011 14:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-internal-error/m-p/7834843#M1590307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-16T14:13:23Z</dc:date>
    </item>
  </channel>
</rss>

