<?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: 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/2054343#M423881</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it can be fetch for the screen data unless any user interaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever you are entering the value in any screen field in PAI of that screen only you can get the screen field value . and PAI is only trigger after user interaction so here in your case when user give the values and press enter then only it will trigger the pai and you can get the screen field value. So enter or any user interaction is must to trigger pai and get the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 10:54:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-08T10:54:42Z</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/2054342#M423880</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;&lt;/P&gt;&lt;P&gt;I created a program with 10 selection screen parameter. Out of which 5 fields are mandatory. For one of the mandatory field F4 help need to be attached. F4 should be based on the company code user enters on the selection screen. If user enter 1000 as company code. when user press F4, the payment method related to company code 1000 need to be listed as help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I completed the coding by using the company code and fetched the payment data from T042E table and called FM F4IF_INT_TABLE_VALUE_REQUEST in AT SELECTION-SCREEN ON VALUE REQUEST FOR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the F4 help is not available if the user doesnot enter all other mandatory fields and a enter. Which means if user tries to press F4 after entering company code. all the payment method are available for selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Suresh Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 10:49:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2054342#M423880</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T10:49:29Z</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/2054343#M423881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it can be fetch for the screen data unless any user interaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;whenever you are entering the value in any screen field in PAI of that screen only you can get the screen field value . and PAI is only trigger after user interaction so here in your case when user give the values and press enter then only it will trigger the pai and you can get the screen field value. So enter or any user interaction is must to trigger pai and get the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 10:54:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2054343#M423881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T10:54:42Z</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/2054344#M423882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your form "value request for...." you can get the required field values of the other fields with the function module DYNP_VALUES_READ BEFORE the user press ENTER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 15:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2054344#M423882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T15:04:37Z</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/2054345#M423883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suresh,&lt;/P&gt;&lt;P&gt;The FM DYNP_VALUES_READ might help.&lt;/P&gt;&lt;P&gt;See this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;*give program name and screen number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  l_program_name  = sy-repid.&lt;/P&gt;&lt;P&gt;  l_dynpro_number = sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*give field name, whose value you want to read into the field 'fieldname' of the &lt;/P&gt;&lt;P&gt;*internal table l_dynp_value_tab&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;l_dynp_value_tab-fieldname = l_field_name.&lt;/P&gt;&lt;P&gt;  append l_dynp_value_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'DYNP_VALUES_READ'&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      dyname               = l_program_name&lt;/P&gt;&lt;P&gt;      dynumb               = l_dynpro_number&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      dynpfields           = l_dynp_value_tab&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 04&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 08&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 12&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 16&lt;/P&gt;&lt;P&gt;      invalid_request      = 20&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 24&lt;/P&gt;&lt;P&gt;      undefind_error       = 28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read table l_dynp_value_tab index 1.&lt;/P&gt;&lt;P&gt;  l_functd1_value = l_dynp_value_tab-fieldvalue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*now you have the field value in the variable l_functd1_value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pranati.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if helpful !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 16:20:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-f4-help/m-p/2054345#M423883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T16:20:05Z</dc:date>
    </item>
  </channel>
</rss>

