<?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: Table control data - F4 help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796762#M1123379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When  using a table control the F4 help is added in "dictionary attributes" of this field, in the field corresponding to "search help ". You can build a help in SE11 transaction, and add the logic in the exit function of the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Feb 2009 16:44:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-07T16:44:34Z</dc:date>
    <item>
      <title>Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796746#M1123363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table control in my requirement. suppose it has the fields Plant and material. now the requirement is that..... if the user enters plant.. then only the corresponding materials for that plant should be required.&lt;/P&gt;&lt;P&gt;i have done all the coding for the above requirement also: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
process on value-request.
* Module for F4 help on Plant.
  field wa_audit-werks module f4_plant.
* Module for F4 help on Material
  field wa_audit-matnr module f4_material.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the F4 help also comes quite well...... but now my actual requirement is.. if the user selects the plant from the F4 values........ then without pressing any user command if he goes to the material F4 help, then iam not getting the actual f4 help which is required for me. iam getting all the materials(not restricted to the plant)...... it is due to the fact that until any user-command is pressed on the screen, the plant value entered on the screen is not populated into the reference field in the prog which is inturn used to retreive the materials(for F4).&lt;/P&gt;&lt;P&gt; so can anyone suggest me how to proceed further.......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 14:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796746#M1123363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T14:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796747#M1123364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a function module 'DYNP_VALUES_READ'.. use it to read the value in the field &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: dynfields type table of dynpread with header line.
 
*  Here add the fields that you want to read from 
* the screen
  dynfields-fieldname = 'WA_AUDIT-WERKS'.
  append dynfields.
 
  call function 'DYNP_VALUES_READ'
       exporting
            dyname               = sy-REPID
            dynumb               = sy-dynnr
            translate_to_upper   = 'X'
       tables
            dynpfields           = dynfields.
