‎2007 Jun 12 1:50 PM
Hi friends, can any one give me the events of dialog program(events used for dialog program).
‎2007 Jun 12 1:56 PM
Hi Arun,
There are 4 events for Dialog Programing.
1. Process Before Output (PBO)
2. Process After Input (PAI)
3. Process on Value Request (POV)
4. Process on Help Request (POH)
First two events are defined internally by the SAP. 3rd & 4th Events needs to be provided explicitly.
Reward points for helpful answers.
Ashven
‎2007 Jun 12 8:36 PM
Hi Arun,
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,
Rgds,
Naren
‎2007 Jun 12 8:39 PM
‎2007 Jun 14 8:26 AM
Hi Arun,
Dialog Program Events are four as follows:
PBO [Process Before Output]
PAI [Process After Input]
POV [Process on Value Request]
POH [Process on Help Request]
And you go thru the following links for detail knowledge on Dialog Progrmming and Events of it.
<b><u>What is Dialog Progrmming.</u></b>
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/content.htm
<b><u>This link Give you all details about Modulepool</u></b>
http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
With Regards,
Naveen Kumar Mutyapu.