on 09-15-2010 4:10 AM
Dear all,
Greetings.
I have a doubt in ESS leave request .i will just brief my scenario.
We have 2 absence type APL first half leave and APL second half leave .when user will select the absence
type in leave request according to that start time and end time should get defaulted automatically .I try to badi PT_ABS_ARQ
but all methods triggers only after clicking on review button.Please give me some hints .I need a BAdI which triggers after selecting absence type .also i want to ask a thing the start time end time is coming defaultly as 1200 to 1200 where we can control that.
Waiting for your valuable inputs.
Thanks.
You have to create a custom iview if above CODE doesnt default as required.
changes in JAVA code for the iview, there is no other solution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Sidharth and Bala.
actually i dont no much about iviews creation .basically a solution i was thinking was somehow we can default start time end time field for 900 to 10.00 then i can hide that fields and when user clicks on review i have implemented a BAdI which will calculate start and end time according to work and break schedule and will show in review display .i have done the badi code just i need to default the fields to 9 00 to 10 00 since it is half day leave and defaultly 12 to 12 is displaying .if we can controlthis defaulting through portal then pls let me know.
anyways thanks both for the input i can atleast give explanation to my manager
Hi dattaraj ,
Can you please let me know how did you achieve the same.
Thanks
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dattaraj,
Can you please let me know how did you resolve the same?
I have exactly the same requirement.
Need to deliver it immediately.
Please help.
Thanks
Akshay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
resolved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no other possibility, If you want to default, I already pasted the code
PT_ARQ_REQUEST_CHECK
here
PERFORM clear_clock_times
USING im_pernr
CHANGING
im_request-ins_item-begin_time
im_request-ins_item-end_time.
Only possiblity
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Check the table v_t554s_web and the Wiki following:
http://wiki.sdn.sap.com/wiki/display/ERPHCM/Validations%2bfor%2bESS%2bLeave%2brequest
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Raj,
UI is built using webdynpro for java.so when you select some value from absence type dropdown you need to trigger on select event of the dropdown using webdynpro for java code and inside that you can call some rfc fm and fetch the values.you cannot invoke the backend code directly when you change the dropdown values
Thanks
Bala Duvvuri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is no exit for defaulting the time in the Leave request
however there is a table V_PTARQ_TCONSTR
and V_PTARQ_TPROCESS for partial absences on how to record
you can check this
Function Module PT_ARQ_REQUEST_CHECK
ERFORM clear_clock_times
USING im_pernr
CHANGING
im_request-ins_item-begin_time
im_request-ins_item-end_time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
can you please share some ideas on this......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
6 | |
6 | |
4 | |
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.