<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376872#M1041328</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;output type - screen field name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch the required values to be displayed in the search help from the ztable for doc cat and doc no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the the function module 'F4_INT_TABLE_VALUE_REQUEST'&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        = &amp;lt;ztable-field name&amp;gt;&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     = &amp;lt;selection screen field name&amp;gt;&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = &amp;lt;internal table&amp;gt;&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;&lt;/P&gt;&lt;P&gt;ztable field will be ur output-type&lt;/P&gt;&lt;P&gt;sel. screen field -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&amp;gt; the name given in the selection screen.&lt;/P&gt;&lt;P&gt;internal table-------&amp;gt; the table in which you have populated the values to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2008 08:46:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-27T08:46:01Z</dc:date>
    <item>
      <title>F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376865#M1041321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a Z table which has 3 fields: Document category,document type and output type.when the user clicks on F4 help for output type,it gives all output types.But i want to display only those output types which holds good for the Document category and document type enetred by the user.How can i do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rakesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 07:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376865#M1041321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376866#M1041322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a search help for the field and assign this search help against the field in the custom table.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Raju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376866#M1041322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376867#M1041323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want this in the program, Go for AT SELECTION-SCREEN ON VALUE-REQUEST &amp;lt;output type&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want this in the TABLE, create a search help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376867#M1041323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376868#M1041324</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;The easiest way would be to create a view (SE11) that shows exactly what you need, and then use this view as source in a self-made search help (also SE11). If this won't work, let us know - then you'd have to write a SHLP-function module yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:06:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376868#M1041324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376869#M1041325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this with a exit in the search help.&lt;/P&gt;&lt;P&gt;Your module function should have the sameinterface as F4IF_SHLP_EXIT_EXAMPLE. Have a look at the documentation of that FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Olivier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376869#M1041325</guid>
      <dc:creator>olivier_segol</dc:creator>
      <dc:date>2008-08-27T08:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376870#M1041326</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;U can do so with the help of the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-edc983384237" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/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;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376870#M1041326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376871#M1041327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me the three field names and data element so that i can try and let you know a simple way to do this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:31:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376871#M1041327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376872#M1041328</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;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;output type - screen field name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fetch the required values to be displayed in the search help from the ztable for doc cat and doc no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the the function module 'F4_INT_TABLE_VALUE_REQUEST'&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        = &amp;lt;ztable-field name&amp;gt;&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     = &amp;lt;selection screen field name&amp;gt;&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = &amp;lt;internal table&amp;gt;&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;&lt;/P&gt;&lt;P&gt;ztable field will be ur output-type&lt;/P&gt;&lt;P&gt;sel. screen field -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;&amp;gt; the name given in the selection screen.&lt;/P&gt;&lt;P&gt;internal table-------&amp;gt; the table in which you have populated the values to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sharin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376872#M1041328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376873#M1041329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the code  below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;output type&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT  &amp;lt;output type&amp;gt;&lt;/P&gt;&lt;P&gt;      FROM  &amp;lt;dbtable&amp;gt;&lt;/P&gt;&lt;P&gt;     INTO  TABLE &amp;lt;Internal table&amp;gt;&lt;/P&gt;&lt;P&gt;     where Document category  =  &amp;lt;User entered value&amp;gt;&lt;/P&gt;&lt;P&gt;              document type       =   &amp;lt;User entered value&amp;gt;.&lt;/P&gt;&lt;P&gt;&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    = &amp;lt;Field name &amp;gt;&lt;/P&gt;&lt;P&gt;      dynprofield = &amp;lt;Field on Selection-screen in capitals'&amp;gt;&lt;/P&gt;&lt;P&gt;      dynpprog    = sy-cprog&lt;/P&gt;&lt;P&gt;      dynpnr      = sy-dynnr&lt;/P&gt;&lt;P&gt;      value_org   = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab   = &amp;lt;itab&amp;gt;&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;Sireesha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 08:55:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376873#M1041329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T08:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376874#M1041330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BSTYP&lt;/P&gt;&lt;P&gt;BSART&lt;/P&gt;&lt;P&gt;KSCHL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 10:03:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376874#M1041330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T10:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376875#M1041331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use the FM 'F4_INT_TABLE_VALUE_REQUEST' for this and create an internal table for the same.&lt;/P&gt;&lt;P&gt;Populate the internal table with the values that are there in your selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the internal table inside the FM and you will surely get the required Search Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;P&gt;Please Let me know if you still have some doubts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 10:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376875#M1041331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T10:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376876#M1041332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for providing the Field names and &lt;STRONG&gt;the good news is we can attain your requirement without a single line of coding or a new search help.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with your fields and got your requirement work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the steps below while creating the table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First create the Ztable and give fields as;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field - Data Element&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1) MANDT-MANDT&lt;/P&gt;&lt;P&gt;2) DocCAT-BSTYP&lt;/P&gt;&lt;P&gt;3) DocType-BSART&lt;/P&gt;&lt;P&gt;4) OutType - KSCHL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to the &lt;STRONG&gt;Entry help/check&lt;/STRONG&gt; Tab of the table in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the Row DocType and click on the small Button with a Key image on it( to the left of "Search help" button).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will propose T161 as check table and fields MANDT, DocCat and DocType are also listed in that popup window, just press enter or Copy button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now maintain Tech. settings, Enhancement category etc and activate the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now go to se16 and first select a Document category and now press F4 in the Document Type and you can see it restricted to the category you selected in the document category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even when you select Document type directly , the corresponding document category will be filled auotmatically in the first field...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And thus no need to write a single line of code....Wherever you use this two fields the same will work....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand everything, try it and reply back..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karthik D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 11:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help/m-p/4376876#M1041332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T11:23:37Z</dc:date>
    </item>
  </channel>
</rss>

