‎2014 Oct 20 6:47 AM
Hi experts,
I've a requirement with two screens of which first screen will have select option and some other fields and second screen will have table control.
Based on screen input data must be put in to table control of the second screen. I've declared selection screen and table control in the Top include and i have to do field validation for the first screen inputs which includes select option field validation also. For that i have used At selection screen event in the Top include.
But while activation it is showing following error.
Controls can only be defined only.(I have declared it in TOP include only)
There should only be definition in the (Top include) . Which means any sort of implementation is not meaningful.
Please help to do the field validations of the first screen.
Also at exit command module is not triggering with subscreen.
Regards,
Muthubalaji
‎2014 Oct 20 6:59 AM
Hi,
In module pool we can't use report events.
Write validation in PAI of module pool screen.
or...
You can solve this by creating a report and a screen in it for table control.
Keep select options in selection screen and call screen.
Cheers
SP
‎2014 Oct 20 7:06 AM
Hi sree,
Thanks for your reply.
But when I validate after PAI it is saying Select option field is not defined.
Regards,
Muthu
‎2014 Oct 20 7:12 AM
‎2014 Oct 20 7:53 AM
Hi raymond,
I have declared subscreen in top include using module pool not in report. Same TOP include has table control. so when i write at selection screen it is throwing an error.
also im unable to use at exit command in PAI. since it is not triggering.
Regards,
Muthu
‎2014 Oct 20 8:09 AM
‎2014 Oct 20 9:05 AM
HI.
Use call sub-screen command both in PBO & PAI .
to validate , Use simple module validate in the chain endchain structure, inside the module .
Thanks
Vijay