Find your API host
The API host is where StackOne sends requests.
Work out the host
For Cloud Public Edition, take your Fiori launchpad host and add -api after the system ID.
- Launchpad
https://my123456.s4hana.cloud.sap/uigives API hostmy123456-api.s4hana.cloud.sap - For Private Edition or on-premise, use the host and port your Basis team exposes for OData, e.g.
s4.example.com:44300
Prepare the certificate
SAP only accepts client certificates signed by a CA on the SAP Global Trust List (SAP Note 2801396).
Get a CA-signed certificate
Obtain an X.509 client certificate and its private key from a CA on the SAP Global Trust List. You need both in PEM (Base64) format, with the private key unencrypted.
- Convert a binary DER
.cerwithopenssl x509 -inform der -in cert.cer -out cert.pem - Remove a key password with
openssl pkey -in key.pem -out key-plain.pem - Private Edition and on-premise: import the issuing CA into STRUST (SSL server PSE) and map the certificate to a user with CERTRULE; no Communication User or Arrangement is used
Create the Communication User
The certificate identifies a Communication User.
Upload the certificate
Open Maintain Communication Users, click New, enter a User Name (e.g. STACKONE_INTEGRATION) and upload the client certificate under certificate-based authentication. Click Create.
Create the Communication Arrangements
Each API is enabled by a Communication Arrangement.
Create a Communication System
Open Communication Systems, create a system for StackOne and add the Communication User under Users for Inbound Communication with authentication method SSL Client Certificate.
Create the arrangements
Open Communication Arrangements and create one arrangement per API, each using the Communication System above.
SAP_COM_0008for Business Partner, Customer and SupplierSAP_COM_0009for ProductSAP_COM_0109for Sales Order and Sales Order SimulationSAP_COM_0120for Billing DocumentSAP_COM_0118for Sales Quotation,SAP_COM_0119for Sales ContractSAP_COM_0294for Sales Pricing Condition Records,SAP_COM_0134for Customer MaterialSAP_COM_0164for Material Stock,SAP_COM_0108for Material DocumentsSAP_COM_0374for Warehouse, Storage Bins and Fixed Bins,SAP_COM_0755for Warehouse Stock,SAP_COM_0353for Warehouse Orders and TasksSAP_COM_0008is needed for the connection test; for the others, create only the arrangements for the APIs you use, actions for other APIs return 403
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions