Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
saroopreddy88
Explorer
23,550

Architecture:

saroopreddy88_0-1736351376360.png

 

Prerequisites:

The following ABAP systems/environments are supported:

  • SAP NetWeaver 7.50 SP24 or higher.
  • S/4HANA on-premise 1809 (SP8+), 1909 (SP6+), 2020 (SP4+), 2021, or higher.
  • ABAP environment on SAP BTP.

 

 

Involved Components:

This document talks in detail about integrating S/4HANA On-Premise to ADS on BTP and includes below servers/components.

  1. S/4HANA On-Premise 1809 or higher
  2. SAP Cloud Connector
  3. SAP BTP with Adobe Forms Service (Cloud Foundry) enabled or created.

Integration:

Go to Adobe Forms Service sub account from BTP and create the service key.

saroopreddy88_1-1736351376369.png

 

 

 

Give any name for the service and save it.

saroopreddy88_2-1736351376373.png

 

Once service key is created, we need to open the key and save the details as they will be needed when we are doing configuration steps in S/4HANA on premise.

Login to BTP and go to the Adobe Forms Service subaccount.

saroopreddy88_3-1736351376382.png

 

Save the ClientId, Clientsecret, url and uri.

 

SSL Setup to BTP:

Establish the SSL setup to SAP BTP in your ABAP system by importing the required security certificates from https://www.digicert.com/digicert-root-certificates.htm

Download below certificates and import them under SSL Client Standard and SSL Client Anonymous.

 

  • DigiCert Global Root CA
  • DigiCert Global Root G2

Configure OAuth2 client:

Ensure below SICF services are active.

saroopreddy88_4-1736351376389.png

 

We need to establish OAuth 2.0 client connection between S/4 and SAP Adobe Forms Service. Go to OA2C_CONFIG transaction code

saroopreddy88_5-1736351376402.png

 



Choose ADS_OAUTH2_PROFILE, give any Configuration Name, OAuth 2.0 Client ID will be the Client ID that we saved from the service key in previous step and click OK.

saroopreddy88_6-1736351376415.png

 

We need to maintain the Client Secret which will be there in the service that we have generated and saved in previous steps.

Authentication Endpoint à <urlfrom service key>/oauth/authorization

Token Endpoint à <urlfrom service key>/oauth/token

saroopreddy88_7-1736351376427.png

 

Go to Access Settings section and change grant type to Client Credentials and save the configuration.

saroopreddy88_8-1736351376433.png

 

We can see the configuration that we have saved as below.

saroopreddy88_9-1736351376435.png

 

 

RFC Destination to Adobe Forms Service on BTP:

We have to create a type G RFC from S/4 to ADS on BTP.

saroopreddy88_10-1736351376437.png

 

Go to Logon & Security tab and click on OAuth Settings under Logon Procedure.

saroopreddy88_11-1736351376438.png

 

Click on the Lens and select the configuration that we have done in OA2C_CONFIG and click OK.

saroopreddy88_12-1736351376439.png

 

Set Security options as shows below and save the RFC.

saroopreddy88_13-1736351376441.png

 

Ensure fp and fpads services are active in SICF under default_host.

saroopreddy88_14-1736351376465.png

 

Create Destination from Cloud Connector to S/4 on-premise:

Login to SAP Cloud connector admin page and add the new BTP Adobe Forms Sub account.

saroopreddy88_15-1736351376468.png

 

Enter all the Sub Account details which will be available under BTP à Sub account and save.

saroopreddy88_16-1736351376471.png

 

If you are connecting multiple cloud connectors to same Adobe Forms Service subaccount, then maintain Location ID. This Location ID will be used in BTP configuration as it plays an important part in establishing the connection.

saroopreddy88_17-1736351376472.png

 

Once the sub account is added to cloud connector we need to create a destination to S/4 on premise. In Cloud Connector Admin page click on select Subaccount and select the sub account that we have added in above step

saroopreddy88_18-1736351376473.png

 

Then click on Cloud to On Premise and create the destination.

saroopreddy88_19-1736351376480.png

 

saroopreddy88_20-1736351376486.png

 

saroopreddy88_21-1736351376494.png

 

Enter the hostname and https port from SMICM of your S/4.

saroopreddy88_22-1736351376496.png

 

Enter any virtual name and http port from SMICM. This virtual name and port will be used in configuration that we have to do in BTP in further steps

saroopreddy88_23-1736351376498.png

 

We are not selecting any Principal Propagation SSO method.

saroopreddy88_24-1736351376501.png

 

saroopreddy88_25-1736351376504.png

 

saroopreddy88_26-1736351376507.png

 

Enter description (Optional)

saroopreddy88_27-1736351376510.png

 

Validate the details and click Finish.

saroopreddy88_28-1736351376512.png

 

We need to add the resources under the entry we created in above step. Select the entry and click buttons as shown below.

saroopreddy88_29-1736351376519.png

 

Enter the resource, access policy and save.

saroopreddy88_30-1736351376521.png

 

Do the connection test and ensure it is reachable.

saroopreddy88_31-1736351376522.png

 

 

BTP Destinations:

We have to creation the destination in BTP under the Adobe Forms Service subaccount.

saroopreddy88_32-1736351376526.png

 

Enter the details as shown below.

Name à FP_ICF_DATA_<SID>

URL à Should be the virtual hostname and port that we have given in Cloud Connection Destination step.

Location ID à If we are using multiple cloud connectors then we need to maintain the location ID that we have used while we were adding Adobe Forms Services to Cloud Connector in previous steps.

User à User ID with all ADS required authorization from S/4.

saroopreddy88_33-1736351376529.png

 

Ensure that Connection test is successful.

saroopreddy88_34-1736351376532.png

 

saroopreddy88_35-1736351376533.png

 

Validations:

Run the regular ADS related reports that we use like FP_TEST_00, FP_CHECK_DESTINATION_SERVICE, FP_PDF_TEST_00

To validate Oauth configuration run the report OA2C_GENERIC_ACCESS

saroopreddy88_36-1736351376535.png

 

saroopreddy88_37-1736351376537.png

 

Additional Reference:

https://help.sap.com/docs/forms-service-by-adobe/sap-forms-service-cf/sap-forms-service-by-adobe?q=l...

 

 

 

 

 

 

 

9 Comments