<?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: module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626911#M873815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Srinivas Reddy,
Modulpool programs can have 4 events in the flow logic.
1. PROCESS BEFORE OUTPUT. (It is also called PBO).
This event is triggered before screen is displaye.
2. PROCESS AFTER INPUT. (It is also called PAI).
This event is triggered based on user action on screen.
3. PROCESS ON HELP-REQUEST.(It is also called POH).
It is triggered when u press F1 on screen for screen element .Calling Help Texts from Dialog Modules.
Use below FM to get Help text
  &lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
       EXPORTING
            DOKLANGU                      = SY-LANGU
            DOKTITLE                      = TEXT-002
            CALLED_FOR_TAB                = 'DEMOF1HELP'
            CALLED_FOR_FIELD              = 'FIELD1'.&lt;/CODE&gt;&lt;/PRE&gt;

4. PROCESS ON VALUE-REQUEST.(It is also called POV).
It is triggered when we press F4 on screen for the screen element.
Use below FM to get f4 help for the field.
  &lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
       EXPORTING
            TABNAME           = 'DEMOF4HELP'
            FIELDNAME         = 'CARRIER1'
            DYNPPROG          =  PROGNAME
            DYNPNR            =  DYNNUM
            DYNPROFIELD       = 'CARRIER'.&lt;/CODE&gt;&lt;/PRE&gt;
Regards,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Apr 2008 12:31:00 GMT</pubDate>
    <dc:creator>venkat_o</dc:creator>
    <dc:date>2008-04-07T12:31:00Z</dc:date>
    <item>
      <title>module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626908#M873812</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;What are the events in modules pool.what is their use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 12:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626908#M873812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T12:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626909#M873813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROCESS BEFORE OUTPUT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The event PROCESS BEFORE OUTPUT (PBO) is triggered by the runtime environment before the screen of a dynpro is sent to the presentation layer. After processing the related event block, the contents of the global fields of the ABAP program are transported into screen fields of the same name and then the screen is displayed in the window. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS AFTER INPUT (PAI)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The event PROCESS AFTER INPUT (PAI) is triggered by a user action on the user interface, which is associated with a function code. At the PAI event or during the processing of the relevant event block, the contents of the screen fields are transported to the data objects with the same names in the corresponding ABAP program. Before executing the relevant event block, automatic input checks are executed, which are defined either in the system or in the ABAP Dictionary. While the event block and the PBO event block of the next dynpro are processed, the screen of the current dynpro remains in the display, but the user interface is inactive. After the PAI processing is finished, the event PBO of the next dynpro is triggered or, if the current dynpro is the last one in its dynpro sequence, the execution returns to the position from which the dynpro sequence was called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The processing of the event blocks for PAI of the current and PBO of the next screen together form a dialog step. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON HELP-REQUEST. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROCESS ON VALUE-REQUEST. &lt;/P&gt;&lt;P&gt;The events PROCESS ON HELP-REQUEST (POH) and PROCESS ON VALUE-REQUEST (POV) are triggered by the request for the field help (F1) or the input help (F4) for a screen element of the screen. In the relevant event block, the MODULE statement is executed, which is assiciated with the FIELD statement for the screen field of the selected screen element. If several FIELD statements exist for the same screen field, only the first is executed. The content of the field specified under FIELD is not automatically passed to the called module in the event block at POH or POV. After POH or POV processing is finished, the system returns to processing the screen displayed on the presentation server, without triggering the PBO event. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;The specification of the event blocks at POH and POV overrule the field and input helps defined in the system or in the ABAP Dictionary. They must be specified only if the predefined helps are not sufficient.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 12:13:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626909#M873813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626910#M873814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi there....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general there are 4 events in module pool programs.Namely&lt;/P&gt;&lt;P&gt;1)PROCESS BEFORE OUTPUT(PBO)&lt;/P&gt;&lt;P&gt;2)PROCESS AFTER INPUT(PAI)&lt;/P&gt;&lt;P&gt;3)PROCESS ON VALUE REQUEST(POV)&lt;/P&gt;&lt;P&gt;4)PROCESS ON HELP REQUEST(POH).&lt;/P&gt;&lt;P&gt; rest the explainination is given above. i think it should be sufficient for you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;still any queries, do get back.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Apr 7, 2008 4:35 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 12:17:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626910#M873814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-07T12:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626911#M873815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;
Srinivas Reddy,
Modulpool programs can have 4 events in the flow logic.
1. PROCESS BEFORE OUTPUT. (It is also called PBO).
This event is triggered before screen is displaye.
2. PROCESS AFTER INPUT. (It is also called PAI).
This event is triggered based on user action on screen.
3. PROCESS ON HELP-REQUEST.(It is also called POH).
It is triggered when u press F1 on screen for screen element .Calling Help Texts from Dialog Modules.
Use below FM to get Help text
  &lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
       EXPORTING
            DOKLANGU                      = SY-LANGU
            DOKTITLE                      = TEXT-002
            CALLED_FOR_TAB                = 'DEMOF1HELP'
            CALLED_FOR_FIELD              = 'FIELD1'.&lt;/CODE&gt;&lt;/PRE&gt;

4. PROCESS ON VALUE-REQUEST.(It is also called POV).
It is triggered when we press F4 on screen for the screen element.
Use below FM to get f4 help for the field.
  &lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
       EXPORTING
            TABNAME           = 'DEMOF4HELP'
            FIELDNAME         = 'CARRIER1'
            DYNPPROG          =  PROGNAME
            DYNPNR            =  DYNNUM
            DYNPROFIELD       = 'CARRIER'.&lt;/CODE&gt;&lt;/PRE&gt;
Regards,
Venkat.O
&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2008 12:31:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/module-pool/m-p/3626911#M873815</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2008-04-07T12:31:00Z</dc:date>
    </item>
  </channel>
</rss>

