<?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 selection-screen F4 help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731863#M634315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose in a selection screen, there are 2 parameters. one for storage location &amp;amp; other for material. if one storage location is selected, then by clicking F4 help in material corresponding material related to storage location should come ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2007 11:09:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-12T11:09:54Z</dc:date>
    <item>
      <title>selection-screen F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731863#M634315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose in a selection screen, there are 2 parameters. one for storage location &amp;amp; other for material. if one storage location is selected, then by clicking F4 help in material corresponding material related to storage location should come ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 11:09:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731863#M634315</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T11:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731864#M634316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that the same search help is attached to both the fields.The Export is set in the searchhelp.Then it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points,&lt;/P&gt;&lt;P&gt;Reemz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 11:14:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731864#M634316</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T11:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731865#M634317</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 like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF ty_kna1,&lt;/P&gt;&lt;P&gt;          kunnr TYPE kna1-kunnr,                                    "CUstomer Code&lt;/P&gt;&lt;P&gt;          name1 TYPE kna1-name1,                                    "Customer Code&lt;/P&gt;&lt;P&gt;        END OF ty_kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa_value_tab TYPE ty_kna1.&lt;/P&gt;&lt;P&gt;DATA : value_tab LIKE wa_value_tab OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : field_tab LIKE dfies  OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : return_tab LIKE ddshretval OCCURS 0 WITH HEADER LINE.&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 kunnr-low.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CHECK NOT bukrs IS INITIAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT kna1&lt;SUB&gt;kunnr kna1&lt;/SUB&gt;name1&lt;/P&gt;&lt;P&gt;    INTO TABLE i_kna1&lt;/P&gt;&lt;P&gt;    FROM kna1 INNER JOIN vbrk&lt;/P&gt;&lt;P&gt;    ON kna1&lt;SUB&gt;kunnr = vbrk&lt;/SUB&gt;kunag&lt;/P&gt;&lt;P&gt;    WHERE vbrk~bukrs = bukrs.                   "dyfields-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SORT i_kna1 BY kunnr.&lt;/P&gt;&lt;P&gt;  DELETE ADJACENT DUPLICATES FROM i_kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CLEAR : value_tab,field_tab,return_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  REFRESH : value_tab,field_tab,return_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  field_tab-fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;  field_tab-tabname = 'KNA1'.&lt;/P&gt;&lt;P&gt;  APPEND field_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  field_tab-fieldname = 'NAME1'.&lt;/P&gt;&lt;P&gt;  field_tab-tabname = 'KNA1'.&lt;/P&gt;&lt;P&gt;  APPEND field_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  field_tab-fieldname = 'KUNNR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT i_kna1 .&lt;/P&gt;&lt;P&gt;    value_tab-kunnr = i_kna1-kunnr.&lt;/P&gt;&lt;P&gt;    APPEND value_tab.&lt;/P&gt;&lt;P&gt;    CLEAR value_tab.&lt;/P&gt;&lt;P&gt;    value_tab-name1 = i_kna1-name1.&lt;/P&gt;&lt;P&gt;    APPEND value_tab.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&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        = field_tab-fieldname&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = value_tab&lt;/P&gt;&lt;P&gt;      field_tab       = field_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;    kunnr-low = return_tab-fieldval.&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;here i entered BUKRS and according to that i want Customer name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it will b helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 11:45:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731865#M634317</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T11:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731866#M634318</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;Write code in at selection on value request for that field and select passing the value of the st location to the material from the table and use FM  'F4IF_INT_TABLE_VALUE_REQUEST to get materials&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 11:49:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731866#M634318</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-12T11:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: selection-screen F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731867#M634319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at DEMO_DYNPRO_F4_HELP_MODULE - the trick I think you are looking for is to use function DYNP_VALUES_READ to get the value of one field when F4 is selected on a second field.  The DYNP_VALUES_READ will read what is on the screen even if the user hasn't pressed enter i.e. if the user has just keyed "123" into storage location and tabbed to material and hit F4.  The demo program explains this process using context sensitive list of flights for an airline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 00:21:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2731867#M634319</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T00:21:24Z</dc:date>
    </item>
  </channel>
</rss>

