Symptom
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
You have created a custom recipient determination via SAP Cloud Applications Studio by using "ExitForGettingWorkflowRecipients" BADI for a particular custom business object, however when accessing the Workflow work center view, you can't select it when creating a rule for the custom business object.
Environment
- SAP Cloud for Customer
- SAP Cloud Applications Studio
Reproducing the Issue
- Log in to SAP Cloud Applications Studio.
- Create an enhancement implementation for "ExitForGettingWorkflowRecipients" BADI (e.g. ZCustomDetermination.enht).
- Go to enhancement implementation filter (i.e. ZCustomDetermination.fltr file).
- Insert custom business object Name (e.g. ZCustomBO).
- Save and Activate it.
- Navigate to Administrator > Workflow Rules work center view.
- Create a Workflow for the custom business object.
- Go to Custom Recipient Determination section.
- You can't see enhancement implementation Created (e.g. ZCustomDetermination) to be selected.
Cause
You can't see enhancement created through SAP Cloud Applications Studio because you have selected custom business object name in the enhancement implementation filter (i.e. ZCustomDetermination.fltr file) as following:
Resolution
It is not supported as the enhancement implementation filter (e.g. ZCustomDetermination.fltr file) expects the Technical ID of the Custom Business Object (e.g. YABCDEFGH_ZTRY00298B59F3118F86) instead of the Custom Business Object Name. The enhancement implementation filter controls which business objects which will be allowed to use enhancement implementation just created and hence, you will have two alternatives:
- To insert the Technical ID of the Custom Business Object, which can be found either in GEN folder of .ZIP file if it is an Assembled Solution or by raising a case to SAP Support.
- To insert no values in (e.g. ZCustomDetermination.fltr file). Please ensure to add no rows and the Enhancement Implementation will be available to be selected in all business objects rules.
Keywords
ExitForGettingWorkflowRecipients, workflow rules, custom recipient determination, WORKFLOW_NOTIFICATION, ES_WKF_NTF_CUST_RECIP, BADI_WKF_NOTIF_CUST_RECIP , KBA , AP-RC-BDS-AE , ByDesign Studio Application Exits , LOD-CRM-WKF , Workflow , AP-RC-BDS-BTM , ByDesign Studio Business Task Management , How To