Skip to main content

All articles

C4C: New Visual Studio 2022: "Project Not Checked Out" error

Submitted by Stefan Barsuhn on

For a few months now, whenever I've opened a solution in the new Visual Studio 2022 SDK plugin, I've been receiving the annoying warning that my project targets an unsupported version of .NET, asking me whether I want to upgrade the target to .NET 4.8.

It was a mere nuisance, usually clicked okay and could continue to work.

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:

ERP: Translate an entire message class

Submitted by Stefan Barsuhn on

When you go to SE91 and want to translate messages, the system will generally only display the message you selected for translation.

If you want to handle the translation more efficient, go to SE63, select transport object, enter R3TR MSAG and the name of your message class, specify source and target language and click edit.

In the next screen, all your messages are displayed. Click "Sequentially Process Objects" and you can edit one message after another, pressing F7 and F8 to navigate back and forth.

Tags

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.

C4C/CPI: Automatically adjust mapping for DEV namespace

Submitted by Stefan Barsuhn on

As C4C development systems (that are in development) use a different namespace than non-dev systems, one challenge is to adjust the CPI mapping of extension fields when moving to test or production.

When you are finished with development and unit testing in your dev environment, naturally, all CPI iflow mappings that involve extension fields would be mapped to the DEV namespace. If you simply move this iflow/mapping to your test system, it won't work, as the DEV namespace is not known in the test/production environment.

Tags