Skip to Content

*******************************************************************************************************************

Note: This is the very fresh information, I will update if the setting has been completed successfully

*******************************************************************************************************************

As some of you may have experienced about the configuration for Leonardo Cash Application.

I faced many struggle since this week and put the information for others.

This  blog is described about,

 

The  behavior of Cash Application Configuration Wizard

 

Two types of PoC are exist for Cash Application

  1. Data Extraction PoC
  2. Full PoC 

Data Extraction PoC

Difference between the two PoC is, 1 is only extracting historical data and run benchmark Python scripts in ML environment. ( Just Ubuntu environment installed relevant Python library without SAP CP)

I have experienced some data extraction PoCs for several customers and it will be described in the other article, later.

  • Note 2613870 – Packages & DDIC Objects
  • Note 2609953 – Extraction Report Program

Today, I want to share the configuration for PoC which is actually combination of 1 and 2.

It has been changed since I got in March 13 2018.

 

Full PoC

For Full PoC, S/4 environment has to be connected to SAP Cloud Platform to request provisioning to raise OSS ticket to Cloud Operations team. There are few information available, and sometimes takes too long to complete the set up.

 

Why the Data Extraction PoC has been offered because, it has very time consuming to connect with SAP CP server.

Then, most of the initial PoC for Cash Application has been done in Data extraction PoC.

It can be done minimum 3-4 weeks for 1 PoC.

You can see the difference of the PoC from the process in above pictures.

Now, I am supporting PoC for type 1 but with type 2 configurations.

 

Prerequisites

  • The SAP CP and S/4 are integrated via Cloud Connector or proxy.

 

  • Activation of the WebDynpro Application

t-cd SICF has to be enabled in advance.

Services: FPM_S4ML_CONFIG_WIZ

Path: /sap/bc/webdynpro/sap/fpm_s4ml_config_wiz

  • HTTPS server port configuration in ICM and Instance Profile parameter

If not HTTPS server port is not configured, required to configure.

The Endpoint Setting for Cash Application

There are the following 6 endpoints available for Cash Application, and was required to set manually in t-cd SM59 and STRUST.

  • Health Check
  • Training Data :

– Companies

– Cleared Bank Statement Items

– Relations

– Clear Receivables

  • Open Receivables
  • Payment Advices (CE1802)
  • Inference Job
  • Inference Result

Now, new ML Configuration Wizard has been delivered and no need to create HTTP connection destination manually.

The step of the wizard T-cd S4ML_CASHAPP_CONFIG

The wizard is a WebDynpro application to cover two existing transaction setups.

  • SM59 RFC destination
  • OA2C_CONFIG OAuth2.0 Client
  1. Paste the JSON scripts to “Create Destination” and OAUTH2.0 client setting.

This JSON scripts are provided by ML development team.

When you see the seven messages, all 6 HTTP connection destinations are created, and OAUTH are configured successfully.

2. Execute the “Test Connection”.

When green lights are shown, it has been configured successfully.

 

Remarks

Previously, to enable the authentication between SAP CP and S/4, it has to be exported client certificate and uploaded, now it replaced to OAUTH2.0 authentication and not required to exchange the .cert files. However, it is needed to upload the certificate file shared by development to receive the response from Cash Application API via HTTPS.

The detail explanation provided by ML development are below:

=================================================

For oAuth 2.0, certificate exchange is not needed. However, since our APIs are running on HTTPS, in order for customer ERP system to be able to decrypt response from SAP cloud, their STRUST store needs to contain certification authority’s certificates which we used to encrypt our response from SAP cloud.

Attached DigiCert certificates can be used for all customer and we need to enhance our documentation to request customer to upload these certificates to their STRUST. Normally, I will consult the customer to upload these accredited certificates in both “SSL Client Anonymous” and “SSL Client Standard”.

==================================================

 

 

 

 

 

 

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply