<?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 for fields in different tabs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106340#M1184729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to provide f4 for the fields in module pool screen not in the selection-screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2009 06:18:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-02T06:18:29Z</dc:date>
    <item>
      <title>F4 HELP for fields in different tabs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106337#M1184726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;       i have 3 tabs namely main,item,options.&lt;/P&gt;&lt;P&gt;In main tab,i have 3 fields like customer etc for them i have to create f4.&lt;/P&gt;&lt;P&gt;how to create f4??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 05:59:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106337#M1184726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T05:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP for fields in different tabs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106338#M1184727</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;Check the Demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_F1_HELP&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_F4_HELP_DICTIONARY&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_F4_HELP_DYNPRO&lt;/P&gt;&lt;P&gt;DEMO_DYNPRO_F4_HELP_MODULE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 06:03:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106338#M1184727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T06:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP for fields in different tabs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106339#M1184728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the FM F4IF_INT_TABLE_VALUE_REQUEST in the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR &amp;lt;sel parameter&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
     retfield               = 'KUNNR'
     dynpprog               = sy-repid
     dynpnr                 = sy-dynnr
     dynprofield            = S_KUNNR'
     value_org              = 'S'
    TABLES
      value_tab             = li_f4_kunnr
    EXCEPTIONS
      parameter_error       = 1
      no_values_found       = 2
      others                = 3.
  IF sy-subrc NE 0.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill li_f4_kunnr with the values for kunnr.&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;Pushpraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 06:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106339#M1184728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T06:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP for fields in different tabs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106340#M1184729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have to provide f4 for the fields in module pool screen not in the selection-screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 06:18:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106340#M1184729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T06:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP for fields in different tabs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106341#M1184730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose your field name is : &lt;STRONG&gt;wa_lic_scs-lic_typ&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After PAI you need to write a code like this. This will surely help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;This provides the F4 help for the field - License Type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  FIELD wa_lic_scs-lic_typ MODULE f4_help_scs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Module &lt;STRONG&gt;f4_help_scs&lt;/STRONG&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;      Module      : f4_help_scs  INPUT                               *&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;      Description : F4 Help for License Type                         *&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;MODULE f4_help_scs INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM f4_help.&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    = 'GEART'&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 = 'WA_LIC_SCS-LIC_TYP'&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_lic&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;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.                 " f4_help_scs  INPUT&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; Form Name      :  f4_help                                           *&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; Description    :  To provide F4 help                                *&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; Parameters     :  None                                              *&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;FORM f4_help .&lt;/P&gt;&lt;P&gt;  CLEAR wa_dynfields.&lt;/P&gt;&lt;P&gt;*-- FM to track current line index in the table control&lt;/P&gt;&lt;P&gt;*-- Begin of M-RD1K921052&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'DYNP_GET_STEPL'&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      povstepl = w_dynindex&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      stepl_not_found = 1&lt;/P&gt;&lt;P&gt;      OTHERS          = 2.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;*-- End of M-RD1K921052&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--To focus on the required row of the control table.&lt;/P&gt;&lt;P&gt;  wa_dynfields-stepl = w_dynindex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--With the help of flags assign the field names dynamically.&lt;/P&gt;&lt;P&gt;  IF w_flag_ct = c_flag_x.&lt;/P&gt;&lt;P&gt;    wa_dynfields-fieldname = c_wa_lic_ct.&lt;/P&gt;&lt;P&gt;  ELSEIF w_flag_scs = c_flag_x.&lt;/P&gt;&lt;P&gt;    wa_dynfields-fieldname = c_wa_lic_scs.&lt;/P&gt;&lt;P&gt;  ELSEIF w_flag_scsct = c_flag_x.&lt;/P&gt;&lt;P&gt;    wa_dynfields-fieldname = c_wa_lic_scsct.&lt;/P&gt;&lt;P&gt;  ELSEIF w_flag_cust = c_flag_x.&lt;/P&gt;&lt;P&gt;    wa_dynfields-fieldname = c_wa_lic_cust.&lt;/P&gt;&lt;P&gt;  ELSEIF w_flag_scsc = c_flag_x.&lt;/P&gt;&lt;P&gt;    wa_dynfields-fieldname = c_wa_lic_scsc.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    wa_dynfields-fieldname = c_wa_std_table.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Populate the below table for fieldname and row number.&lt;/P&gt;&lt;P&gt;  APPEND wa_dynfields TO t_dynfields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--This function module Read field contents on screen.&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               = sy-repid&lt;/P&gt;&lt;P&gt;      dynumb               = sy-dynnr&lt;/P&gt;&lt;P&gt;      translate_to_upper   = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      dynpfields           = t_dynfields&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      invalid_abapworkarea = 1&lt;/P&gt;&lt;P&gt;      invalid_dynprofield  = 2&lt;/P&gt;&lt;P&gt;      invalid_dynproname   = 3&lt;/P&gt;&lt;P&gt;      invalid_dynpronummer = 4&lt;/P&gt;&lt;P&gt;      invalid_request      = 5&lt;/P&gt;&lt;P&gt;      no_fielddescription  = 6&lt;/P&gt;&lt;P&gt;      invalid_parameter    = 7&lt;/P&gt;&lt;P&gt;      undefind_error       = 8&lt;/P&gt;&lt;P&gt;      double_conversion    = 9&lt;/P&gt;&lt;P&gt;      stepl_not_found      = 10&lt;/P&gt;&lt;P&gt;      OTHERS               = 11.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--Read the row to check if anything entered in the field&lt;/P&gt;&lt;P&gt;*--Before giving F4 help.&lt;/P&gt;&lt;P&gt;  CLEAR wa_dynfields.&lt;/P&gt;&lt;P&gt;  READ TABLE t_dynfields INTO wa_dynfields&lt;/P&gt;&lt;P&gt;                      WITH KEY stepl = w_dynindex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc EQ 0 AND NOT wa_dynfields-fieldvalue IS INITIAL.&lt;/P&gt;&lt;P&gt;*--Fetch the data for entered values.&lt;/P&gt;&lt;P&gt;    SELECT geart FROM t606 INTO TABLE t_lic&lt;/P&gt;&lt;P&gt;                WHERE gegru = wa_dynfields-fieldvalue.&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;      SORT t_lic BY geart.&lt;/P&gt;&lt;P&gt;      DELETE ADJACENT DUPLICATES FROM t_lic.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;*--Nothing is entered on the screen, fetch all the data from DB.&lt;/P&gt;&lt;P&gt;    SELECT geart FROM t606 INTO TABLE t_lic.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE s999(zz) DISPLAY LIKE 'W' WITH text-t22.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                                                    " f4_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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 06:33:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106341#M1184730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: F4 HELP for fields in different tabs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106342#M1184731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out these different ways...for creating Input Helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Input help can be programmed in selection screen using event&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR  FIELD and for module pools in event&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE_REQUEST   using module call starting with FIELD&lt;/P&gt;&lt;P&gt;i.e FIELD field MODULE module&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; There ar number of function modules that can be used for the purpose, but these&lt;/P&gt;&lt;P&gt;can fullfill the task easily or combination of them.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DYNP_VALUE_READ&lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;POPUP_WITH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DYNP_VALUE_READ&lt;/P&gt;&lt;P&gt; This function module is used to read values in the screen fields. Use of this&lt;/P&gt;&lt;P&gt;FM causes forced transfer of data from screen fields to ABAP fields.&lt;/P&gt;&lt;P&gt;   There are 3 exporting parameters&lt;/P&gt;&lt;P&gt;    DYNAME = program name   = SY-CPROG&lt;/P&gt;&lt;P&gt;    DYNUMB = Screen number  = SY-DYNNR&lt;/P&gt;&lt;P&gt;    TRANSLATE_TO_UPPER    = 'X'&lt;/P&gt;&lt;P&gt; and one importing TABLE parameter  &lt;/P&gt;&lt;P&gt;   DYNPFIELDS = Table of TYPE DYNPREAD&lt;/P&gt;&lt;P&gt; The DYNPFIELDS parameter is used to pass internal table of type DYNPREAD&lt;/P&gt;&lt;P&gt;to this FM and the values read from the screen will be stored in this table.This&lt;/P&gt;&lt;P&gt;table consists of two fields:&lt;/P&gt;&lt;P&gt;FIELDNAME   : Used to pass the name of screen field for which the value is to&lt;/P&gt;&lt;P&gt;                        be read.&lt;/P&gt;&lt;P&gt;FIELDVALUE  : Used to read the value of the field in the screen.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;DATA: SCREEN_VALUES TYPE TABLE OF DYNPREAD ,&lt;/P&gt;&lt;P&gt;           SCREEN_VALUE   LIKE  LINE OF SCREEN_VALUES.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SCREEN_VALUE-FIELDNAME = 'KUNNR' .             * Field to be read&lt;/P&gt;&lt;P&gt;APPEND SCREEN_VALUE TO SCREEN_VALUES. * Fill the table&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                   = SY-CPROG&lt;/P&gt;&lt;P&gt;            DYNUMB                   = SY-DYNNR&lt;/P&gt;&lt;P&gt;            TRANSLATE_TO_UPPER       = 'X'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DYNPFIELDS               = SCREEN_VALUES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  READ TABLE SCREEN_VALUES INDEX 1 INTO SCREEN_VALUE.Now the screen value for field KUNNR is in the SCREEN_VALUE-FIELDVALUE and can be used for further processing like using it to fill the internal table to be used as parameter in F4IF_INT_TABLE_VALUE_REQUEST ETC.&lt;/P&gt;&lt;P&gt;F4IF_FIELD_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;  This FM is used to display value help or input from ABAP dictionary.We have to pass the name of the structure or table(TABNAME) along with the field name(FIELDNAME) . The selection can be returned to the specified screen field if three&lt;/P&gt;&lt;P&gt;parameters DYNPNR,DYNPPROG,DYNPROFIELD are also specified or to a table if RETRN_TAB is specified.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            TABNAME           = table/structure&lt;/P&gt;&lt;P&gt;            FIELDNAME         = 'field name'&lt;/P&gt;&lt;P&gt;            DYNPPROG         =  SY-CPROG&lt;/P&gt;&lt;P&gt;            DYNPNR              =  SY-DYNR&lt;/P&gt;&lt;P&gt;            DYNPROFIELD     = 'screen field'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            RETURN_TAB      = table of type DYNPREAD&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;F4IF_INT_TABLE_VALUE_REQUEST&lt;/P&gt;&lt;P&gt;       This FM is used to dsiplay values stored in an internal table as input&lt;/P&gt;&lt;P&gt;help.This FM is used to program our own custom help if no such input help&lt;/P&gt;&lt;P&gt;exists in ABAP dictionary for a particular field. The parameter VALUE_TAB is used to pass the internal table containing input values.The parameter RETFIELD&lt;/P&gt;&lt;P&gt;is used to specify the internal table field whose value will be returned to the screen field or RETURN_TAB. &lt;/P&gt;&lt;P&gt;       If DYNPNR,DYNPPROG and DYNPROFIELD are specified than the user selection is passed to the screen field specified in the DYNPROFIELD. If RETURN_TAB is specified the selectionis returned in a table.&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 from int table whose value will be returned &lt;/P&gt;&lt;P&gt;            DYNPPROG        = SY-CPROG&lt;/P&gt;&lt;P&gt;            DYNPNR             = SY-DYNNR&lt;/P&gt;&lt;P&gt;            DYNPROFIELD    = 'screen field'&lt;/P&gt;&lt;P&gt;            VALUE_ORG       = 'S'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            VALUE_TAB        = internal table whose values will be shown.&lt;/P&gt;&lt;P&gt;            RETURN_TAB      = internal table of type DDSHRETVAL &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; &lt;/P&gt;&lt;P&gt;POPUP_WITH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt; This FM is used to display the contents of an internal table in a popup window.The user can select a row and the index of that is returned in the CHOISE&lt;/P&gt;&lt;P&gt;parameter.The VALUETAB is used to pass the internal table.&lt;/P&gt;&lt;P&gt; A suitable title can be set using TITLETEXT parameter. The starting and end position of the popup can be specified by the parameters STARTPOS_COL / ROW and ENDPOS_ROW / COL .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;             ENDPOS_COL   = &lt;/P&gt;&lt;P&gt;             ENDPOS_ROW   = &lt;/P&gt;&lt;P&gt;             STARTPOS_COL = &lt;/P&gt;&lt;P&gt;             STARTPOS_ROW = &lt;/P&gt;&lt;P&gt;             TITLETEXT        = 'title text'&lt;/P&gt;&lt;P&gt;        IMPORTING&lt;/P&gt;&lt;P&gt;             CHOISE           = &lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;             VALUETAB      = &lt;/P&gt;&lt;P&gt;        EXCEPTIONS&lt;/P&gt;&lt;P&gt;             BREAK_OFF    = 1&lt;/P&gt;&lt;P&gt;             OTHERS          = 2.&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;DATA: w_choice TYPE SY-TABIX.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF i_values OCCURS 0 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;          values TYPE I,&lt;/P&gt;&lt;P&gt;           END OF i_values.&lt;/P&gt;&lt;P&gt;PARAMETRS : id TYPE I. &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR id&lt;/P&gt;&lt;P&gt;i_values-values = '0001'.&lt;/P&gt;&lt;P&gt;APPEND i_values.&lt;/P&gt;&lt;P&gt;i_values-values = '0002'.&lt;/P&gt;&lt;P&gt;APPEND i_values.&lt;/P&gt;&lt;P&gt;i_values-values = '0003'.&lt;/P&gt;&lt;P&gt;APPEND i_values.&lt;/P&gt;&lt;P&gt;i_values-values = '0004'.&lt;/P&gt;&lt;P&gt;APPEND i_values.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;CALL FUNCTION 'POPUP_WITH_TABLE_DISPLAY'               &lt;/P&gt;&lt;P&gt;     EXPORTING                                         &lt;/P&gt;&lt;P&gt;          ENDPOS_COL   = 40                             &lt;/P&gt;&lt;P&gt;          ENDPOS_ROW   = 12                              &lt;/P&gt;&lt;P&gt;          STARTPOS_COL = 20                              &lt;/P&gt;&lt;P&gt;          STARTPOS_ROW = 5                             &lt;/P&gt;&lt;P&gt;          TITLETEXT    = 'Select an ID'         &lt;/P&gt;&lt;P&gt;    IMPORTING                                           &lt;/P&gt;&lt;P&gt;         CHOISE       = w_choice                          &lt;/P&gt;&lt;P&gt;     TABLES                                             &lt;/P&gt;&lt;P&gt;          VALUETAB     =  i_values                          &lt;/P&gt;&lt;P&gt;     EXCEPTIONS                                         &lt;/P&gt;&lt;P&gt;          BREAK_OFF    = 1                             &lt;/P&gt;&lt;P&gt;          OTHERS       = 2.&lt;/P&gt;&lt;P&gt;CHECK w_choice &amp;gt; 0.&lt;/P&gt;&lt;P&gt;READ TABLE i_values INDEX w_choice.&lt;/P&gt;&lt;P&gt;...now we can process the selection as it is contained&lt;/P&gt;&lt;P&gt;...in the structure i_values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is Helpful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 07:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-help-for-fields-in-different-tabs/m-p/5106342#M1184731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T07:52:19Z</dc:date>
    </item>
  </channel>
</rss>

