Skip to Content

Below are the steps to create the first HR Triggers BRF+ Rule, the simplest and basic way to create it.


Creating the objects

  The order in which you create the objects may vary according to your preference.

1- Data object of type Table, called HR_TRIGGER_TABLE, with binding to GRAC_T_HR_TRIGGER_BRFP

2- Data object of type Table, called ACTION_ID, with binding to GRAC_T_HR_ACTION_ID_BRFP

3- Function, assigning the context in Signature

4- Decision Table

5- Rule2

6- Loop

7- Rule1

8- Ruleset

9- Assign the Ruleset to the Function

  My suggestion is to create the objects in the above order, but only ACTIVATE them at the end, once all objects are created.

  This way you avoid activation errors.


Function

Assign the context in the function signature, as follows:


Data Objects

1- Data object of type Table, called HR_TRIGGER_TABLE, with binding to GRAC_T_HR_TRIGGER_BRFP

2- Data object of type Table, called ACTION_ID, with binding to GRAC_T_HR_ACTION_ID_BRFP

Once you create them, automatically the correspondent Structure and Elements will appear.


Decision Table


Rule_2 object

To add operartion (1): in Edit mode, go to Add->Process Expression->Decision Table and select the decision table object.

To add operartion (2): in Edit mode, go to Add->Assign Value to Context->Table type for Action ID.

Click on Change, and select “Select Context Parameter”, choose “Action ID” (text type).

In addition, click on Change, and set it to “Insert”, once you complete, it should look like below:

Save.


LOOP object

In Edit mode, go to Options>Add Rule->Select an Existing Rule.

And select Rule_2 object.

Save.


Rule_1 object

In Edit mode, go to Add->Process Expression->and select LOOP_1 object.

Save.


Ruleset_1 object

In Edit mode, go to Options>Add Rule->Select an Existing Rule.

And select Rule_1 object.

Save it.

Assign the ruleset in the function:

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Maria Piedra

    Luciana

    I wanted to ask, since you seem to be the resource with the most knowledge around HR Triggers. Is it true that we can’t lock and end date users? That we can either lock or end date users when we want to do Terminations?

    Thank you!

    Maria Alejandra Piedra

    (0) 
    1. Luciana Ullmann Post author

      Hello Maria Piedra, It is not true. In Termination HR trigger requests, the expected behavior is to end date and lock the user, assuming you have properly configured the HR settings, request type actions, etc. Are you not able to achieve this? Do you have an incident created with GRC Support?

      (0) 
      1. Maria Piedra

        Luciana

        Thank you for your response. Here’s what I got from SAP verbatum:

        Hi Maria,

        Sorry for delay in response.

        I have analyzed the issue in your system.

        1. In HR termination, expected outcome is delimiting the valid to of

        the user and locking the user can’t work simultaneously with this.

        Hence my reply was:

        Let me get this straight. You’re saying we can’t have both functionalities at

        the same time? Meaning the user is either locked or end dated? Assuming that expiring the user is adding the end date.

        And then I got this:

        Hi Maria,

        Yes, your understanding is correct, both functionalities can’t work simultaneously.

        This is very very very frustrating since I have had this message open for many months now, and to get this far just so they can tell me it can’t be done, it seems actually unproffessional.

        Thank you so much Luciana!

        PS: You had actually helped me in the beginning with this message: HR Trigger not populating valid to and from in request ( 531279 /
        2015 )

        (0) 
        1. Luciana Ullmann Post author

          Hello Maria, colleague working with you on that incident is an expert and is a developer. Perhaps I am outdated on this subject. Perhaps functionality changed with Future terminations. So in this case I would trust what he is saying as he is the expert from development. Sorry I cannot help further, Thanks. Luciana.

          (0) 

Leave a Reply