on 2026 Jan 16 1:28 PM
Hi Team,
Are there any sap best practice suggested, when BTP IS needed to connect with S4 Hana for IDOC connection.
Do we need to use the IDOC adapter or HTTPs adapter to get IDOC from S4 Hana. We need to know about below details.
Regards
Ankita S
Request clarification before answering.
Hi @ankitaIS The IDoc Adapter is the SAP-recommended best practice as it provides the most comprehensive, supportable, and maintainable solution with minimal custom development. Pls check SAP documentation for all features build-in that are not available out of the box when using plain / generic HTTP adapter.
For example, you have available many SAP standard headers which are often very useful like SAPMessageID, SAPIdocType or SAPIDocTransferId, SapIDocDbId:
- SAPMessageID you can use for Exactly Once processing in IDoc Receiver adapter
- SAPIdocType for distribution/routing of idocs using single IDoc sender dispatcher iflow (single RFC and port maintained in backend for all IDoc interfaces)
- SapIDocDbId for checking IDoc number created in backend after Request-Reply step.
You also have QoS EOIO supported - although needs JMS adapter with exclusive access type, because IDoc adapter itself does not persist messages.
Hope this helps
Mateusz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.