on 02-04-2014 7:57 AM
Hi Experts,
I'm doing custom validation on CATS application in method ONSAVE of WDC - HRESS_C_CATS and getting the CATS beginning and end date by
wd_assis->gs_cat_record_input-(begda,endda).
Now my requirement is I need to check the data entered by the user between begda and endda. Is there any structure to check all the values.
I know it's very easy to go ahead with User-Exit(CATS0006), but I need to do this validation triggers only for SAVE operation. So am going to WDC methods, as I can't check user specific actions in CATS0006 from portal.
Like for eg: In user-exits am using CATS_COMM to check the field values, such that I made a LOOP AT CATS_COMM to check all those workdate entries between datefrom and dateto. In the same way is there any structure/table that I can read it in webdynpro to check all those user entry fields for the week.
Please help and suggest me.
Thanks,
Ramakrishnan.
Hi,
Check the all the attributes in the class "CL_HRESS_AS_CATS", COMPONENTCONTROLLER, you will find the data entered by the employee.
Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CL_XSS_CAT_1_INPUT_CONVERTER
METHOD get_context
CALL FUNCTION 'CONVERSION_CATSCELL_INPUT'
IF_XSS_CAT_TIME_SHEET~SET_TIME_RECORDS
HRESS_C_CATS in methods
RELEASE_DIRECTLY, PROCESS_COMMAND, ONSAVE_RELEASE
the method raise_messages is being called
there is a error in EHP5
Hi Siddharth,
Thanks for your reply. I have checked the class CL_XSS_CAT_1_INPUT_CONVERTER and function
'CONVERSION_CATSCELL_INPUT', but sorry it's not useful for me. In FM they are getting the hours type and in get_context method they are using WAERS, UNIT, etc.
But my requirement is, I need to check the maximum hours per day for an employee which should not exceed 8hrs on save and check operation.
So am using the methods onsave and on_tb_check of WDC HRESS_C_CATS. But still confused of how to get the CATS hours value entered by the user on time sheet.
Please clarify me.
With Regards,
Ramakrishnan M.
try to use post exit for GET_DATA method. Here you can capture the events and process the logic as per your requirement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.