<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289577#M787064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use the function module given below with example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT LIFNR NAME1&lt;/P&gt;&lt;P&gt;         FROM LFA1&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE CODE_TAB&lt;/P&gt;&lt;P&gt;         WHERE KTOKK = WK_TRAN_CODE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH : RETURN_TAB.&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        = 'IT_LFA1-LIFNR'&lt;/P&gt;&lt;P&gt;      DYNPPROG        = PROGNAME&lt;/P&gt;&lt;P&gt;      DYNPNR          = DYNNUM&lt;/P&gt;&lt;P&gt;      DYNPROFIELD     = 'IT_LFA1-LIFNR'&lt;/P&gt;&lt;P&gt;      VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB       = CODE_TAB&lt;/P&gt;&lt;P&gt;      RETURN_TAB      = RETURN_TAB&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;      NO_VALUES_FOUND = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    READ TABLE RETURN_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;    IT_LFA1-LIFNR = RETURN_TAB-FIELDVAL.&lt;/P&gt;&lt;P&gt;    WK_TRAN_CODE = IT_LFA1-LIFNR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get the result... try it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 08:22:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T08:22:34Z</dc:date>
    <item>
      <title>Search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289575#M787062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expersts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am working with module pool program. i have desinged three screens 100 and 200 and 300 for chaning data in ztable.&lt;/P&gt;&lt;P&gt;table : zsecion_tst.&lt;/P&gt;&lt;P&gt;its fields are&lt;/P&gt;&lt;P&gt;-sectioncode&lt;/P&gt;&lt;P&gt;-parametercode&lt;/P&gt;&lt;P&gt;-budat&lt;/P&gt;&lt;P&gt;-quanity &lt;/P&gt;&lt;P&gt;-remarks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in screen 0100 there is a input field for date and 3 buttons on the screen CREATE, CHANGE, DELETE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i give input date and clikc CHANGE OR DELETE i ll display screen 0300  where i given 2 fields for input sectioncode and paramtercode and i created search help for sectioncode and paramtercode. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my requiment is when i click search help for paramtercode it is showing all the values that are in Zsection_tst. so i need only the values of particular date in search help . The date values which i ll give in screen 0100 that particular values should be shown in search help for both sectioncode and parameter code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;How can i do that??? please help me its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;points will be rewarded&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;priyanka reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 07:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289575#M787062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T07:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289576#M787063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi priyanka,&lt;/P&gt;&lt;P&gt;keep a validation statement in pai for the field parameter for that particular date range..&lt;/P&gt;&lt;P&gt;like..&lt;/P&gt;&lt;P&gt;select parameter from table into table where date in (range)..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should work ..&lt;/P&gt;&lt;P&gt;reward if helps..&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 08:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289576#M787063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T08:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289577#M787064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use the function module given below with example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT LIFNR NAME1&lt;/P&gt;&lt;P&gt;         FROM LFA1&lt;/P&gt;&lt;P&gt;         INTO CORRESPONDING FIELDS OF TABLE CODE_TAB&lt;/P&gt;&lt;P&gt;         WHERE KTOKK = WK_TRAN_CODE1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH : RETURN_TAB.&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        = 'IT_LFA1-LIFNR'&lt;/P&gt;&lt;P&gt;      DYNPPROG        = PROGNAME&lt;/P&gt;&lt;P&gt;      DYNPNR          = DYNNUM&lt;/P&gt;&lt;P&gt;      DYNPROFIELD     = 'IT_LFA1-LIFNR'&lt;/P&gt;&lt;P&gt;      VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB       = CODE_TAB&lt;/P&gt;&lt;P&gt;      RETURN_TAB      = RETURN_TAB&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      PARAMETER_ERROR = 1&lt;/P&gt;&lt;P&gt;      NO_VALUES_FOUND = 2&lt;/P&gt;&lt;P&gt;      OTHERS          = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;    READ TABLE RETURN_TAB INDEX 1.&lt;/P&gt;&lt;P&gt;    IT_LFA1-LIFNR = RETURN_TAB-FIELDVAL.&lt;/P&gt;&lt;P&gt;    WK_TRAN_CODE = IT_LFA1-LIFNR.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get the result... try it...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 08:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289577#M787064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T08:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289578#M787065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Analyse this code and try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;********&lt;STRONG&gt;in PAI module.&lt;/STRONG&gt;***************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'SEARCH'.&lt;/P&gt;&lt;P&gt;    clear: ipcleid,ipcn, ipro, ips,ipcd, ipud.&lt;/P&gt;&lt;P&gt;    call screen '0300'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in screen 300.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab type DBtable  occurs 0 with header line.&lt;/P&gt;&lt;P&gt;data: s1 type c length 100,&lt;/P&gt;&lt;P&gt;         f type n length 1 value 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;  when 'BACK'.&lt;/P&gt;&lt;P&gt;    call screen '0100'.&lt;/P&gt;&lt;P&gt;  when 'Search'.&lt;/P&gt;&lt;P&gt;    clear: s1,f.&lt;/P&gt;&lt;P&gt;    f = 0.&lt;/P&gt;&lt;P&gt;    if ipcleid is initial and ipro is initial and ipcn is initial and&lt;/P&gt;&lt;P&gt;    ips is initial and&lt;/P&gt;&lt;P&gt;    ipcd is initial.&lt;/P&gt;&lt;P&gt;      message i001(001) with 'Enter atleast one field'.&lt;/P&gt;&lt;P&gt;      call screen '0300'.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;       if not ipcleid  is initial.&lt;/P&gt;&lt;P&gt;         concatenate 'CLE_ID = ''' ipcleid  '''' into s1.&lt;/P&gt;&lt;P&gt;         f = 1.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       if not ipcn is initial.&lt;/P&gt;&lt;P&gt;         if f = 0.&lt;/P&gt;&lt;P&gt;           concatenate 'CLE_Name = ''' ipcn '''' into s1.&lt;/P&gt;&lt;P&gt;           f = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;           concatenate s1 ' and CLE_Name = ''' ipcn '''' into s1.&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       if not ipro is initial.&lt;/P&gt;&lt;P&gt;         if f = 0.&lt;/P&gt;&lt;P&gt;           concatenate 'Resp_Office = ''' ipro '''' into s1.&lt;/P&gt;&lt;P&gt;           f = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;           concatenate s1 ' and Resp_Office = ''' ipro '''' into s1.&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       if not ips is initial.&lt;/P&gt;&lt;P&gt;         if ips &amp;lt;&amp;gt; 'A' and ips &amp;lt;&amp;gt; 'I'.&lt;/P&gt;&lt;P&gt;           message i001(001) with 'Invalid status'.&lt;/P&gt;&lt;P&gt;           call screen '0300' .&lt;/P&gt;&lt;P&gt;         elseif f = 0.&lt;/P&gt;&lt;P&gt;           concatenate 'Status = ''' ips '''' into s1.&lt;/P&gt;&lt;P&gt;           f = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;           concatenate s1 ' and Status = ''' ips '''' into s1.&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     select *  from DBtable  into table itab where (s1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;         message i001(001) with 'No data found'.&lt;/P&gt;&lt;P&gt;         call screen '0300'.&lt;/P&gt;&lt;P&gt;       else.&lt;/P&gt;&lt;P&gt;         call screen '0301' starting at 50 50.&lt;/P&gt;&lt;P&gt;       endif.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;rajasekhar reddy P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rajasekhar  Reddy on Jan 21, 2008 2:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 08:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help/m-p/3289578#M787065</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T08:46:41Z</dc:date>
    </item>
  </channel>
</rss>

