Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
srakeshkumar18
Discoverer


Group Reporting Data Collection integration with SAP S4 HANA

In this blog, we will go through the steps involved in setting up the BTP service Group Reporting Data collection and integration with SAP S4 HANA

System requirements:

  • SAP S4 HANA On-Premise 1909 or above
  • SAP BTP sub account
  • SAP Group Reporting Data collection Subscription
  • SAP Cloud connector

Steps involved:

  • Subscribe to SAP Group Reporting Data Collection Application
  • Configure Tiles Using an HTTP Connection for SAP S/4 HANA 2020 FPS1 and Higher Versions
  • Configure the cloud connector
  • Create destinations
  • Define and bundle roles on SAP BTP

Subscribe to SAP Group Reporting Data Collection Application:

Open the SAP BTP Cockpit and navigate to the subaccount. In the entitlements, add service plan for SAP group reporting data collection with standard plan.

srakeshkumar18_25-1710747487828.pngsrakeshkumar18_26-1710747501532.png

srakeshkumar18_27-1710747565032.png

Go to instances and subscriptions , add a new instance for GRDC

srakeshkumar18_28-1710747602644.pngsrakeshkumar18_29-1710747625978.pngsrakeshkumar18_30-1710747637656.png

Configure Tiles Using an HTTP Connection for SAP S/4 HANA 2020 FPS1 and Higher Versions:

 Create a HTTP Connection To External Server with Connection Type: G.

srakeshkumar18_31-1710747737745.png

In the RFC Destination field, enter FIN_GRDC Under Administration  Target System Settings  Host, enter https://<scp_host_name>. For example: http://[your_subaccount_name].grdc-sap.cfapps.[region_name].hana.ondemand.com/.

Configure the cloud connector:

HTTPS Mapping:

We have configure principal propagation in cloud connector as a prerequisite for creating HTTP mapping,

Create self signed certificate for system certificate

srakeshkumar18_33-1710748661715.png

srakeshkumar18_34-1710748684721.png

Create self signed certificate for  CA certificate

srakeshkumar18_35-1710748728056.png

Upload the cloud connector certificate in strust

srakeshkumar18_36-1710748784247.png

Update the cloud connector subject in the trusted reverse proxy parameter

srakeshkumar18_37-1710748880219.png

Set the subject pattern as email

srakeshkumar18_38-1710748919515.png

srakeshkumar18_39-1710748949988.png

Download the sample certificate

srakeshkumar18_40-1710748968290.png

In the CERTRULE tcode, upload the sample certificate and make sure the email ID is available for a user in the S4 system.

srakeshkumar18_41-1710749025000.png

Create HTTPS mapping with principal propagation as below,

Add Mapping Virtual To Internal System and enter the following:

 

Backend-type

ABAP System

Protocol

HTTPS

Internal Host

Host for the S/4 HANA backend services

Internal Port

Port for the S/4 HANA backend services

Virtual Host

Enter any value.

Note

Remember your entry as you need it to configure the destination in your SAP BTP subaccount.

Virtual Port

Enter any numerical value.

Note

Remember your entry as you need it to configure the destination in your SAP BTP subaccount.

Principal Type

X.509 Certificate (General Usage)

Host In Request Header

Use Internal Host

 

Select the mapping you just created and add Resources.

 

URL Path

/

Access Policy

Path and all sub-paths

srakeshkumar18_42-1710749183894.png

RFC SNC Mapping:

Install SAP Cryptographic library with S4 PRD SNC certificate in PRD cloud connector

srakeshkumar18_43-1710749211875.png

Set the parameter “login/certificate_mapping_rulebased” to 1

srakeshkumar18_44-1710749237372.png

In SNC0 tcode, update the cloud connector system ID and SNC name. Make sure the Entry for RFC activated, Entry for CPIC activated , Entry for certificate activated checkboxes are ticked.

srakeshkumar18_45-1710749267437.png

Create RFC SNC mapping in cloud connector as below,

Add Mapping Virtual To Internal System and enter the following:

 

Backend-type

ABAP System

Protocol

RFC SNC

Application Server

host for the S/4 HANA backend services

Instance Number

Instance number of the S/4 HANA backend

Virtual Application Server

Enter any value.

Note

Remember your entry as you need it to configure the destination in your SAP BTP subaccount.

Virtual Instance Number

Enter any numerical value.

Note

Remember your entry as you need it to configure the destination in your SAP BTP subaccount.

Principal Type

X.509 Certificate (General Usage)

SNC Partner Name

ABAP system's SNC identity name (for example, p:CN=SID, O=Trust Community, C=DE)

 

Select the mapping you just created and add Resources.

 

Function Name

FC

Naming Policy

Prefix

srakeshkumar18_46-1710749327518.png

