‎2010 Mar 10 2:09 AM
hi all
I have a custom table ZTEST and have 2 field RUNDATE & FLAG.
When the user create new entries , RUNDATE should be (sy-datum - 8 ) and FLAG should have input only Y or N. If wrong value r entered then error message should be displayed. Is there any way where I can control this ???
I am using VIEW_MAINTENANCE_CALL in my program.
I think I can use Event : 05 When Creating a New Entry, but still need to know what code to be implemented???
thanks
‎2010 Mar 10 3:00 AM
For Flag you Can have a FIX Value Domain Range you can control it. just in SE11 Create a Domain with Char 1 and have its fix values what ever you want. and for Run DATE thing probably have to handel it yourself...lets see if we find any thing on SCN
‎2010 Mar 10 3:51 AM
hello JaiKarthik ,
For your RUNDATE field just go to Tcode SE55 enter your table name go to Environment in Top Menu select modification and events your will get a table make new entries to the table there will be 2 columns 1st will be 'T' ie.main event enter value as 01 it stands for before saving it to database and in form routine write a form routing which would check your condition..throw a error if required.....!
Hope it helps...!
Edited by: Anup Deshmukh on Mar 10, 2010 4:53 AM