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

Disable the "Leave Request" link on ESS "Record working time" page.

Hello everyone

We have a requirement where the "Leave request" link on the ESS "Record Working Time" page should be disabled for a certain group of employees. To meet this requirement, we have built a proxy class for interface IF_XSS_SER_PROXY_SERVICE. We are reading the employee number and country grouping from SET_CONTEXT_PARAMETERS method and writing the disable logic in GET_SERVICE_DATA method. We are also assigning this proxy class to the service key in the SPRO configuration.

The issue is that the "Leave Request" link is not getting disabled. What have we missed here? Please advice. We have put a break point in the GET_SERVICE_DATA method but the control is not going there. Are we looking at the right service key?

Thanks in advance.

Thanks

Shakir

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 15, 2011 at 04:45 PM

    you can also personalisation for set of the employees and do it at their role level for differnet employee groups

    also for proxy class which service key it was assigned?

    To hide lets suppose clock in clock we do this :

    Please check table V_T7XSSSERSRV

    Service Key EMPLOYEE_WORKTIME_TIMECORRECTION05

    Class for Proxy Service Definition

    Contains a class that defines the service as a proxy service.

    Use

    Use this field if you want to influence the behavior of the

    service using your own code. To do this, you need to create

    a class that implements the IF_XSS_SER_PROXY_SERVICE interface.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Siddharth -

      Thanks for your suggestion. I resolved it myself.

      I have marked the ISSTATIC flag to "X" when the employee is non-exempt and when it is exempt, ISSTATIC is blank. This code should be written in GET_SERVICES method. The service is determined from GET_CONTEXT_PARAMETERS. If the flag is set, then Leave Request link is visible; otherwise not.

      Thanks

      Abdul Azeez

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.