cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Requestor Field In HR Triggered GRC requests

Former Member
0 Likes
589

Hello Gurus,

I am having issues understanding how does Requestor field gets populated in GRC access request.

I have gone through thread https://archive.sap.com/discussions/thread/3699658 however it doesn't solves my query.

Even If in my plugin system RFC user is maintained as system user and not current user, requestor field is being populated as below.

In my project the requestor name is some time the person who has added value in infotype 0105 Stype 0001 and in some cases who has created HR master data for user.

The requirement is that requestor name should be the person who has added value in infotype 0105 Stype 0001.

Could anyone please help me how I can configure this and remove inconsistency.

Thanks in Advance 🙂

Hari

Accepted Solutions (1)

Accepted Solutions (1)

madhusap
Active Contributor

Hi Kashyap,

You can easily debug HR triggers. Just put external debugging breakpoint in function module "GRAC_HR_TRIGGER_EVENT_RECIEVER" (in GRC system) with the RFC User ID which will be used to call GRC from your HR system.

Variable "IT_EMP_DATA[]" will have all the details being passed from HR to GRC system and the value UNAME can be checked in variable "IT_EMP_DATA[1]-EMPLOYEE_DATA[26]-NEW_FIELD_VALUE" which will be shown as Requestor in GRC. You can validate the value coming from HR system against the PA0105 table's UNAME field and ideally they should be same. Since you are having some trouble with this you can verify values in debug mode and if any issue report to SAP.

Attached screenshot for your reference.

Let me know if any queries

Regards,

Madhu

Answers (1)

Answers (1)

madhusap
Active Contributor
0 Likes

Hi Hari,

For HR Trigger requests:

  • "Requestor" field will be filled with the user details which comes from infotype table (PA0105) and field UNAME in HR system. This UNAME will be updated based on the user updating the IT 0105 and ST 0001 value. So, this is already in standard which meets your requirement.
  • the "Created by" field will be filled with the user maintained in the RFC that connects HR system to GRC.

Regards,

Madhu

Former Member
0 Likes

Hello Madhu,

Yes, I have checked SAP Note 2066450 for this.

But this is not how it's working here. Hence I wanted to know where I can trace the data which is being sent to GRC from HR system for individual creating request.

Thanks,

Hari