<?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: Reg Module pool screen field f4 functionality in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801630#M344090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where ur program is fetching data for the original table?&lt;/P&gt;&lt;P&gt;there only u can fetch this data..&lt;/P&gt;&lt;P&gt;otherwise u need to write code in PBO or PAI as per ur requiremtn.&lt;/P&gt;&lt;P&gt;u can use any of events it depends only on ur need where actually u need tht data..&lt;/P&gt;&lt;P&gt;dont forget to reward points to helpfull answers.&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Jan 2007 08:49:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-04T08:49:59Z</dc:date>
    <item>
      <title>Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801624#M344084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;How to give F4 functionality to field that we have added to a screen? My requirement is like I have added new field to the screen 8459 program sapmv45a(sales order transactions program) for this new field which I have added is the custom field how I will give f4 functionality? and also to validate the field value that has been entered for this. In which event we have to write the code PBO or PAI?&lt;/P&gt;&lt;P&gt;and what code we have to write,I am new to module pool program it will be gr8 if some body give piece of code.&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 05:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801624#M344084</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T05:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801625#M344085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You hace to write code for f4 functionality in PAI of scree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process on value request for field field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module f4_field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashutosh&lt;/P&gt;&lt;P&gt;Reward points if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        ashutosh ambekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 05:26:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801625#M344085</guid>
      <dc:creator>former_member508729</dc:creator>
      <dc:date>2007-01-04T05:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801626#M344086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) to validate a screen field u have to write code in PAi as follows - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT.&lt;/P&gt;&lt;P&gt;  field itab-pernr MODULE CHECK_PERNR.     "itab-pernr is screen field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module CHECK_PERNR input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( ( ITAB-PERNR EQ SPACE ) and ( itab-pernr co '0123456789' ) ).&lt;/P&gt;&lt;P&gt;MESSAGE E000(000) WITH 'MANDATORY FIELD'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endmodule.   &lt;/P&gt;&lt;P&gt;2) to add F4 help on a screen field ,u have to use event "value-request" as follows - &lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;   FIELD ITAB-PERNR MODULE F4_HELP.&lt;/P&gt;&lt;P&gt;module F4_HELP input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of lt_all occurs 0.&lt;/P&gt;&lt;P&gt;        include structure DYNPREAD.&lt;/P&gt;&lt;P&gt;data  end of lt_all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of lt_selected occurs 0.&lt;/P&gt;&lt;P&gt;       include structure DDSHRETVAL.&lt;/P&gt;&lt;P&gt;data: end of lt_selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF lt_code OCCURS 0,&lt;/P&gt;&lt;P&gt;            code LIKE zgill_main-PERNR,&lt;/P&gt;&lt;P&gt;      END OF lt_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data no_dyn like sy-dynnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no_dyn =  sy-dynnr.   "give the scren no directly or sy-dynnr in case of report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*At selection-screen on value-request for ECODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select PERNR into table lt_code from zgill_main.&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               = 'ITAB-PERNR'&lt;/P&gt;&lt;P&gt;        dynpprog               = sy-repid&lt;/P&gt;&lt;P&gt;       dynpnr                  = no_dyn&lt;/P&gt;&lt;P&gt;      dynprofield              =       'ITAB-PERNR'&lt;/P&gt;&lt;P&gt;      window_title           = 'Employee Details'&lt;/P&gt;&lt;P&gt;       value_org              = 'S'&lt;/P&gt;&lt;P&gt;      DISPLAY                = 'F'&lt;/P&gt;&lt;P&gt;   TABLES&lt;/P&gt;&lt;P&gt;        value_tab             = lt_code&lt;/P&gt;&lt;P&gt;       RETURN_TAB             = lt_selected.&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;  PARAMETER_ERROR        = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_VALUES_FOUND        = 2&lt;/P&gt;&lt;/LI&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;*if sy-subrc eq '0' .&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  write: 'success'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*endif.&lt;/P&gt;&lt;P&gt;read   table lt_selected index sy-tabix.&lt;/P&gt;&lt;P&gt;move lt_selected-fieldval to ITAB-PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endmodule.                 " F4_HELP  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if helpfull&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 05:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801626#M344086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T05:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801627#M344087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to use PROCESS ON VALUE-REQUEST&lt;/P&gt;&lt;P&gt; here you have to use Module name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 04 Jan 2007 05:28:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801627#M344087</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T05:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801628#M344088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mahesh,&lt;/P&gt;&lt;P&gt;        There is an event called &amp;lt;b&amp;gt;Process on Value Request&amp;lt;/b&amp;gt;, which satisfied ur f4 functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U should code:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Process on value request.&lt;/P&gt;&lt;P&gt;field table-fieldname module val.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;double click on val.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can write the code as per ur requirement in module pool pgm.&lt;/P&gt;&lt;P&gt;u can use function modules -&amp;lt;b&amp;gt; 'popup_with_table_display' or  'f4if_int_table &lt;U&gt;value&lt;/U&gt;request'.&amp;lt;/b&amp;gt; u have to pass the fieldname that needs that f4 functionality in the fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 06:07:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801628#M344088</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T06:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801629#M344089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Thanks a lot for your reposne can you also please clarify how I have to populate the data into this field? I have addedn the new custom field market segment(zzsegnam) and this field I also added into the table VBAP using append structure&lt;/P&gt;&lt;P&gt;Now how I will assign the value to this screen field whehther we have to do this in PBO or PAI? I want to fetch data for this from other custom table and I have to populate this? How to achieve  this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 08:46:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801629#M344089</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T08:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801630#M344090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;where ur program is fetching data for the original table?&lt;/P&gt;&lt;P&gt;there only u can fetch this data..&lt;/P&gt;&lt;P&gt;otherwise u need to write code in PBO or PAI as per ur requiremtn.&lt;/P&gt;&lt;P&gt;u can use any of events it depends only on ur need where actually u need tht data..&lt;/P&gt;&lt;P&gt;dont forget to reward points to helpfull answers.&lt;/P&gt;&lt;P&gt;amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 08:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801630#M344090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T08:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801631#M344091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry icannot get your actual requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to populate your field after giving input to vbeln or other fields and when you press enter then write the code in pai .&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, 04 Jan 2007 08:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801631#M344091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801632#M344092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;  FIELD NAME1 MODULE F4HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NAME1 is screen field for which f4 is to be done.&lt;/P&gt;&lt;P&gt;declare internal table of type DDSHRETVAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:TP_DIRTY LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE F4HELP INPUT.&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               = 'NAME'&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            = 'NAME1'&lt;/P&gt;&lt;P&gt;    VALUE_ORG              = 'S'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      VALUE_TAB              = ITAB&lt;/P&gt;&lt;P&gt;     RETURN_TAB             = TP_DIRTY.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;ENDMODULE.                 " F4HELP  INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note : NAME is the field of table itab, the value of which is used as a dropdown when f4 is clicked on screen field NAME1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 09:05:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801632#M344092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T09:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801633#M344093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My doubt is how to assign the data to field which we have added to the screen by default.when we go this screen in va01 it should have data placed in that by default&lt;/P&gt;&lt;P&gt;for this in the module of PBO how I have to reference to the screen field is it like&lt;/P&gt;&lt;P&gt;scree-field = &amp;lt;value&amp;gt;?&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 09:08:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801633#M344093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T09:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801634#M344094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just fetch data at PBO event as per ur requiremnt - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS BEFORE OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MODULE CHECK_RECORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;module CHECK_RECORD output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM ZGILL_MAIN&lt;/P&gt;&lt;P&gt;                WHERE PERNR = ITAB-PERNR.&lt;/P&gt;&lt;P&gt;ITAB-PERNR = ZGILL_MAIN-PERNR.        "itab-pernr is my field name on screen&lt;/P&gt;&lt;P&gt;ITAB-NAME = ZGILL_MAIN-NAME.&lt;/P&gt;&lt;P&gt;ITAB-DOB = ZGILL_MAIN-DOB.&lt;/P&gt;&lt;P&gt;ITAB-ORG = ZGILL_MAIN-ORG.&lt;/P&gt;&lt;P&gt;endmodule.                 " CHECK_RECORD  OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can check ur screen field names and fetch data in them..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 09:36:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801634#M344094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T09:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801635#M344095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose u have added ZFIELD to the standard program screen. If u want to display values from any standard SAP table then assign search help to ZFIELD using SE11 transaction . If u want to display values which are not from standard table then define one internal table e.g. ITAB populate this internal table and use following function module in PROCESS ON VALUE-REQUEST event.&lt;/P&gt;&lt;P&gt;&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        = l_retfield     "returning field&lt;/P&gt;&lt;P&gt;      dynpprog        = l_program      "Program name&lt;/P&gt;&lt;P&gt;      dynpnr          = l_sydynnr      "Screen number&lt;/P&gt;&lt;P&gt;      dynprofield     = l_dynprofield  "Screen field&lt;/P&gt;&lt;P&gt;      value_org       = c_s            "Sturctured&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      value_tab       = i_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 &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;As far as validation is concerned if the value is standard SAP table value , validate using select command and if it is not  standard SAP table value validate using READ command on ITAB table populated above....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 10:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801635#M344095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T10:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Module pool screen field f4 functionality</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801636#M344096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; process before output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;module &lt;/SPAN&gt;status_1002.&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS &lt;SPAN class="L0S52"&gt;ON &lt;/SPAN&gt;VALUE-REQUEST.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FIELD &lt;/SPAN&gt;ZBUD-KUNNR&amp;nbsp; &lt;SPAN class="L0S52"&gt;MODULE &lt;/SPAN&gt;f4_help.&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;module &lt;/SPAN&gt;f4_help input.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;module &lt;/SPAN&gt;user_command_1002.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as reference from your code i did my program : but i have get error like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Program SAPMZBUDGET_INFO,Screen 1002&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Module specification possible only with FIELD.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;plz help me : &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:akshath.lt@gmail.com"&gt;akshath.lt@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 07:09:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-module-pool-screen-field-f4-functionality/m-p/1801636#M344096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-26T07:09:23Z</dc:date>
    </item>
  </channel>
</rss>

