<?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 IN MODULE POOL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267733#M492264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pbo event  AT SELECTION-SCREEN ON VALUE-REQUEST and give required FM for the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 May 2007 09:15:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-21T09:15:52Z</dc:date>
    <item>
      <title>F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267730#M492261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to give F4 for a field in the Module Pool.Can someone tell me how to do that??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267730#M492261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267731#M492262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;See this and do any one of as per your requirement&lt;/P&gt;&lt;P&gt;For F4 Values on Screen:&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE_REQUEST &lt;/P&gt;&lt;P&gt;using module call starting with FIELD i.e FIELD field MODULE module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are 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;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;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;&lt;/P&gt;&lt;P&gt;&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;&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....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;Other FM that may be used to provide input help is HELP_START .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:12:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267731#M492262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267732#M492263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link -&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2874646"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267732#M492263</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-21T09:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267733#M492264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi supriya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in pbo event  AT SELECTION-SCREEN ON VALUE-REQUEST and give required FM for the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267733#M492264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267734#M492265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Supriya , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Please go through the two demo programs and you will be clear with provoding F4 help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demo_dynpro_f4_help_dynpro&lt;/P&gt;&lt;P&gt;demo_dynpro_f4_help_dictionary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps ! Revert for further clarificvation if needed !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:15:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267734#M492265</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-05-21T09:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267735#M492266</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;There are two ways to show F4 help:&lt;/P&gt;&lt;P&gt;1. using itab 2. referring db field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wite this codes in POV module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;samels are as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4 help &amp;#150; using internal table example: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: BEGIN OF LI_FABGRP OCCURS 0,
FABGRP LIKE ZAPO_FABGRP-FABGRP,
BEGDA LIKE ZAPO_FABGRP-BEGDA,
END OF LI_FABGRP.

DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE,
L_RETFIELD TYPE DFIES-FIELDNAME.

parameters : S_FABGR like ZAPO_FABGRP-FABGRP.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.

SELECT FABGRP BEGDA FROM ZAPO_FABGRP INTO table LI_FABGRP.

SORT LI_FABGRP BY FABGRP ASCENDING BEGDA DESCENDING.

* Henter de mulige fabriksgrupper med nyeste BEGDA *indenfor hver
DELETE ADJACENT DUPLICATES FROM LI_FABGRP COMPARING FABGRP.

L_RETFIELD = 'FABGRP'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = L_RETFIELD
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'S_FABGR'
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
TABLES
VALUE_TAB = LI_FABGRP
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F4 help &amp;#150; using  field example: &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.

CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
  EXPORTING
    tabname                   = mara
    fieldname                 = matnr
*   SEARCHHELP                = ' '
*   SHLPPARAM                 = ' '
*   DYNPPROG                  = ' '
*   DYNPNR                    = ' '
*   DYNPROFIELD               = ' '
*   STEPL                     = 0
*   VALUE                     = ' '
*   MULTIPLE_CHOICE           = ' '
*   DISPLAY                   = ' '
*   SUPPRESS_RECORDLIST       = ' '
*   CALLBACK_PROGRAM          = ' '
*   CALLBACK_FORM             = ' '
*   SELECTION_SCREEN          = ' '
* IMPORTING
*   USER_RESET                =
* TABLES
*   RETURN_TAB                =
* EXCEPTIONS
*   FIELD_NOT_FOUND           = 1
*   NO_HELP_FOR_FIELD         = 2
*   INCONSISTENT_HELP         = 3
*   NO_VALUES_FOUND           = 4
*   OTHERS                    = 5
          .
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:16:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267735#M492266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267736#M492267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Check the standard programs demo_dynpro_f4_help_dynpro (For the F4 obtained with our program data), demo_dynpro_f4_help_dictionary (For refering to the data dictionary fields) and demo_dynpro_f4_help_module (For the data to be displayed which we filled in an internal table).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:17:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267736#M492267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:17:26Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267737#M492268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Data Declaration you need to declare an internal table of type DDSHRETVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. &lt;/P&gt;&lt;P&gt;DATA: intab like DDSHRETVAL occurs 0 with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For F4 on a field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt;FIELD &amp;lt;field-name&amp;gt; MODULE &amp;lt;module-name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, &amp;lt;field-name&amp;gt; is the name of the parameter you want to assign F4 help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;module-name&amp;gt; is a module where you need to write the following code:&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 = &amp;lt;value-table field whose value will be displayed in F4&amp;gt; &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 = &amp;lt;screen-field name&amp;gt;&lt;/P&gt;&lt;P&gt;    VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;    VALUE_TAB = &amp;lt;value-table&amp;gt;.&lt;/P&gt;&lt;P&gt;    RETURN_TAB = internal table of type DDSHRETVAL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267737#M492268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: F4 IN MODULE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267738#M492269</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 following code:&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_WERK-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH ITEMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR ITEMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT WERKS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM T001W&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INTO TABLE ITEMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE IWERK = 'M011'.&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;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DDIC_STRUCTURE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETFIELD = 'WERKS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PVALKEY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPPROG = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPNR = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPROFIELD = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;STEPL = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WINDOW_TITLE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VALUE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE_ORG = 'S'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MULTIPLE_CHOICE = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DISPLAY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_PROGRAM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CALLBACK_FORM = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VALUE_TAB = ITEMP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FIELD_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETURN_TAB = T_RETURN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;DYNPFLD_MAPPING =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PARAMETER_ERROR = 1&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;NO_VALUES_FOUND = 2&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OTHERS = 3&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&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;&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;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&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;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_WERK-LOW = T_RETURN-FIELDVAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 09:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/f4-in-module-pool/m-p/2267738#M492269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-21T09:39:48Z</dc:date>
    </item>
  </channel>
</rss>

