<?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 Dialog program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609148#M1862693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values in the field characteristic&amp;nbsp; "Material"/ "Date"&amp;nbsp; are entered by the user&amp;nbsp; in the screen right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen there is an event called Process on Value request.&lt;/P&gt;&lt;P&gt;under this event create module for each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field tablecontrolname-value module f4_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logic in the module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM DYNP_VALUES_READ to read the value in the screen&lt;/P&gt;&lt;P&gt;populate the table DYNPFIELDS with the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DYNPFIELDS-FIELDNAME = 'tablecontrolname-characteristic'&lt;/P&gt;&lt;P&gt;DYNPFIELDS-STEPL = line number (Use GET CURSOR FIELD to get the line number and pass it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the export parameters DYNAME and DYNUMB with values program name(SY-REPID) and screen number (SY-DYNNR) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once the FM is executed the value is populated in the table DYNPFIELDS. read the table using the field name and the field DYNPFIELDS-FIELDVALUE will have the value mentioned in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this value to check if it is Material/ Date. Based on the value fetch the required data and display the F4 help for the value field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, if the value is material then fetch the data from MARA for all materials and display the list of materials in the F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solution will help you and let me know in case of any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 03:47:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-15T03:47:26Z</dc:date>
    <item>
      <title>Search help in Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609146#M1862691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a table control to display and edit internal table data with two fields 'Characteristic. and 'Value'. Here I want display provide the F4 for "Value" field based on field 'Characteristic' value. Suppose if 'Characteristic' is Material then F4 on 'Value' field should Material list and if Characteristic is date then F4 on value field should be date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 278px; height: 92px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Characteristic&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Value&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Material&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12345678&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Date&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05/06/1983&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know how can I do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Sep 2014 17:52:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609146#M1862691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-14T17:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: Search help in Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609147#M1862692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 03:18:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609147#M1862692</guid>
      <dc:creator>gaursri</dc:creator>
      <dc:date>2014-09-15T03:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Search help in Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609148#M1862693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The values in the field characteristic&amp;nbsp; "Material"/ "Date"&amp;nbsp; are entered by the user&amp;nbsp; in the screen right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution is,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the screen there is an event called Process on Value request.&lt;/P&gt;&lt;P&gt;under this event create module for each field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field tablecontrolname-value module f4_value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;logic in the module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM DYNP_VALUES_READ to read the value in the screen&lt;/P&gt;&lt;P&gt;populate the table DYNPFIELDS with the following fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DYNPFIELDS-FIELDNAME = 'tablecontrolname-characteristic'&lt;/P&gt;&lt;P&gt;DYNPFIELDS-STEPL = line number (Use GET CURSOR FIELD to get the line number and pass it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass the export parameters DYNAME and DYNUMB with values program name(SY-REPID) and screen number (SY-DYNNR) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once the FM is executed the value is populated in the table DYNPFIELDS. read the table using the field name and the field DYNPFIELDS-FIELDVALUE will have the value mentioned in the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this value to check if it is Material/ Date. Based on the value fetch the required data and display the F4 help for the value field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, if the value is material then fetch the data from MARA for all materials and display the list of materials in the F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solution will help you and let me know in case of any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 03:47:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609148#M1862693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-15T03:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Search help in Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609149#M1862694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shoban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Please use&amp;nbsp; 'Process On Value Request' Event for this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Use following FM:&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;EXPORTING&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;retfield = 'MATNR'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;dynpprog = progname&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;dynpnr = dynnum&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;dynprofield = 'FIELDNAME'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;value_org = 'S'&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;TABLES&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;value_tab = it_F4_help&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;thanks,&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit;"&gt;vidyasagar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 04:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/search-help-in-dialog-program/m-p/10609149#M1862694</guid>
      <dc:creator>former_member212124</dc:creator>
      <dc:date>2014-09-15T04:19:09Z</dc:date>
    </item>
  </channel>
</rss>

