on 12-14-2012 4:30 PM
Hello,
I am currently struggling with getting my HR trigger for new user work.
What I did uptil now:
- In plugin system:
- Add parameter 1001 and 1003 in plugin system
- Create RFC connection in plugin system
- In GRC system:
- Update configuration related to "maintain mapping for actions & connector groups"
- Maintain AC applications & BRF+ function mapping: map rule to process for access request
- BRF+ function updated with ruleset, rules, decision table & activated & simulated tested ok
- Maintain settings for HR trigger
So far, while updating the infotype 0105 with subtype 0001, I get HR trigger activated.
Log can be seen in SLG1 on GRC system.
I get in there the message:
The Info type value changes from the HR system are mentioned below:
Info Type Field New Value Old Value
0105 AEDTM 20121214
0105 BEGDA 19930814
0105 ENDDA 99991231
0105 INFTY 0105
0105 PERNR 00000014
0105 SUBTY 0001
0105 UNAME WOUTERSJ
0105 USRID TESTTT
0105 USRTY 0001
Rules are not satisfied for Employee ID 00000014
Does this mean that my decision table is not correct?
I have put now the following:
- connector: grc_dev200
- parent type: 0105
- subtype: 0001
- field name: USRID
- old value: is not initial
- new value: <>fieldval
- actionID: CRE
Thanks 4 help!
regards,
Johan
Hi Luciana - I’m also facing the similar issue. I have raised SAP inicident too. Can you please help?
We just need workflow to trigger for user termination but SLG1 logs are ending error rules not satisfied.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately due to workload I am not being able to check the SCN more often, I apologise!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Picho, please review WIKI I have just made to help debug it:
Debugging HR Trigger functionality - Governance, Risk and Compliance - SCN Wiki
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luciana,
Thanks for the guide, I've followed it and the triggers are somewhat working. After configuring the triggers in our development systerm, per your guide, I then ran the function module and input data from an old trigger that I found in SLG1.
This was a create request and it properly created an access change request in the workflow.
However in your guide, you don't have information on how to simulate terminations, and so I don't know if my decision table is at fault or if there's something else that's keeping the trigger from picking up terms.
The method you outlined for creates seems to work. When I run the function module with data from an old SLG1 trigger, an access request is created.
Please let me know.
Thanks,
Santosh
Luciana, I have an update on this for you.
For creates, when I go through the process you've outlined in your blog on debugging HR triggers, where I go to SE37 and plug in the data, the trigger correctly creates a request. But when HR creates the user, it fails.
See the attached screenshots. Same data. The fail is from the trigger, while the success is from running the function module and plugging in the data.
I haven't yet tested terminates though this method, but it fails when it comes in through the trigger.
Thanks,
Santosh
Are you programmer? abaper? technical person? I can provide you steps to debug it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello All, could somebody explain how to do that?.
I’m implementing HR triggers for withdrawals on GRC 10 When a person is withdrawn, the access request should locks the user, change the user group on the user master to TERMINATE, and adjust the validity date on the user master to the withdrawn date.
How can i do that is there any documentation related? Is it possible that you can provide some guidance screenshot for steps to be performed?
Thanks a lot.
Picho
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johan,
Check the following:
1) Open the BRF plus rule, navigate to the decision table component, click on "Table Settings" and make sure you have the check boxes as follows: first unchecked, second checked, third unchecked.
2) In the BRF rule still, navigate to the main Function, go to tab Signature, and make sure the name of the context table is HR_TRIGGER_TABLE, and nothing else other than this name.
3) Navigate to the second rule (which is called from the LOOP) and make sure you have only the two operations:
Change | Structur...-Action ID | after processing expression | DECISIONTABLE_test |
Insert | values into | Table type for Action ID | from | Structur...-Action ID |
If the above points are okay, it should match the rule, let me know,
Luciana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Another tips helpfuls:
- The parameter 1003 configured in HR backend has to be set in YES.
- The parameter 1000 configured in HR backend has to be a RFC local. The name of the RFC local has to be equal to the parameter entered in the desicion table in GRC (so you have to create the same connector name in GRC).
Hope this help!
Regards,
Hi Johan
I'm having the same problem, when I view the transaction log by SLG1, returns the error: "Rules are not satisfied".
You could fix the problem?
Thanks,
William
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Luciana, I have the same issue. Please, can you check this?
My rules in brf+ are:
- Conector: ERDCLNT110
- Parent Type: 0105
- Subtype: 0001
- Field name: USRID
- new value: is not initial
- old value: <> new field value
- actionID: CRE
And in the log have:
Tipo info Campo Valor nvo. Valor ant.
0105 AEDTM 20130610
0105 BEGDA 20130610
0105 ENDDA 99991231
0105 INFTY 0105
0105 PERNR 00000014
0105 SUBTY 0001
0105 UNAME CERCOLI
0105 USRID TESTCE01
0105 USRTY 0001
In spro in ERD have the same name connector in parameter 1000: ERDCLN310.
I configured it in SP07 and it works. Now in SP12 I have this problem.
Kind regards,
Hi Luciana and Johan,
It seems that I have the same problem as above. I have Simulated my BRF+ function and it works perfectly, however, there seems to be no link between the HR user creation and the BRF+ function and I also get the "Rule not satisfied" message in SLG1. I have even manually added the Request Type 001 as an additional Data Element.
Can anyone perhaps help me? I have a whole document of the steps that I have completed as far as config goes and will send it on if required. I cannot find your e-mail addresses so using this thread as a first step.
Thanks in advance if anyone can help.
Hi Helen,
best approach is to pen a SAP ticket, are you able to do it? if not, pls send me an email to luciana.ullmann@sap.com
Thanks
Hello,
I have configured every part of my HR trigger and am getting a similar error to others I’ve read about.
Rules are not satisfied for Employee
ID
Right now I think my Decision Table is probably incorrect.Our requirement says that if a users email is entered in the PA30 record and saved it should then kick off the request in GRC (user could already be created). The logic I have right now is as follows:
Connector: GRC-CRBCLNT200
Table Name: 0105 (not sure if it should be PA0105 instead)
Subtype: 0010 (Internet Mail)
Field Name: USRID_LONG
Field Value: is initial
Field Value: is not initial (I see people use <> new ield value) but can’t find it.)
Action ID: CREAT
Any suggestion of what the Decision table should look like or this would be appreciated.
Regards,
Hey Luciana,
I checked all of your above points and everything was 100% correct. I tried to rebuild the D-table as follows:
Still the same error though. I would have thought that I could have use "is initial" and then "is not initial" if the email field will be blank and then will be filed in to trigger the action.
Let me know if you see something wrong, please
Hello,
Does anybody has an idea?
Do I need to go for the procedure call solution?
Goal is to trigger creation of userID by updating infotype 0105, subtype 0001.
It would be nice to include in the trigger validity date.
Thanks for your help.
regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have implemented the procedure call ZCL_HR_TRIGGER_ACTION and linked that to my BRF+ rule. When I simulate, I get the correct action ID as output.
However, when I update the infotype 0105 in the backend system for USRID and save, I get still in my SLG1 log the message "Rule not satisfied".
Anybody an idea?
I guess "rule not satisfied" that there is no match between infotype updates of fields and the BRF+ rule that I built. Correct?
Can somebody advise in this matter?
Thanks & regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.