{"id":7548,"date":"2025-08-20T13:15:28","date_gmt":"2025-08-20T07:45:28","guid":{"rendered":"https:\/\/www.sapewmhelp.com\/?question=how-to-create-search-help-exit"},"modified":"2025-08-20T13:15:28","modified_gmt":"2025-08-20T07:45:28","slug":"how-to-create-search-help-exit","status":"publish","type":"question","link":"https:\/\/www.sapewmhelp.com\/?question=how-to-create-search-help-exit","title":{"rendered":"How to create search help exit ?"},"content":{"rendered":"<p>It is only called for collective search helps, using the search help exit, the set of elementary search helps available can be restricted depending on the context.<\/p>\n<p><strong>We can call search helps exits in the following situation.<\/strong><\/p>\n<ol>\n<li>Before displaying the dialog box for selecting the required search help.<\/li>\n<li>Before starting the F4 process for the elementary search help.<\/li>\n<li>Before displaying the dialog box for entering search condition<\/li>\n<li>Before selecting the data<\/li>\n<li>Before displaying the hit list.<\/li>\n<li>Before returning the values selected by the user to the input template.<\/li>\n<\/ol>\n<p>creating a search help exit.<\/p>\n<ol>\n<li>We need to create a function module and write code in that FM and call that FM in that search help.<\/li>\n<\/ol>\n<p><strong>For that we have tables.<\/strong><\/p>\n<p>In the table parameter of that FM<\/p>\n<p>SHLP_DESCR_tab_t<\/p>\n<p>SEAHLPRES<\/p>\n<p>In the changing parameter<\/p>\n<p>SHLP_DESCR<\/p>\n<p>DDDHF4CTRL<\/p>\n<p>Step 1 : GOTO SE37 &#8211;&gt; Create a Function Module.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/se1.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">Write the code.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/se2.png\" \/><\/p>\n<p style=\"margin: 0in;font-family: Calibri;font-size: 11.0pt\">Open the collective search and add the search exit.<\/p>\n<p><img decoding=\"async\" class=\"content-img\" src=\"https:\/\/www.sapewmhelp.com\/wp-content\/uploads\/2025\/08\/se3.png\" \/><\/p>\n<\/p>\n<p>Finally, we have created a Search Help Exit.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","question-category":[158],"question_tags":[178,177,353],"class_list":["post-7548","question","type-question","status-publish","hentry","question-category-abap","question_tags-abap","question_tags-sap","question_tags-search-help-exit"],"_links":{"self":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question\/7548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/question"}],"about":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7548"}],"wp:attachment":[{"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7548"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion-category&post=7548"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/www.sapewmhelp.com\/index.php?rest_route=%2Fwp%2Fv2%2Fquestion_tags&post=7548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}