cancel
Showing results for 
Search instead for 
Did you mean: 

Reload Time Sheet CAT with a user selected profile

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

Former Member
0 Kudos

Thanks a ton Siddharth.

Cheers,

Sudhir

Former Member
0 Kudos

If there is any way to reload ess apps (cat) as well.. since this is fpm application.. not sure if directly calling webdynpro link will make sense.. will lose all fpm personalization and customizing... is there more elegant way to do so?

Cheers,

Sudhir

Answers (2)

Answers (2)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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