2007 Sep 14 11:46 AM
hi friends,
In dialog module,while screen loading wat event get trigger wheather pbo or pai.and when executing part wat event get trigger.and wheather the pbo is executing once or twice....i want answer for these question..help me please..
2007 Sep 14 11:52 AM
HI,
1. The first time you execute a transaction on loading of the screen PBO gets executed only.
2. You do any user interaction or press enter,PAI gets executed first after that PBO gets executed and then it comes to the screen.
3. No won every user interaction first the PBO then the PAI gets executed.
4.If there is any CALL SCREEN in your PAI then on execution first the PAI is executed then the PBO OF THE CALLED SCREEN is executed.
so the sequence is
PBO-->SCREEN-->PAI in loop.
Thanks
reward if useful
vivekanand
2007 Sep 14 11:49 AM
hi... just before screen comes PBO executes and just after any user action on the screen.. PAI executes in response to that action... and PBO executes only once...
2007 Sep 14 11:49 AM
Hi Manjula
PBO is trigger before the screen is showing .
PAI is trigger when you are doing something after scren show example you enter the keyboard .
Regards
Wiboon
2007 Sep 14 11:49 AM
PBO - Process Before Output
This module will be called once the screen statement in your program is being called that is either set screen or call screen
that is Before the output display what ever the opertaion you want to do you can perform in this module
PAI - Process After Input
This module is called once the user gives the input
Regards
Vasu
2007 Sep 14 11:51 AM
Well PBO means processes before output, so this is the one beeing triggered "while loading", means before creating the output to the user.
during the user fills in values none of these two events get triggered. maybe some data_change event.
After the user made his inputs, the PAI Processes after input event gets triggered.
if in PAI you recognize some false inputs and redirect the user back to the first screen to correct his inputs, then again first the PBO gets triggered a secod time and once he leaves the screen the PAI gets triggered again.
2007 Sep 14 11:52 AM
HI,
1. The first time you execute a transaction on loading of the screen PBO gets executed only.
2. You do any user interaction or press enter,PAI gets executed first after that PBO gets executed and then it comes to the screen.
3. No won every user interaction first the PBO then the PAI gets executed.
4.If there is any CALL SCREEN in your PAI then on execution first the PAI is executed then the PBO OF THE CALLED SCREEN is executed.
so the sequence is
PBO-->SCREEN-->PAI in loop.
Thanks
reward if useful
vivekanand