
This lesson provides a view-only overview for configuring the S/4 system in preparation for inclusion in the SAP Business Data Cloud Formation. It also describes some back and forth with S/4 and the parameters/configuration from the SAP Business Data Cloud components.
Here are some additional useful documents for the steps involved:
Call the transaction strust in the system as shown in the following image.

Open the tab Environment > SSL Client Identities of System as shown in the following image. Here, we need to define the client identity of the system.

Select Choose.

Select New Entries.


Select the newly created PSE node and right-click Create. Information on how to create the PSE (Private Secure Environment) can be found here.

In the pop-up that appears, choose Revise DN (Distiniguished Name) by choosing the edit button (pencil icon).

Enter the component of the Distinguished Name (DN) of the system in the corresponding fields and choose Enter. There are various attributes with fixed and variable values.
Here is a sample subject pattern:
Additional Consideration:
For cf-eu10-canary, an additional key value pair needs to be included as shown here:
CN=staging, L=, OU=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXX, OU=Canary, OU=SAP Cloud Platform Clients, O=SAP SE, C=DEC, O, OU will be static. Only the OU will change per regional deployment of BDC/FOS- you must be aware in which region (EU/US) the formation is being created.
OU is the Global Account ID of BDC(FOS) and is different per landscape:
For example, if EU-10 and US-10 have different provider subaccounts, you would need to refer to documentation matrix broken down per region + hyperscaler. The only tenant specific information would be in L.
The following is how another sample subject might look like:
Additional Consideration:
For cf-eu10-canary, an additional key value pair needs to be included as shown in the following image. Hence, a sample subject would be as follows:
CN=staging, L=, OU=e48c7cf9-a4e0-4dcc-bc62-4a3d88f58bb0, OU=Canary, OU=SAP Cloud Platform Clients, O=SAP SE, C=DEIn certain cases, S/4 System ID might have a “$” in the beginning, for example, "$0204398045”. We need to remove “$” from the beginning and use the remaining part only.

With the private key and the signed self-signed certificate, we will create a certificate signing request using Create Certificate Request. Double-click on the PSE node to open the dialog.

Keep the default for the signature algorithm (PSE Algorithm) and choose Enter.

A dialog appears with the contents of the CSR.
Choose Continue.
The generated CSR can be used later for the SAP BDC Formation. This Certificate Signing Request can be sent to the Certificate Signing Authority through SAP Business Data Cloud.
Create a technical user (transaction SU01) for inbound communication for calling API and assign respective authorizations.
This is the technical user that is required for the BDC Formation. It must be created with all the relevant roles and authorizations by the S/4 admin. A password must also be chosen for the technical user and the type of the user is System.
For a more detailed guide about the technical user creation, please refer to Creation of S/4 Technical User lesson.
Creation of the BDC Formation can be performed as described in the Basic Configuration of SAP Business Data Cloud lesson.
After the Formation is created, in the Formation tab in SAP for Me, view the configuration for the added S/4 system as shown in the following image.

View the different parameters that are generated here as shown in the following image:


In the S/4HANA system, we need to import two Digicert certificates in the trusted certificates list.
The certificates can be downloaded from the Digicert website from the links below:
In the transaction strust, choose Import certificate as shown in the following image and import each of the certificates that were downloaded in the previous step. You can do this by selecting the certificate from the saved location and then choosing Add to Certificate List. Save your changes.



As mentioned in the earlier tip, the S4AdditionalAttributes: Host, Port and Path Prefix are required for the addition of the RFC destination. We take these property values and create a Destination in S4.
Open the S/4 system and start RFC transactions (Transaction SM59).

Choose Create.
Enter an RFC destination name. For example - BDC_RFC_S4
Choose Connection type as HTTP Connection to External Server (G)
Choose Enter


Enter a description:

Go to the Technical Settings tab and enter the Host, Port and Path Prefix that you noted previously.

If relevant, select the Logon & Security tab and enter the security settings as required.
That is, make sure that the correct PSE ID (and not the Default one) is selected for the certificate that was imported while creating the PSE and that SSL is set to Active.

Go to the Special Options tab and check the following settings.

Save the RFC Destination.
Once RFC connection is created, an outbound connection must be registered in ABAP Integration: Monitoring and Support Cockpit in SAP S/4HANA Cloud Private Edition. It is an administration tool for different scenarios regarding the extraction of data from an SAP system.
Use a user-created RFC connection to create a virtual connection that allows Business Data Cloud Integration to connect to the cloud file storage system. In edit mode, you can create a virtual connection and system will add this virtual connection to the list of outbound connections.
Start ABAP Integration: Monitoring and Support Cockpit (transaction DHADM).

Choose the Outbound Connections in SAP Business Data Cloud Integration menu folder. In edit mode, choose Register.

In the pop-up box, use RFC Destination, created in this previous step, as Virtual Connection ID and Connection ID and press enter.

To test the connection, select the relevant connection and choose Test.

If the connection test is successful, you see the following message Connection is OK.

Add the subaccount in the SAP Cloud Connector (SCC)
Save the contents of authenticationMetadata token from the previous step as a file with name authentication.data. We need this token to add the BTP subaccount in SCC.
In the SCC Adminstration tool, choose the Connector and choose Add Subaccount.

Select the option to upload the metadata from a file.

Finish the setup. Subaccount gets successfully added.

Add the configuration parameters from the BDC Formation into SCC.
We have to prepare the account configuration file that can be imported in the SCC. The contents of the systemMapping parameter starting at the backends parameter must be saved in a file called account_config.json.
1234567891011121314151617{"backends": [{
"sid": "BDC",
"authMode": "NONE_CERTIFICATE_LOCAL",
"protocol": "TCP",
"cloudhost": "kymaxxxxx",
"localhost": "xxxxxx.devsys.net.sap",
"localPort": "xxxx",
"resources": [],
"backendType": "abapSys",
"description": "DESCRIPTION",
"creationDate": 1730796401642,
"hostInHeader": "virtual",
"allowedClients": [],
"blacklistedUser": []
}
]}
Using the Select Subaccount button, select the newly added BTP subaccount in SCC. Under the tab Cloud to On-Premise system, upload the account configuration file (zipped).

Browse to the zipped folder and upload it as shown in the image below.

Once the system mappings are imported, the access control to the on-premise system is still in Unchecked status.

Select the Check Internal Host checkbox and choose Save. The system changes to Reachable status.

If the upload of the zipped file is not successful, then you can update the parameters manually. The contents of the systemMapping parameter from the previous step will also be required for the workaround.
Using the Select Subaccount button, select the newly added BTP subaccount in SCC. Under the tab Cloud to On-Premise system, use the Add (+) button to add the parameters manually.

Back-end Type must be set to ABAP System. Choose Next.

The Protocol must be set to TCP. Choose Next.

The Internal Host is the localHost name from the systemMapping parameter that was saved from the previous step. 3300 is the Gateway port.

The Virtual Host and Virtual Port values are the cloudHost and cloudPort values from the systemMapping parameter.

Select the Check Internal Host checkbox and choose Finish.

The destination added must be Reachable as shown in the following image.

For the creation of the SAP BDC Formation in a later step, you will be prompted to enter the S/4 PCE instance number. Note down the instance number for later use as follows.


Congratulations! You have successfully configured the S/4 system.