<?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: F4 help value restriction in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821175#M1470218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check [Search help with value restriction |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8813738"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 03 Apr 2010 08:43:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-03T08:43:57Z</dc:date>
    <item>
      <title>F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821174#M1470217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to add a value box(max. no. of hits) in my F4 help list. But it is not allowing to give selection screen. Pls suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*********&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR PRD-LOW.&lt;/P&gt;&lt;P&gt;  SELECT MONAT FROM BSIS INTO TABLE T_PERIOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT T_PERIOD BY MONAT.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM T_PERIOD.&lt;/P&gt;&lt;P&gt;&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     = 'MONAT'&lt;/P&gt;&lt;P&gt;      DYNPPROG     = SY-REPID&lt;/P&gt;&lt;P&gt;      DYNPNR       = SY-DYNNR&lt;/P&gt;&lt;P&gt;      DYNPROFIELD  = 'PRD'&lt;/P&gt;&lt;P&gt;      WINDOW_TITLE = 'Period'&lt;/P&gt;&lt;P&gt;      VALUE_ORG    = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB    = T_PERIOD&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS       = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR PRD-HIGH.&lt;/P&gt;&lt;P&gt;  SELECT MONAT FROM BSIS INTO TABLE T_PERIOD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT T_PERIOD BY MONAT.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM T_PERIOD.&lt;/P&gt;&lt;P&gt;&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     = 'MONAT'&lt;/P&gt;&lt;P&gt;      DYNPPROG     = SY-REPID&lt;/P&gt;&lt;P&gt;      DYNPNR       = SY-DYNNR&lt;/P&gt;&lt;P&gt;      DYNPROFIELD  = 'PRD'&lt;/P&gt;&lt;P&gt;      WINDOW_TITLE = 'Period'&lt;/P&gt;&lt;P&gt;      VALUE_ORG    = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB    = T_PERIOD&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS       = 3.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="7" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Apr 2010 08:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821174#M1470217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-03T08:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821175#M1470218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check [Search help with value restriction |&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="8813738"&gt;&lt;/A&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Apr 2010 08:43:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821175#M1470218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-03T08:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821176#M1470219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your prompt reply. But i want to add a box in the search help, where an user can mention the max. no. of hits e.g. - 200 hits or 500 hits etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Apr 2010 09:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821176#M1470219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-03T09:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821177#M1470220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the Below thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[F4IF_INT_TABLE_VALUE_REQUEST with Maximum Number of Hits.|&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1521272"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this serves your purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Apr 2010 09:16:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821177#M1470220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-03T09:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821178#M1470221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a ton &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Apr 2010 09:27:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821178#M1470221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-03T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821179#M1470222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  zcall_back.
" This is a test code just copy and execute
"Close both the threads if your Issue is Served
PARAMETERS matnr TYPE matnr.
 DATA : BEGIN OF itab OCCURS 0,
    matnr TYPE matnr,
    END OF itab.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR matnr.


  SELECT matnr FROM mara INTO TABLE itab UP TO 1500 ROWS.

  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
*       DDIC_STRUCTURE         = ' '
      retfield               = 'MATNR'
*       PVALKEY                = ' '
       DYNPPROG               = SY-REPID
       DYNPNR                 = SY-DYNNR
       DYNPROFIELD            = 'MATNR'
     value_org              = 'S'
     CALLBACK_PROGRAM       = SY-REPID
     callback_form          = 'CALL_BACK'
    TABLES
      value_tab              = itab
   EXCEPTIONS
     parameter_error        = 1
     no_values_found        = 2
     OTHERS                 = 3
            .

" form call_back. "
FORM call_back TABLES record_tab STRUCTURE seahlpres " Need to consider these 
CHANGING shlp TYPE shlp_descr " This one
callcontrol LIKE ddshf4ctrl.  " and this one 
" Put a break point here and test your break point reach here
shlp-intdescr-dialogtype = 'C'. 
callcontrol-no_maxdisp = ''. 
callcontrol-MAXRECORDS = 30. " Add this one to Get no of Records
ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 05:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821179#M1470222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-05T05:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help value restriction</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821180#M1470223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou very very much. The code is working perfectly fine now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Apr 2010 06:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-value-restriction/m-p/6821180#M1470223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-05T06:17:21Z</dc:date>
    </item>
  </channel>
</rss>

