Skip to main content

SAP

BTP Cloud Integration: useOneAsMany

Submitted by Stefan Barsuhn on

To me, useOneAsMany is to BTP Mappings what offside is in soccer: incredibly difficult to understand or explain to a newcomer.

I don't need to use it everyday, so I keep forgetting how it works myself - at the same time, I find the various explanations out there very complicated and hard to follow. So I'll give it a try myself, hoping it will at least help me remember next time I need to use it:

In short: useOneAsMany allows you to reuse a field that occurs only once in a context that occurs multiple times. Think header field on item level.

Tags

On the future of C4C

Submitted by Stefan Barsuhn on

I had a conversation with SAP folks recently and brought up the future of C4C. My current impression in dealing with SAP Support is that it's "maintenance only" and their logic regarding bugs seems to be: SAP standard always "works as designed", so if the reported behaviour is part of SAP it - naturally - can't be a bug. I also noted that there are hardly any new features in C4C, all attention is on v2.

Tags

The Four Classes of SAP Consultants

Submitted by Stefan Barsuhn on

I'm a big fan of the Lazy Admin approach. Little did I know that its spiritual father was Kurt von Hammerstein-Equord, a German general and prominent Hitler opponent, who died much too soon.

He classified military officers as follows:

I distinguish four types. There are clever, hardworking, stupid, and lazy officers. Usually, two characteristics come together.

Tags

C4C: Return Value in Reuse Functions

Submitted by Stefan Barsuhn on

C4C has an interesting quirk (I wouldn't go so far and classify it as a bug): 

Assume you have a reuse function that returns a value.

In this case, you need to make sure that your script always (i.e. in all scenarios) explicitly (i.e. using the return statement) returns a value.

If you don't, it will return the same value it returned when it was previously called.

Tags

C4C: Integration - System Instance ID vs. Business System ID vs. IDOC Logical System ID

Submitted by Stefan Barsuhn on

When you maintain a communication system in SAP C4C for integration with an SAP backend system (ERP, S/4), you flag the "SAP Business Suite" field and then maintain the "Business Instances".

The terminology has always confused me, but I just came across a pretty old blog by SAP that explains these fields under a somewhat unintuitive title: Communication System Setup and Message Header Hand... - SAP Community.

Tags

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.

Tags

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: