<?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 modiification in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-modiification/m-p/6460658#M1415490</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 have to Add restriction in search functionality of some Z transactions , a restriction should&lt;/P&gt;&lt;P&gt;be added that prevents showing inactive SAP numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means a restriction on end date 31.12.9999 and on position&lt;/P&gt;&lt;P&gt;99999999. i need to attach this functionality to screen field perner of a z transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently standard collective search help "PREM"  is attached to it and Help exit FM "HRMC_PREM_EXIT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know how to use " SHLP_TAB " and  "RECORD_TAB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetching data from Infotype0 with restrictiion on date field and restricting INACTIVE numbers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  free wt_pa0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT pernr&lt;/P&gt;&lt;P&gt;         endda&lt;/P&gt;&lt;P&gt;         stat2&lt;/P&gt;&lt;P&gt;    FROM pa0000&lt;/P&gt;&lt;P&gt;    INTO TABLE wt_pa0000&lt;/P&gt;&lt;P&gt;  WHERE endda LE c_31129999&lt;/P&gt;&lt;P&gt;    AND stat2 NE c_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FREE wt_pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetching data from Infotype1 with restriction on position&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT pernr&lt;/P&gt;&lt;P&gt;           plans&lt;/P&gt;&lt;P&gt;      FROM pa0001&lt;/P&gt;&lt;P&gt;      INTO TABLE wt_pa0001&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN wt_pa0000&lt;/P&gt;&lt;P&gt;     WHERE pernr EQ wt_pa0000-pernr&lt;/P&gt;&lt;P&gt;       AND plans LT c_99999999 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Following is the Logic to combine the data of 2 internal Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR wa_pa0000 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT wt_pa0000 INTO wa_pa0000 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE : wa_pa0000-pernr TO wa_combine-pernr ,&lt;/P&gt;&lt;P&gt;           wa_pa0000-endda TO wa_combine-endda ,&lt;/P&gt;&lt;P&gt;           wa_pa0000-stat2 TO wa_combine-stat2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT wt_pa0001 INTO wa_pa0001 WHERE pernr = wa_pa0000-pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE : wa_pa0001-plans TO wa_combine-plans .&lt;/P&gt;&lt;P&gt;      APPEND wa_combine to wt_combine .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP .  " LOOP AT wt_pa0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.    " LOOP AT wt_pa0000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Jan 2010 04:55:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-18T04:55:25Z</dc:date>
    <item>
      <title>search help modiification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-modiification/m-p/6460658#M1415490</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 have to Add restriction in search functionality of some Z transactions , a restriction should&lt;/P&gt;&lt;P&gt;be added that prevents showing inactive SAP numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means a restriction on end date 31.12.9999 and on position&lt;/P&gt;&lt;P&gt;99999999. i need to attach this functionality to screen field perner of a z transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;currently standard collective search help "PREM"  is attached to it and Help exit FM "HRMC_PREM_EXIT"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i don't know how to use " SHLP_TAB " and  "RECORD_TAB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetching data from Infotype0 with restrictiion on date field and restricting INACTIVE numbers&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  free wt_pa0000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT pernr&lt;/P&gt;&lt;P&gt;         endda&lt;/P&gt;&lt;P&gt;         stat2&lt;/P&gt;&lt;P&gt;    FROM pa0000&lt;/P&gt;&lt;P&gt;    INTO TABLE wt_pa0000&lt;/P&gt;&lt;P&gt;  WHERE endda LE c_31129999&lt;/P&gt;&lt;P&gt;    AND stat2 NE c_1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FREE wt_pa0001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Fetching data from Infotype1 with restriction on position&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    SELECT pernr&lt;/P&gt;&lt;P&gt;           plans&lt;/P&gt;&lt;P&gt;      FROM pa0001&lt;/P&gt;&lt;P&gt;      INTO TABLE wt_pa0001&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN wt_pa0000&lt;/P&gt;&lt;P&gt;     WHERE pernr EQ wt_pa0000-pernr&lt;/P&gt;&lt;P&gt;       AND plans LT c_99999999 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Following is the Logic to combine the data of 2 internal Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR wa_pa0000 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT wt_pa0000 INTO wa_pa0000 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    MOVE : wa_pa0000-pernr TO wa_combine-pernr ,&lt;/P&gt;&lt;P&gt;           wa_pa0000-endda TO wa_combine-endda ,&lt;/P&gt;&lt;P&gt;           wa_pa0000-stat2 TO wa_combine-stat2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT wt_pa0001 INTO wa_pa0001 WHERE pernr = wa_pa0000-pernr .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MOVE : wa_pa0001-plans TO wa_combine-plans .&lt;/P&gt;&lt;P&gt;      APPEND wa_combine to wt_combine .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDLOOP .  " LOOP AT wt_pa0001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ENDLOOP.    " LOOP AT wt_pa0000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 04:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-modiification/m-p/6460658#M1415490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-18T04:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: search help modiification</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-modiification/m-p/6460659#M1415491</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;You can refer to the following link for ur requirement &lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237" target="test_blank"&gt;https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2010 05:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-modiification/m-p/6460659#M1415491</guid>
      <dc:creator>manish_gupta32</dc:creator>
      <dc:date>2010-01-18T05:28:17Z</dc:date>
    </item>
  </channel>
</rss>

