i have problem in Vf01 screen.
In VF01 screen -> Goto -> Header -> Header text.
we have created some "TEXT Field " like LR Date , LR TIME , Del Date and Del TIme.
Data and time will be entered in the Custom Text box provide by Sap.
Now problem is our User by mistake or somehow entring
1) LRdate & Del Date as 2.9.10 for 02.09.2010
2) LRTime & Del Date as 02.30 pm for 14:30:00
Because of this im getting error in my reports .
Im calculating Data and time Diff between LR and Del using function module
1) for date "/SDF/CMO_DATETIME_DIFFERENCE"
2) for Time "L_MC_TIME_DIFFERENCE"
As Added Fields are text how can stop user to enter wrong format .
Do we have any BADI , Restrick them at the time of Saving or else anyother way is there to restrick them Pls let me know.
thxs in advance