‎2006 Sep 01 10:11 AM
I am working on a screen which have customized subscreen. I want to check whether two fields are equal.
one field of standard subscreen and another of customized screen. I have written that code in custozied screen.
Validation works fine when i do enter or modify customized subscreen. but if i do not edit customized screen validations written in customized screen doesn't work.
Hope i am clear
Plz give soln.
Thanks in advance.
‎2006 Sep 01 10:28 AM
Hi,
You`ll code your logic according to the screen sequence..
lets say the standard screen has got ur subscreen, now your code should be in the PBO of the standard screen. Since every time there is any user action either of these two screens, the screen is always regenerated.
Consider the following sample code :
if F1 is not and f2 is not initial.
check f1 = F2.
endif.
here F1 -- Std. screen field and F2 -- Ur screen field.
Hope my reply would solve ur problem.
Reward if helpful.
Regards
‎2006 Sep 01 10:23 AM
Hi shital,
where did u write the logic? i think u wrote that logic in PAI of customised screen. am i right?
if that is the case then you have copy the code in PBO also.
pls reward the point if helpful.
regards,
balu
‎2006 Sep 01 10:28 AM
Hi,
You`ll code your logic according to the screen sequence..
lets say the standard screen has got ur subscreen, now your code should be in the PBO of the standard screen. Since every time there is any user action either of these two screens, the screen is always regenerated.
Consider the following sample code :
if F1 is not and f2 is not initial.
check f1 = F2.
endif.
here F1 -- Std. screen field and F2 -- Ur screen field.
Hope my reply would solve ur problem.
Reward if helpful.
Regards
‎2006 Sep 01 10:30 AM
hi,
You need to write the code in the PBO(Process Before Output). This will solve the issue.
Regards,
Richa
‎2006 Sep 01 10:39 AM
How can i access standard screen-field's value in custom screen logic. Is it possible?
‎2006 Sep 01 10:43 AM
‎2006 Sep 01 10:42 AM
Can you check if you have written validation in ON CHANGE EVENT?
or if u can send me code, I can help u resolving it
regards
Atul
‎2009 May 10 6:32 PM