cancel
Showing results for 
Search instead for 
Did you mean: 

Performance Appraisal - Control Access at the level of Substatus

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

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