2014 Sep 26 8:36 AM
hello all,
i have a module pool screen..
in which for one field i have put some validation(like date should be first day of the month other wise display error message )
when the error message is displayed only that particular field is enabled for data insertion
where as other fields are disabled for data entry,....
how do i enable other fields also for data entry.....
thanks in advance.....
2014 Sep 26 8:49 AM
Hi Vinay,
Write you validation in CHAIN ENDCHAIN.
CHAIN
Field : wa-A1, wa-A2.
Moudle f_validate_o.
ENDCHAIN.
Thanks
hello all,
i have a module pool screen..
in which for one field i have put some validation(like date should be first day of the month other wise display error message )
when the error message is displayed only that particular field is enabled for data insertion
where as other fields are disabled for data entry,....
how do i enable other fields also for data entry.....
thanks in advance.....
2014 Sep 26 8:45 AM
Hi,
Use chain Statements and include all fields to enable.
Regards,
K.S
2014 Sep 26 8:49 AM
Hi Vinay,
Write you validation in CHAIN ENDCHAIN.
CHAIN
Field : wa-A1, wa-A2.
Moudle f_validate_o.
ENDCHAIN.
Thanks
2014 Sep 26 9:06 AM
Hi Vinay,
Write CHAIN ENDCHAIN statements in PROCESS AFTER INPUT:-
PROCESS AFTER INPUT.
CHAIN
<write your fields here>
MODULE <write your validating module name> on chain input.
ENDCHAIN.
Thanks & Regards,
Swati
2014 Sep 26 9:16 AM
Hi
In PROCESS AFTER INPUT.
CHAIN.
feild: <validated field>.
module validate.
ENDCHAIN.
__________________________________________
Module validate input.
<write only ur validation logic then only that partcular filed is enabled>
endmodule.
NOTE: If you want to validate more fields then add in CHAIN-ENDCHAIN logic.
regards.
laxman