.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; The value of the field F4FIELD will be there in dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;NOw use this value to pass to your F4 for materials  module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suzie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suzie on Nov 25, 2008 4:39 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 15:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796747#M1123364</guid>
      <dc:creator>lijisusan_mathews</dc:creator>
      <dc:date>2008-11-25T15:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796748#M1123365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this reads the data of the normal screen values.. but not the table control values specific to a single row..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a table control.. if i chhose a specific row, then the data should be fetched for that specific row only.. which is not possible by your above solution. in a table control , i cannot have the field name for each and every row.. so i cannot use the above FM to read the dynpro table control values&lt;/P&gt;&lt;P&gt;if still it can be.. plz suggest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: chaitanya on Nov 25, 2008 9:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 15:41:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796748#M1123365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T15:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796749#M1123366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  ZVALUE_HELP&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  zvalue_help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: v_plant type werks_d.&lt;/P&gt;&lt;P&gt;data: begin of t_marc occurs 0,&lt;/P&gt;&lt;P&gt;        material type matnr,&lt;/P&gt;&lt;P&gt;        werks type werks_d,&lt;/P&gt;&lt;P&gt;      end of t_marc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: plant type werks_d,&lt;/P&gt;&lt;P&gt;            material type matnr.&lt;/P&gt;&lt;P&gt;&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 material.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;    l_dynfieldtab           like dynpread occurs 1,&lt;/P&gt;&lt;P&gt;    l_dynfieldtab_wa        like dynpread,&lt;/P&gt;&lt;P&gt;    l_repid                 like sy-repid,&lt;/P&gt;&lt;P&gt;    l_dynnr                 like sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  move : sy-repid to l_repid,&lt;/P&gt;&lt;P&gt;         sy-dynnr to l_dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;move selected entry to screen&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;fill internal table with screen fields&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  clear   l_dynfieldtab.&lt;/P&gt;&lt;P&gt;  refresh l_dynfieldtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  move 'PLANT' to l_dynfieldtab_wa-fieldname.&lt;/P&gt;&lt;P&gt;  append l_dynfieldtab_wa to l_dynfieldtab.&lt;/P&gt;&lt;P&gt;&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_repid&lt;/P&gt;&lt;P&gt;      dynumb                         = l_dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRANSLATE_TO_UPPER             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REQUEST                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PERFORM_CONVERSION_EXITS       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  PERFORM_INPUT_CONVERSION       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DETERMINE_LOOP_INDEX           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      dynpfields                     = l_dynfieldtab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_ABAPWORKAREA           = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_DYNPROFIELD            = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_DYNPRONAME             = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_DYNPRONUMMER           = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_REQUEST                = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_FIELDDESCRIPTION            = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  INVALID_PARAMETER              = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  UNDEFIND_ERROR                 = 8&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOUBLE_CONVERSION              = 9&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  STEPL_NOT_FOUND                = 10&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                         = 11&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message i711(qp).    "internal error: system. adm.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    read table l_dynfieldtab into l_dynfieldtab_wa index 1.&lt;/P&gt;&lt;P&gt;    v_plant  = l_dynfieldtab_wa-fieldvalue.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select matnr werks into table t_marc&lt;/P&gt;&lt;P&gt;         from marc&lt;/P&gt;&lt;P&gt;         where werks = v_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--local data declaration&lt;/P&gt;&lt;P&gt;  data: lv_retfield type  dfies-fieldname,     " Field Name&lt;/P&gt;&lt;P&gt;        lv_maxline type i,                     " Maximum no of records&lt;/P&gt;&lt;P&gt;        lt_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;  lv_retfield = 'MATERIAL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Calling the function module for F4 help.&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        = lv_retfield&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_marc[]&lt;/P&gt;&lt;P&gt;      return_tab      = lt_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;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    read table lt_return_tab  index 2.&lt;/P&gt;&lt;P&gt;    material = lt_return_tab-fieldval.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 15:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796749#M1123366</guid>
      <dc:creator>former_member203501</dc:creator>
      <dc:date>2008-11-25T15:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796750#M1123367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi venkat, this reads the data of the screen fields. but not the specific row of the table control....&lt;/P&gt;&lt;P&gt;if ur solution still solve my issue.. plz elobarate me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 15:45:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796750#M1123367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T15:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796751#M1123368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have ti rigger some even inorder to read the value entered for the plant.&lt;/P&gt;&lt;P&gt;Instead of doing it with F4 ,you can try it with some button on your screen .once you click on that button &lt;/P&gt;&lt;P&gt;you can fetch the list of materials for that plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Nov 2008 15:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796751#M1123368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-25T15:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796752#M1123369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.... does anybody suugest a solution for my issue.. stated above.. Thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 06:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796752#M1123369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T06:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796753#M1123370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In module pools , every thing works on user commands..and with out that I donot think &lt;/P&gt;&lt;P&gt;you can proceed..&lt;/P&gt;&lt;P&gt;I think user has to give an enter after selecting the value....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 07:13:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796753#M1123370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T07:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796754#M1123371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chaitanya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be achieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use dynp_values_read&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you will get all the screen field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the GET CURSOR key word to get the current cursor position and the corresponding PLANT value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this to the F4 Help of MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i earlier have implemented this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 07:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796754#M1123371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T07:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796755#M1123372</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; i had the similear requirement and i solved in the following way: &lt;/P&gt;&lt;P&gt; here i was suppose to display employee number for particular plant, where user enters plant number the look for employee number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process on value-request.&lt;/P&gt;&lt;P&gt; field v_pernr module pernr_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module pernr_f4 input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if t001w-werks is not initial.&lt;/P&gt;&lt;P&gt;  select pernr      werks       emp_name         desig&lt;/P&gt;&lt;P&gt;              from zps_emp&lt;/P&gt;&lt;P&gt;              into table it_emp&lt;/P&gt;&lt;P&gt;              where werks = t001w-werks.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      select pernr&lt;/P&gt;&lt;P&gt;         werks&lt;/P&gt;&lt;P&gt;         emp_name&lt;/P&gt;&lt;P&gt;         desig&lt;/P&gt;&lt;P&gt;              from zps_emp&lt;/P&gt;&lt;P&gt;              into table it_emp.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;sort it_emp by pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  program = sy-repid.&lt;/P&gt;&lt;P&gt;  dynnum  = sy-dynnr.&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        = 'PERNR'&lt;/P&gt;&lt;P&gt;      dynpprog        = program&lt;/P&gt;&lt;P&gt;      dynpnr          = dynnum&lt;/P&gt;&lt;P&gt;      dynprofield     = 'V_PERNR'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      value_tab       = it_emp[]&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;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " pernr_f4  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Naseeruddin on Nov 26, 2008 8:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 07:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796755#M1123372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T07:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796756#M1123373</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; i had the similear requirement and i solved in the following way: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process on value-request.&lt;/P&gt;&lt;P&gt; field v_pernr module pernr_f4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module pernr_f4 input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if t001w-werks is not initial.&lt;/P&gt;&lt;P&gt;  select pernr&lt;/P&gt;&lt;P&gt;           werks&lt;/P&gt;&lt;P&gt;           emp_name&lt;/P&gt;&lt;P&gt;           desig&lt;/P&gt;&lt;P&gt;              from zps_emp&lt;/P&gt;&lt;P&gt;              into table it_emp&lt;/P&gt;&lt;P&gt;              where werks = t001w-werks.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      select pernr&lt;/P&gt;&lt;P&gt;         werks&lt;/P&gt;&lt;P&gt;         emp_name&lt;/P&gt;&lt;P&gt;         desig&lt;/P&gt;&lt;P&gt;              from zps_emp&lt;/P&gt;&lt;P&gt;              into table it_emp.&lt;/P&gt;&lt;P&gt;        endif.&lt;/P&gt;&lt;P&gt;*endif.&lt;/P&gt;&lt;P&gt;sort it_emp by pernr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  program = sy-repid.&lt;/P&gt;&lt;P&gt;  dynnum  = sy-dynnr.&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        = 'PERNR'&lt;/P&gt;&lt;P&gt;      dynpprog        = program&lt;/P&gt;&lt;P&gt;      dynpnr          = dynnum&lt;/P&gt;&lt;P&gt;      dynprofield     = 'V_PERNR'&lt;/P&gt;&lt;P&gt;      value_org       = 'S'&lt;/P&gt;&lt;P&gt;    tables&lt;/P&gt;&lt;P&gt;      value_tab       = it_emp[]&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;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " pernr_f4  INPUT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 07:32:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796756#M1123373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796757#M1123374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ramchander.. using the FM DYNP_VALUES_READ, iam getting the values of the single screen field elements, but the values entered in the table control are not retreived by the above FM.. i ahve tried this also.. but if still if ur solution solves my issue.. plz check and confirm...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2008 07:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796757#M1123374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-26T07:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796758#M1123375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chaitanya,&lt;/P&gt;&lt;P&gt;Have you got find a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 15:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796758#M1123375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T15:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796759#M1123376</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 issue is not solved..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a table control, until user command or some action is performed, we cannot get the field value of any of the fields... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u get some solution.. please let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chaitanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 15:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796759#M1123376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T15:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796760#M1123377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chaitanya, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to read a specific row of a table control. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Add a single character field to the internal table say pick(1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to the layout of the screen and in the table control settings, and tick the check box, w/SelColumn   and give the value as itab-pick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Save the settings activate and then in the PAI, write a statement modify itab index tc_tab-current_line. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the selected row of your itab will alone have the field value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2009 16:01:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796760#M1123377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-15T16:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796761#M1123378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frisky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with ur suggestion, but cudn't find any progress..&lt;/P&gt;&lt;P&gt;Let me explain my situn to u...&lt;/P&gt;&lt;P&gt;In my table control ihave some fileds.. now i have Written ON PROCESS-VALUE-REQUEST's for F4 help  for some of the fields. now corresponding to the Plant and Material fields on the Table control : When i enter the Plant and press F4 on Material( without pressing any user-command like 'Enter'), then i should get the materils corresponding to the plant entered only... so i need the screen value of the Plant on the Table control.&lt;/P&gt;&lt;P&gt;Now as the Logic goes, the data in the table control is read once the PAI of the screen is triggered. so only when the Some Event of PAI is triggered only, i can get the value of Plant for retreiving the corresponding materials.  " BUT WHEN I ENTER THE PLANT &amp;amp; PRESS F4 ON MATERIAL , THEN THE &lt;/P&gt;&lt;P&gt;ON PROCESS-VALUE-REQUEST EVENT IS TRIGGERED ( So PAI is not triggered, so Plant value is not stored in the Internal table of the Table Control, so i cud not get value of the plant entered on the screen). SO IS THERE ANY WAY TO CAPTURE THE VALUES IN THE TAB CNTRL BEFORE PAI IS TRIGGERED. ( any FM's like 'DYNP_VALUES_READ' which can read the data in tab cntrl).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope u have understood my issue. plz advice me if u have some solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chaitanya. L&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2009 12:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796761#M1123378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-19T12:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796762#M1123379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When  using a table control the F4 help is added in "dictionary attributes" of this field, in the field corresponding to "search help ". You can build a help in SE11 transaction, and add the logic in the exit function of the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Feb 2009 16:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796762#M1123379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-07T16:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796763#M1123380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SO IS THERE ANY WAY TO CAPTURE THE VALUES IN THE TAB CNTRL BEFORE PAI IS TRIGGERED. ( any FM's like 'DYNP_VALUES_READ' which can read the data in tab cntrl).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Chaitanya,&lt;/P&gt;&lt;P&gt;   just before calling the FM 'DYNP_VALUES_READ' call the FM 'DYNP_GET_STEPL' which returns the current loop index(relative) and then pass the vaule of the current loop index returned by 'DYNP_GET_STEPL' to the FM 'DYNP_VALUES_READ'.&lt;/P&gt;&lt;P&gt;As an alternative, as suggested in one of the previous replies, you can also use the GET CURSOR statement to fetch the value of current loop index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA:
    it_dynpfields TYPE STANDARD TABLE OF dynpread,
    wa_dynpfields TYPE dynpread,
    w_stepl LIKE sy-stepl.

  CLEAR it_dynpfields.
  
  CALL FUNCTION 'DYNP_GET_STEPL'
    IMPORTING
      povstepl        = w_stepl
    EXCEPTIONS
      stepl_not_found = 1
      OTHERS          = 2.
      
  wa_dynpfields-stepl = w_stepl.
  wa_dynpfields-fieldname  = 'ITAB-COL1'.
  APPEND wa_dynpfields TO it_dynpfields.
  CLEAR wa_dynpfields.

  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname     = sy-repid
      dynumb     = sy-dynnr
    TABLES
      dynpfields = it_dynpfields.
  IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2009 04:07:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796763#M1123380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-08T04:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796764#M1123381</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;I had a requirement where on entering value in first column of table control automatically remaining columns got filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that I created a search help using SE11 containing all the three columns and attached it to the first column. Now when I entered a value in first column using search help, remaining cols got filled automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2009 04:51:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796764#M1123381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-08T04:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Table control data - F4 help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796765#M1123382</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;have u declared teh same data type in the program also.which FM ur using for F4..is it F4_INT_...then in the attributes ,the ret_tab will defenitley return the field value u selected.U do one more checkin in the module pool screen,whether  in the attribites(small popo for screen elemnet)the type is given as ur required type.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Feb 2009 06:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-data-f4-help/m-p/4796765#M1123382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-08T06:50:53Z</dc:date>
    </item>
  </channel>
</rss>

