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

Module pool query

Former Member
0 Likes
834

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
809

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

7 REPLIES 7
Read only

Former Member
0 Likes
809

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

Read only

Former Member
0 Likes
810

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

Read only

Former Member
0 Likes
809

hi,

You need to write the code in the PBO(Process Before Output). This will solve the issue.

Regards,

Richa

Read only

0 Likes
809

How can i access standard screen-field's value in custom screen logic. Is it possible?

Read only

0 Likes
809

s. its possible.

Read only

Former Member
0 Likes
809

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

Read only

Former Member
0 Likes
809

unresolved