2013 Jan 06 11:03 AM
Hi experts i have a problem in module pool program. I have created a screen with two fields and two function keys DISPLAY CREATE where i have to check these fields for validation.I know the syntax for field validation (field<fld name> module<module name>) but the problem is i have to check both the fields for validation means if press display or create when both the fields are empty it should generate a massage that both fields are empty..please help me to solve this problem.
2013 Jan 06 12:23 PM
Hae you can do validation in PAI by placing those two fields in between CHAIN & ENDCHAIN .
Please refer the below screenshot for reference.
Regards,
Praveen Chitturi
2013 Jan 06 11:16 AM
2013 Jan 06 2:04 PM
2013 Jan 06 12:23 PM
Hae you can do validation in PAI by placing those two fields in between CHAIN & ENDCHAIN .
Please refer the below screenshot for reference.
Regards,
Praveen Chitturi
2013 Jan 06 2:08 PM
thank you praveen i got your point but in the above screen shot u wrote chain and endchain in PBO. I dont understand this will u pls tell me y u wrote that PBO
2013 Jan 07 2:22 AM
Hi anand,
It should be in PAI only which is meant for validation checks for the fields mentioned in Chain and enchain. That was the code I had written when I am doing a mini project at my learning stage. It is not at all required to mention in PBO.
IT SHOULD BE IN PAI MODULE ONLY.
Regards,
Praveen Chitturi
2013 Jan 07 3:08 AM
2013 Jan 07 4:38 AM