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

Creating custom variables for SAP_GRAC_FUNC_APPR Process ID

lashele_harris
Explorer
0 Kudos
1,199

I have a requirement to add a System and work inbox link to the SAP_GRAC_FUNC_APPR workflow notification. We have copied the standard function to our customer name space and added the code for the variables we need. However, I see there is an gap whereas the rule ID is still pointing to the standard GRAC_NOTIF_VAR_RULE_FUNCAPPR. I was hoping someone can assist me with copying this to a custom name space. I believe this should be done via BRF+, but I can't figure out the exact steps to take to complete. Any assistance provided will be greatly appreciated.

Thanks,

LaShele

Accepted Solutions (1)

Accepted Solutions (1)

madhusap
Active Contributor
0 Kudos

Hi Harris,

Issue seems to be with your function module "Z_GRAC_NOTIF_VAR_RULE_FUNCAPPR".

Please check following:

1. Check if your FM is in ACTIVE state

2. Check Import and Export parameters. They should be same as FM "GRAC_NOTIF_VAR_RULE_FUNCAPPR"

Regards,

Madhu

Answers (5)

Answers (5)

lashele_harris
Explorer
0 Kudos

You were correct it was an issue with ABAP code. This has been corrected and now I'm able to add the custom function without any issue.

Thanks

lashele_harris
Explorer
0 Kudos

Madhu,

Please see the attached screenshot requested as well as the error message I get.

lashele_harris
Explorer
0 Kudos

Madhu Babu,

I also see that you have the a custom Process Initiator Z_GEACFM_ARQ_INITIATOR . I believe this is the process that I need more information on. Is this configure in BRF+? If so, how do I find and copy the standard to my custom name space.

LaShele

lashele_harris
Explorer
0 Kudos

Thanks Madhu Babu,

I configured this before I asked the question and I got the following error: "Invalid notification rule ID. Please select a valid rule of type 'Notification Variables Rule'." Is this related to something that the developer needs to do. The developer created the copied function. Any additional information will be greatly appreciated.

LaShele

madhusap
Active Contributor
0 Kudos

Hi Harris,

If you have copied standard function module based notification variables rules and created new one then while maintaining the newly created rule in your MSMP workflow configuration, you have to specify rule type as "Function Module based rule".

Also, please share screenshots of your MSMP configuration and notification variables rule so that it will be easy to assist you with your exact issue.

Regards,

Madhu

madhusap
Active Contributor
0 Kudos

Hi LaShele,

You have to change the Notification variables rule in your MSMP workflow configuration from Standard FM rule to your Custom rule you have created. (For reference, I am attaching access request screenshots)

Also new notification variables in your Custom Notification variables rules have to be added under "Variables & Templates" section of MSMP workflow configuration.

Regards,

Madhu