cancel
Showing results for 
Search instead for 
Did you mean: 

CATS time sheet entry allow for absense type and for attendanc type restric

Former Member
0 Kudos

Hi All,

We have one scenario the client want to enter time sheet for attendance type not more than 2 weeks and for absence the system is allow for 52 weeks. Now the problem is they are using same data entry profile for attendance and absence so in data entry profile we cannot do the setting for Lower limit relative and upper limit relative.

Please provide the solution if your having

Thanks

Tanveer

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

HI Paul,

Thanks for your reply. I written this program in user exit

IF SAP_TCATS-DEFAWART = '2000'.

CHECK SAP_TCATS-PERRIGHT GT '15' AND

SAP_TCATS-PERLEFT GT '7' . Message e000(26) WITH 'Days are more'.

ENDIF.

But it is not working

Thanks

Tanveer

Former Member
0 Kudos

Hi Tanveer,

We use this exit allways for extra logic, so I don't know why it doesn't work. I suppose you know how to use user-exits and you debugged your program already? I wonder if your check using the scroll logic is working properly. Unfortunately I can't help you further with developing the proper check.

Regards,

Paul

Former Member
0 Kudos

Hi,

What you can do is to use the user-exit (exit_saplcats_03) that checks the entered data. If this data belongs to the attendace type, you make an extra check on the period and give an error message on failure. This will work.

Regards,

Paul