Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

what are the events in Module Pool Programming ?

Former Member
0 Kudos

hi,

what are the events in Module Pool Programming ???

thx

1 ACCEPTED SOLUTION

rahulkavuri
Active Contributor
0 Kudos

PBO event

This event is triggered before the screen is displayed. The processing of screen before the display of screen is done in this event. For example, filling in default values in the screen fields.

PAI event

This event is responsible for processing of screen after the user enters the data and clicks the pushbutton. The processing of screen can include displaying another screen, or just displaying list or quitting the transaction itself and many more things. Usually it is displaying another screen. These operations can be carried out in the PAI event. OKCODE plays an important role in this operation.

POV event

Process on value request is triggered when the user clicks F4 key. You can handle this event when the user presses F4 key by writing code for the same in module pool program. Normally when the user presses F4, list of possible values is displayed. The standard list produced by system is adequate for applications you develop yourself. However, you can also have the option of setting up your own documentation and lists of possible values that are more detailed.

POH event

Normally when the user places the cursor on the field and presses F1 function key, the system displays its own Help for that particular field. You can add your own functionality to the Help button by writing code for the same in the POH event.

8 REPLIES 8

Former Member
0 Kudos

hi kundan,

the events are...

Process Before Output(PBO)

Processing before the screen is displayed (PBO).

Examples

Initializing screen fields, inserting default values, positioning the cursor, showing and hiding fields and changing field attributes dynamically.

Process After Input(PAI)

Effect

Processing after user input.

Examples

Checking values where there is no automatic check, processing the cursor position, processing correct entries or triggering an error dialog.

Process on Value-request(POV)

Effect

Event in user-programmed help that occurs when the user presses F4 with the cursor positioned on a screen field. The modules specified in the subsequent FIELD statements are called instead of the SAP help system.

Example

FIELD XY MODULE XYZ

Module XYZ determines the value of field XY and places it in the input field on the screen.

Process on Help-Request(POH)

Effect

POH event for user-programmed help. Modules in this event are processed when the user presses F1 with the cursor positioned on a screen field. In the subsequent FIELD statements, you can specify a data element supplement (or determine one in an application module). The texts are then displayed by the help system.

Examples

FIELD XY WITH '0001'.

Displays data element addition 0001 for field XY.

FIELD XY WITH variable.

Displays the data element supplement with the number contained in variable for the field XY.

FIELD XY MODULE XYZ WITH variable .

The relevant data element supplement is determined in module XYZ, where it is placed in variable. Use this procedure whenever you cannot determine the correct data element supplement until the F1 event.

hope this helps,

do reward points if helpful.

priya.

Former Member
0 Kudos

Process Before Output (PBO)

Process After Input (PAI)

Process on Help Request (POH)

Process on Value Request (POV)

Regards,

Ravi

Note :Please mark the helpful answers

rahulkavuri
Active Contributor
0 Kudos

PBO event

This event is triggered before the screen is displayed. The processing of screen before the display of screen is done in this event. For example, filling in default values in the screen fields.

PAI event

This event is responsible for processing of screen after the user enters the data and clicks the pushbutton. The processing of screen can include displaying another screen, or just displaying list or quitting the transaction itself and many more things. Usually it is displaying another screen. These operations can be carried out in the PAI event. OKCODE plays an important role in this operation.

POV event

Process on value request is triggered when the user clicks F4 key. You can handle this event when the user presses F4 key by writing code for the same in module pool program. Normally when the user presses F4, list of possible values is displayed. The standard list produced by system is adequate for applications you develop yourself. However, you can also have the option of setting up your own documentation and lists of possible values that are more detailed.

POH event

Normally when the user places the cursor on the field and presses F1 function key, the system displays its own Help for that particular field. You can add your own functionality to the Help button by writing code for the same in the POH event.

rahulkavuri
Active Contributor
0 Kudos

Please award pts if found helpful

Former Member
0 Kudos

Hi,

Refer this Links.

<b>DIALOG Programming / Module Pool Programming</b>

http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm

http://www.sapdevelopment.co.uk/dialog/dialoghome.htm

http://www.sap-img.com/

http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm

http://www.sapgenie.com/links/abap.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm

http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm

Download PDF for

Dialog Programming - Screen Painter & Menu Painter

Dialog Programming - Table Control

http://www.sappoint.com/abap.html

<b>Events</b>

1) PBO :- Process Before output

2) PAI :- Process after Input

3) POV :- Process on value request ( F4)

4) POH :- process on Help ( F1)

Mark Helpful Answers

Regards

Message was edited by: Manoj Gupta

Message was edited by: Manoj Gupta

Former Member
0 Kudos

<b></b>

This is Kasturi,

The Events are.

1. PBO ( Process Before Output)

2. PAI ( Prcoess After Input)

3. POV ( Process On Value request )-------> F4 Functionality

4.POH ( Process On Help request )----


> F1 Functionality

0 Kudos

Hi,

In Module Pool programming we have Four types of events available,

there are:

1. Process Before Output (PBO)

2. Process After Input (PAI)

3. Process on Help Request (POH)

4. Process on Value Request (POV)

default events available in Module pool programming, there are:

a. Process Before Output (PBO)

b. Process After Input (PAI)