ESS Record Working Time .. Restrict Time Entry with Relative limit
Hi SDN Users,
We are using ERP 2005 and EP 7.0 with webdynpro java ESS applications for Time, Travel and Personal Information.
In the ESS Record Working Time application, a user can scroll to any date he or she wants in the past or in the future and record/edit working times. The application does not take into consideration the setting made in the time entry profile for relative limit.
Please suggest the best way I can include this in the webdynpro application for Record Working Time. (in other words I would like to restrict the users to NOT be able to scroll before and later than 1 week from the current week).
Can this be achieved by modifying any ABAP program / BADI / User Exit (OR)
Would this require Webdynpro Code changes ?
Please suggest some changes if any one has gone through a similar requirement.
Suresh Datti replied
As an alternative to Siddharth's suggestion.. ie if you wish to use the Enhancement options..
Pl take a look at the implicit enhancement options in CL_XSS_PT_DATE_SELECTION.. focus on the Methods SELECT_DATE & SELECT_DATE_INTERVAL.. Put external break points in both these Methods & run the WebDynpro.. You can now decide where to plug-in your validations.