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

Performance Appraisal - Control Access at the level of Substatus

Hello

We have created a couple of substatus each for the status "In Review" and "In Process". We would like to control the access to the document at the level of substatus. I understand that the standard functionality lets you control access at the level of status via the "Column Access" tab in the template.

What approach can we take to meet the requirements? Similarly, how can we control the workflow at the level of substatus?

Please advice.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 02:20 AM

    Hi Jothi

    Please pardon my ignorance. Is there a way to identify if the person logged in is Appriaser or Appriasee and then give him display or edit authorization accordingly?

    Please advice on what can we use in the BADI to identify the role of the person for a given appraisal document.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Yes. Just get the logged in persons pernr from PA0105 by his <b>sy-uname</b>.

      Compare the Id against the appraiser_id / appraisee_id of the document.

      You can also use the fn mod "HRHAP_DOCUMENT_GET_LIST_XXL" to retieve the documents.

      Rgds,

      Jothi.P

      **Do reward pts for helpful answers.

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 03:02 AM

    Hope you can control with HRHAP00_COL_ACCESS badi itself.

    Try the foll code in the method,

    IF_EX_HRHAP00_COL_ACCESS~GET_COLUMN_ACCESS

      when  c_status_in_review.
                    case s_header_status-ap_status_sub. "your sub status
                      when '1'.
                        case s_body_columns-column_id.
                          when 'OBJ0'.
                            availability   = 'D'.
                            column_owner   = 'X'.
                            exit.
                          when 'Z003'.
                            availability   = 'D'.
                            column_owner   = 'X'.
                            exit.
    
    

    *you can turn on/off the availabilty of the column.

    Rgds,

    Jothi.P

    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.