<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095484#M1182691</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;record_tab is always empty what is wrong ? Please help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2009 08:43:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-02T08:43:46Z</dc:date>
    <item>
      <title>search help exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095482#M1182689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing some problem in creating a search help exit.&lt;/P&gt;&lt;P&gt;I need to write a search help exit which provides&lt;/P&gt;&lt;P&gt;the "Maintenance status of complete material" (Table Mara -&amp;gt; Field VPSTA).&lt;/P&gt;&lt;P&gt;It is little bit complicate to do that becausesearch help exit have a predefined interface generally&lt;/P&gt;&lt;P&gt;and I dont know the handling with it. I have used the pattern&lt;/P&gt;&lt;P&gt;F4IF_SHLP_EXIT_EXAMPLE  which is for all the search help exits to be created.&lt;/P&gt;&lt;P&gt;But e.g. the RECORD_TAB is always empty. I have also created one Paramter named ZVPSTA&lt;/P&gt;&lt;P&gt;within my Elementary srch hlp. &lt;/P&gt;&lt;P&gt;Please help me to do that. What is still missing in the below shown code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ZSHELPEXIT.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  TABLES
*"      SHLP_TAB TYPE  SHLP_DESCT
*"      RECORD_TAB STRUCTURE  SEAHLPRES
*"  CHANGING
*"     REFERENCE(ZVPSTA) TYPE  ZVPSTA OPTIONAL
*"     VALUE(SHLP) TYPE  SHLP_DESCR OPTIONAL
*"     VALUE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
*"       OPTIONAL
*"----------------------------------------------------------------------

tables: mara.

data ls_itab type  MARA-VPSTA.
data lt_itab type table of MARA-VPSTA.

select DISTINCT VPSTA from mara into table lt_itab.
ZVPSTA = lt_itab[].

ENDFUNCTION.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2009 17:50:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095482#M1182689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-01T17:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: search help exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095483#M1182690</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;Refer this link..[Search help exit   |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2189811"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 03:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095483#M1182690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T03:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: search help exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095484#M1182691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;record_tab is always empty what is wrong ? Please help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 08:43:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095484#M1182691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T08:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: search help exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095485#M1182692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check [My Wiki on search help exit|https://wiki.sdn.sap.com/wiki/x/du0]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is some thing to do with callcontrol-step... you need to check if its select or some thing else... its been long I dont remember much of it either..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 18:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095485#M1182692</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-02T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: search help exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095486#M1182693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for all your replys. All what I am trying to understand is how can I influence&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the "Maintenance status of complete material" (Table Mara -&amp;gt; Field VPSTA)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has several times the same data entry. I want elimanate them with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select DISTINCT VPSTA from mara into table lt_itab.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there is no chance to do that. It ignores this statement totaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ilhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 20:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095486#M1182693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T20:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: search help exit problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095487#M1182694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how about you select all VPSTA into lt_temp and say delete adjucent duplicate comapring VPSTA and use for all entries on lt_temp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select VPSTA from mara &lt;/P&gt;&lt;P&gt;for all entries in lt_temp&lt;/P&gt;&lt;P&gt;where &amp;lt;cond&amp;gt;&lt;/P&gt;&lt;P&gt;into table lt_itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 20:19:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-exit-problem/m-p/5095487#M1182694</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-02T20:19:33Z</dc:date>
    </item>
  </channel>
</rss>

