SAP S4H (IDOC) to SAP CPI - Inbound IDoc Interface
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!
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
We have re-enabled the option to post and create content. Email notifications are currently still turned off while we finish up steps related to badges and content retagging.
Subscribe for more.
Below blog explains the steps required to establish the communication between SAP CPI and on-prem S4Hana. This is for inbound IDoc interface and for demo purpose I am using mail as receiver.
Topics will be covered -->
System Connection between S4H and CPI
Background Configurations required
Configure Idoc Sender Adapter
Search messages in message monitoring based on Idoc Number
To be able to send messages from SAP S4Hana to SAP CPI import CPI certificates in S4Hana STRUST. You can download CPI certificates either from keystore or from any browser.
Login to S4hana system --> Tcode STRUST (Import all 3 CPI certificates) --> Add to Certificate List
Create Logical System for S4H and CPI system in Tcode BD54
Create RFC Destination of Type G -->Host = CPI Tenant, Port = 443, Path Prefix = from Sender Adapter (CPI - IFlow); Logon & Security
RFC Connection test returns HTTP 500 response
Create Port WE21 --> Port Type --> XML HTTP
Partner Profile WE20 -->
Import Outbound Message type with port created in earlier step
In the Custom IFlow, give the same path prefix as given in RFC Destination IDoc Adapter Configuration -->
In-order to be able to search my Iflow in monitoring based on Idoc number, I have configure Content Modifier with Header Values I am using Headers --> SapIDocDbId, SapIDocTransferId, SapIDocType in my mail body and created SAP_ApplicationID to pass Idoc Number from payload which will help me to monitor messaged based on Idoc Number. Value for SAP_ApplicationID is Xpath of my Idoc DOCNUM