‎2006 Feb 22 7:26 AM
Hi,
I need to create one screen with table control which has four columns as
Material number, valid from, valid to, Value for UV Rate maintainence.
Now My problem is, How to validate valid from column after entering the date in particular column(valid from)
Is there any events are there for table control? for Eg
tblctl_Modify, tblctl_move like any other modules for validating after entering one particular column?
‎2006 Feb 22 7:43 AM
u can validate using
FIELD <fielname> VALUES (..........)
‎2006 Feb 22 7:45 AM
‎2006 Feb 22 7:45 AM
Hi ,
In the PAI module , you can do this validation between CHAIN ...END CHAIN stmt.
Regards,
Vijay
‎2006 Feb 22 8:32 AM
Hi,
after leaving validfrom column, i want to check the value. but the onchange event will trigger after i am applying enter key on the particular line.
how i can check the value after leaving the column validfrom?
Thanks
‎2006 Feb 22 8:26 AM
Hi,
In the PAI of the screen, do like this
For single field:
================
LOOP AT <ITAB>.
FIELD <VAR1>
FIELD <VAR2>.
FIELD <VAR3>.
FIELD <VAR4> MODULE validate_9000. "Field to be
validated
ENDLOOP.
For group of fields;
====================
LOOP AT <ITAB>.
CHAIN.
FIELD <VAR1>
FIELD <VAR2>.
FIELD <VAR3>.
FIELD <VAR4>.
MODULE validate_9000. "Field to be
validated
ENDCHAIN.
ENDLOOP.
I hope this helps.
Regards,
Venkat Ramanan
Message was edited by: Venkat Ramanan Natarajan
‎2006 Feb 22 8:57 AM
Hi,
onchange event only triggered after i am pressing enter key of the line. is there any other way to validate after leaving the table column(validfrom)?
Thanks,
Neptune.M