Skip to Content
author's profile photo Former Member
Former Member

Reload Time Sheet CAT with a user selected profile

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 11, 2010 at 08:35 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2010 at 04:25 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Oct 11, 2010 at 02:42 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.