on 2018 May 31 6:51 AM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
2 | |
2 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.