Skip to main content

Cloud Application Studio

C4C: New Visual Studio 2022 - unable to create script files in Custom BO

Submitted by Stefan Barsuhn on

In the new Visual Studio 2022 plugin, it is not possible to create script files (or perform other BO operations) without first checking out and making a dummy edit to any custom BO.

I had created a custom BO yesterday and wanted to proceed with the script files today, when I noticed that I couldn't create them:

C4C: Workflow Rules - Late Condition evaluation

Submitted by Stefan Barsuhn on

According to SAP note 3053335, workflow rule actions that are scheduled “OnSave” are executed BEFORE the BeforeSave. Accordingly, the BeforeSave cannot influence the OnSave action.

However, SAP can enable a backend flag, called “Late Condition Evaluation”. 

With that enabled, OnSave actions are executed AFTER the BeforeSave and therefore the BeforeSave suddenly has an influence on the OnSave action.

C4C: SAP Cloud Application Studio error "Object instance creation of action rejection implementation class failed"

Submitted by Stefan Barsuhn on

In case you're facing a C4C dump (500 Internal Server Error), create an incident from it and find that the the Incident Context => /SAP/ABAP/RuntimeError file shows the error "Object instance creation of action rejection implementation class "<PDI solution namespace>_CL_ACTION_VALIDATION" of action "<PDI solution namespace>_<ID>" on node "ROOT" in BO "<BO>" failed" - you have to do a full solution activation to resolve the issue.