SAP Knowledge Base Article - Public

3746098 - Error "create not possible; source object inconsistent" of EmailActivity object

Symptom

  • EmailActivity is deprecated in C4C, but not deprecated in Business ByDesign.
  • The add-on cannot create an EmailActivity business object in a BeforeSave ABSL script; the returned instance variable is not set.
  • Error message: "Message (EMAIL_ACTIVITY, ROOT) Create not possible; source object inconsistent"

Environment

  • SAP Business ByDesign
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Navigate to the UI and modify any field.
  2. PDI BeforeSave event be trigger.
  3. Debug the BeforeSave ABSL; observe that the EmailActivity.Create(...) result is not set.
  4. Check the application log/debugger and see:
  • "Create not possible; source object inconsistent"
  • "Process type not determined for type code"

Resolution

  1. Verify scoping for Email Activity:
  2. Open Business Configuration and review scoping questions for Activity Management (email activities).
  3. If email activities are not in scope, enable the relevant scope.
  4. Activate and deploy changes:
  5. Finish scoping, save, and apply the BC changes.
  6. If applicable, activate your add-on and redeploy to ensure metadata is refreshed.
  7. Validate process type determination:
  8.  Ensure a valid process type for EmailActivity exists and can be determined by the system.
  9. Review ABSL create logic:
  10. Set mandatory fields (for example, EmailActivity.Name) before calling EmailActivity.Create(...).
  11. Re-run the BeforeSave and confirm that the created instance is set.
  12. For implementation guidance, refer to the resources in the See also section.

See Also

Keywords

EmailActivity, create not possible, source object inconsistent, process type not determined, BeforeSave, ABSL, ByDesign, activity management, scoping, business configuration, PDI, SDK, email activity creation, BO create failure, process type determination , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions