cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Notification Variables for GRC MSMP

Former Member
3,182

Hi everyone,

I need to define some custom variables for MSMP workflow and found that the easiest way is to copy FM GRAC_NOTIF_VAR_RULE_* (e.g. GRAC_NOTIF_VAR_RULE_USER_ACC).

However, a simple copy will ignore future standard SAP variables that may be introduced.

Hence my question: is there a way to call the standard FM inside my copied FM, so my FM only adds my custom variables? I found that just making an FM call does not work and my custom code is ignored. I believe it has to do with the initialisation in grfnw_msmp_parse_rule_params happening again in the standard FM.

Thank you all in advance for any insights.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member

Hi Rajeshwari, that's exactly what we are doing, as I mentioned in the question.

However, if SAP introduces a new variable or corrects the code, we will have to manually copy the code to our own FM.

Hence my question: is it possible to call the standard FM from our FM? We tried, but it seems that the standard FM initialises some parameters but doesn't pass them over for our code to use and append the custom variables values.

Regards.

0 Kudos

Hello Rodrigo,

You need to create Z FM and add the logic for the Z variable in the function module. Once done activate it. Add this newly created FM in Maintain Rules step of MSMP configuration

You can refer to the blog below

https://blogs.sap.com/2015/04/18/grc-email-notificationsvariables-customization/

Thank you

Rajeshwari

Former Member
0 Kudos

Not quite what we need, but thanks for your attention.