on 10-10-2010 11:32 PM
I believe this was possible in older version. Users were able to select a profile from dropdown list and based on selected profile timesheet entry screen would be displayed. We are on EHP4 and using Webdynpro for JAVA basd application. We are trying to provide similar feature but unable to track where i can pass selected profile id to reload time sheet application
Any help/pointers is greatly appreciated.
Cheers,
Sudhir
se24> CL_XSS_CAT_PROFILE
or
Object METH CL_XSS_CAT_1_APPLICATION_CORE
INITIALIZE_BUSINESS_LAYER
Object Header CLAS CL_XSS_CAT_1_APPLICATION_CORE
*
.
CALL BADI profile_handle->get_profile_id
EXPORTING
pernr = pernr
IMPORTING
profile_id = l_profile_id.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you are right there is no feature available to select the profile in working time in JAVA WD till EHp4, however From EHp5
we might allow CATS profiles to be selected
if you need it now, you can use only one via
SU01 , cvr parameter
otherwise go for a modification in the frontend.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sudhir,
I am not sure about older versions but in EHP4 you dont have that option.you need to give CVR parameter in the backend system with profile and that will be considered in the portal
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.
Thanks guys,
We have BADI HRCATS_PROFILE_BY_PERNR which can do the job.. but trick is this is only applicable for Concurrent employement. Since we dont want to reset default timesheet profile(maintained in SU01 user profile), we need a temporary resort to store use choice(we can manage with some temporary storage). Though i am trying to find method where profile is read. Class CL_XSS_CAT_PROFILE has some answers but they are kinda tough to crack. Method GET_INSTANCE seems promising though in the begining of the method itself it picks profile from somewhere.
pernr_switch = im_pernr_switch.
re_profile = profile.
I am unable to trace what would be origin method to read user profile. Wondering if you might some clue on this.
Thanks a ton.
Cheers,
Sudhir
User | Count |
---|---|
95 | |
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.