SAP Knowledge Base Article - Public

3390608 - Custom Recipient Determination is Missing for Custom Business Object

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

  1. Log in to SAP Cloud Applications Studio.
  2. Create an enhancement implementation for "ExitForGettingWorkflowRecipients" BADI (e.g. ZCustomDetermination.enht).
  3. Go to enhancement implementation filter (i.e. ZCustomDetermination.fltr file).
  4. Insert custom business object Name (e.g. ZCustomBO).
  5. Save and Activate it.
  6. Navigate to Administrator > Workflow Rules work center view.
  7. Create a Workflow for the custom business object.
  8. Go to Custom Recipient Determination section.
  9. 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

Product

SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions