07-03-2007 10:21 AM
Hello all,
Is there any characteristic differences in showing an error message in PBO and PAI.
Please help.
Rakesh.
07-03-2007 10:24 AM
hi,
we have to give the error messages in PAI only.If u give the error messages in PBO then it wont get triggered.
07-03-2007 10:24 AM
hi,
we have to give the error messages in PAI only.If u give the error messages in PBO then it wont get triggered.
07-03-2007 10:27 AM
Hi
We will do all field validations in PAI only and trigger the messages based on the validation in PAI itself
So trigger them in PAI not in PBO.
Reward points for useful Answers
Regards
Anji
07-03-2007 10:32 AM
Hello Anji ,
What will happen if we try to issue an error message in PBO.
Rakesh.
07-03-2007 10:35 AM
Hi
IN PBO it will not fire and trigger
The name PROCESS BEFORE OUTPUT itself means that this processed before screen display, so without screen display where it will trigger
so it will not be displayed.
Reward points for useful Answers
Regards
Anji
07-03-2007 10:42 AM
07-03-2007 10:38 AM
Hi ,
If you give an error message then subsequent code including the PBO event will not get excecuted untill the error message condition fails.So for this what you can do is,give the Information message instead of error and clear your internal table of the table control.This will solve your problem.
Regards,
Priyanka.
07-03-2007 10:45 AM
Hi,
Messages should be displayed only after some user Actions, so always do such work on PAI.
07-03-2007 10:47 AM
hi
u can write it in PBO also.. but we ususlly give PF status at PBO. in PAI we do all validations.'
so it will be very much accurate if u write it in PAI itself..
lets say i am writing codings for PF status like SAVE BACK etc in PBO, then i can write like
if OK_CODE = 'SAVE'.
insert ...
message ....
endif.
so according to yr need u can decide..
reward if useful.
07-03-2007 10:55 AM
Hi Rakesh,
Mostly We can Trigger in PAI, but nobody use PBO for Debugging,
PAI
*****
All the validation process are done in PAI only, in PAI we will move all the screen values to internal table.
PBO
******
All the screen purpose is doing in PBO only for example Screen Enable and
Disable, The PBO is used to move Internal table data to Screen.
IF USEFULL REWARD