Application Development and Automation 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: 
Read only

events

Former Member
0 Likes
601

hi experts,

please explain me

1) PBO.

2) PAI.

3) POH.

4) POV.

please clear me with ur own simple example which includes these four events.

regards,

send2me.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
579

Hi,

Just Press F1 on PBO, PAI, POH, POV.

And you will come to know about more information on these events.

Thanks.

Hari krishna

Hi,

Just Press F1 on PBO, PAI, POH, POV.

And you will come to know about more information on these events.

Thanks.

Hari krishna

4 REPLIES 4
Read only

Former Member
0 Likes
579

Hello,

Check this two sample report.

<b>demo_dynpro_f4_help_module .

demo_dynpro_f1_help .</b>

Vasanth

Read only

Former Member
0 Likes
579

Hi,

the events are...

Process Before Output(PBO)

Processing before the screen is displayed (PBO).

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

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.

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.

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.

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

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.

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.

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.

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

http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.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://www.sapdevelopment.co.uk/dialog/dialoghome.htm

http://help.sap.com

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

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

http://www.allsaplinks.com/dialog_programming.html

http://www.sapbrain.com/TUTORIALS/default.html

http://www.sappoint.com/abap/spmp.pdf

Regards,

Priyanka.

Read only

Former Member
0 Likes
580

Hi,

Just Press F1 on PBO, PAI, POH, POV.

And you will come to know about more information on these events.

Thanks.

Hari krishna