on 03-11-2011 11:24 AM
Is there any way we can customize or using BADi we hide the Start time and End Time Fields based on Absence/Leave Typein Leave Request Application.
Case:
I have a Leave type Which is allowed to take maximum of 4 hrs and maximum of 1 Day.
I have set the Maximum in leave type as 1 day.
To make that maximum deduction of 4 hrs per day.
i created rounding rule 0 - 24 hrs round it to 4hrs.
One one issue in this..
if i enter 11.02.2010 to 11.02.2010 ,start time and end time 8 to 14 it deducts only 4hrs eventhough actual is 6hrs.
Planned workig time is 8 to 17.
Now if i enter 11.02.2010 to 11.02.2010 ,start time and end time 14:30 to 17:00 it deducts 4 hrs...
which on same im allowed to 8hrs..my case is not to allow not more than 4hrs perday and max 1 request per day.
Please help.
Nachy
PT_ARQ_REQUEST_CHECK can be used, You can check the BADI PT_GEN_REQ or PT_ABS_REQ
Also check your customisation in the view V_PTARQ_TPROCESS
Record Partial-Day Absences in.
Depeding on your requirement you can decide how to use
PT_ARQ_REQUEST_CHECK ie hours field or the clock times.
That means you need to clear the time fields which are derived
from the work schedule and keep it empty since these fields
are hidden
Object REPS LPT_ARQ_REQUEST_UIAF09
Object Header FUGR PT_ARQ_REQUEST_UIA
FORM SET_DATE_TIME_FIELDS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Personalization Crtl + Right Clic and hide the field.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Do the following:
1. Go to SM34 t-code -> VC_PT_FIELD_SELECTION -> Screen Area LEA (for Leave).
2. Create a new Field Selection and save
3. Select it and double click on Field Customizing
4. Add or Remove the Payroll Days field and Save.
5. Go to SM30 -> V_T554S_WEB
6. Select the Leave you want to modify the fields.
7. Under User Interface Elements -> Field Selection for Additional Data,
select the Field Selection you defined on step 1 and 2.
I hope I have clarified.
Regards,
Bentow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
109 | |
15 | |
10 | |
5 | |
4 | |
3 | |
3 | |
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.