Now, we are back to the BTP subaccount. Navigate to the connectivity section and create 2 destinations for the 2 mappings we created in cloud connector.

For S4HanaCConsoEndpoint, enter the information shown in the following table and save your changes:

 

Type

HTTP

URL

http://<host:port as defined in Cloud Connector>

Proxy Type

OnPremise

Authentication

PrincipalPropagation

Additional Properties

sap-client

Client number of your system

 

Note:

 

Ensure the correct capitalization of the destination name S4HanaCConsoEndpoint. If the destination S4HanaCConsoEndpoint already exists, change the settings to those given in the table above.

srakeshkumar18_47-1710749358207.png

For S4HanaCConsoEndpoint_RFC, enter the information shown in the following table and save your changes:

 

Type

RFC

Repository User

Technical user with required access

Additional Properties

jco.client.ashost

<host as defined in Cloud Connector>

jco.client.client

Client number in SAP S/4HANA

jco.client.sysnr

<instance number as defined in Cloud Connector>

jco.destination.auth_type

PrincipalPropagation

 

Note:

 

Ensure the correct capitalization of the destination name S4HanaCConsoEndpoint_RFC. If the destination S4HanaCConsoEndpoint_RFC already exists, change the settings to those given in the table above.

srakeshkumar18_48-1710749396563.png

Under the security tab, navigate to role collections and create the below role collections,

App

Role

Description

Manage Packages

SAP_BCR_FIN_CCON_GRDC_SCM_PC

Access Manage Packages

Define Ad Hoc Items

SAP_BCR_FIN_CCON_GRDC_MAHI_PC

Access Manage Ad Hoc Items

Manage Forms

SAP_BCR_FIN_CCON_GRDC_DFR_PC

SAP_BCR_FIN_CCON_CQA_PC

Access Manage Forms

Access the comments, questions and answers functionality from the Manage Forms app.

Enter Package Data

SAP_BCR_FIN_CCON_GRDC_ERD_PC

SAP_BCR_FIN_CCON_CQA_PC

Access Enter Package Data

Access the comments, questions and answers functionality from the Enter Package Data app.

Define Data Mapping

 

 

 

SAP_GRDC_DDM_READ

Access mapping definitions in read-only mode, with no rights to download the mapping file.

 

SAP_GRDC_DDM_WRITE

Create, delete and edit mapping definitions, with no rights to overwrite a mapping file.

When creating a mapping definition, the user is allowed to upload a mapping file.

For existing mapping definitions, the user isn't allowed to upload a new mapping file.

 

SAP_GRDC_DDM_EDIT_RESTRICTIONS

Access in read-only mode the complete list of mapping definitions and edit the definition access restrictions.

This role allows a user to see and modify the access restrictions of all definitions, independently of any access restrictions changes.

For more information on access restrictions, see Define Access Restrictions.

 

SAP_GRDC_DDM_DOWNLOAD_MAPPING _FILE

Access mapping definitions in read-only mode,with the right to download the mapping file.

 

SAP_GRDC_DDM_UPLOAD_MAPPING _FILE

Edit a mapping definition with the right to upload a mapping file but with no rights to modify or delete the definition.

Run Data Mapping

 

 

 

SAP_GRDC_RDM_READ

Access jobs in read-only mode.

 

SAP_GRDC_RDM_WRITE

Create, delete and edit jobs with no rights to run them.

 

SAP_GRDC_RDM_RUN

Run a job in test mode without importing data (test mode or import into a CSV file).

 

SAP_GRDC_RDM_RUN_IMPORT

Run a job and import data only.

 

SAP_GRDC_RDM_ENABLE_TL

Generate a traceability log.

Note

This right can't be assigned alone, you must also add the SAP_GRDC_RDM_RUN_TEST right and / or SAP_GRDC_RDM_ENABLE_TL right.

 

SAP_GRDC_RDM_DOWNLOAD_TL

Download a traceability log.

 

SAP_GRDC_RDM_RUN_DWNLD_CSV

Download the CSV file when running a job with CSV file as target.

 

GRDC_EXTENSIBILITY

Access the Update Custom Fields button

 

GRDC_TMS_EXPORT

Access the SAP Cloud Transport Management service.

For more information, see SAP Cloud Transport Management Service Implementation.

 

GRDC_CQA_EXPORT

Access the Export Comments, Questions and Answers Data API.

For more information, see SAP Cloud Transport Management Service Implementation.

 

 

srakeshkumar18_49-1710749422343.png

Create a user and assign the GRDC role collections to the user.

Once done, we are ready to use the GRDC application that is integrated to our S4 system for all it’s data needs.

Reference:


https://help.sap.com/docs/SAP_Group_Reporting_Data_Collection/e29950571a2b4065b1dacaf881c67413/76a8d...

Labels in this area