Previous posts:
Bridges Construction Site (1/3): Asynchronous - synchronous bridge.
Bridges Construction Site (2/3): Synchronous - asynchronous bridge.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
Hello again, colleagues!
Let's finish to review solutions for the problem of integration in heterogeneous interfaces landscape using SAP PI bridges.
Contents:
Starting from version SAP PI 7.3 a couple of new modules were added to the bridges construction pool - for sending a technical delivery confirmation to the initial system. The fact is that in "normal"(not bridges) interfaces, communication channel returns technical confirmation message automatically if initial system requested a technical confirmation. This confirmation called System Acknowledgement.
In the case of asynchronous-synchronous bridge,an automatic sending of such confirmation does not work.
To send this confirmation in SAP PI 7.3 you need to use following modules:
So first module will save the initial message intact (technical header is the most important), second module will use this saved message to create a System Acknowledgement.
For using these modules in the Communication Channel you should go to the tab «Module» and enter the following values:
Module name | Type | Module key |
---|---|---|
AF_Modules/CloneMessageBean | Local Enterprise Bean | key1 |
..... | Local Enterprise Bean | all other modules |
AF_Modules/SendAckBean | Local Enterprise Bean | key2 |
«Module Key» can be anything. These modules do not have any settings.
I would also like to mention the possibility to create an asynchronous-synchronous bridge via mapping look-up functionality.
It is not "real" bridge, but it's really looks like it. :smile:
Diagram of look-up bridge:
Pros:
Cons:
I must mention again that the main purpose of lookups is to obtain additional data from the external system in the process of mapping messages. Lookup was not developed for bridges initially.
You need to create following objects to build a bridge:
Configured RFC Lookup in the mapping looks like this:
You need to configure a standard asynchronous interface with all communication channels and routing rules in the Integration Directory. Additionally, you need to create one more communication channel (which will be used for RFC-lookup call) and use this communication channel in the Interface Determination settings.
If everything is configured correctly, then RFC-call will be executed during the mapping and results will be seen in the target message.
More details about the look-up can be found here:
Usage of SOAP Lookup and RFC Lookup in a Single Mapping Program
Adding Lookups to Mapping Programs
So, what kind a bridge to choose for your special interface? This question is very creative, but I'll try to give some recommendations:
This is one of the "golden" rules for working with PI: the simpler interface working faster and more reliable.
And the main recommendation - no fear and go experimenting, you will get what you need! :cool:
Official information about bridges with modules on help.sap.com (SAP Netweaver 7.4):
Configuring Async/Sync and Sync/Async Bridge in the JMS Adapter
Step-by-step instruction and example from SAP Official on SDN:
«Async/Sync and Sync/Async Bridge Scenarios Configuring Async/Sync Bridge and Sync/Async Bridge
witho...
-----------------------------------------------------------------------------------------------------------------------------
So, this is all that I have about bridges now. I hope these posts will help you to build best integration in SAP world.
Links to previous posts:
Bridges Construction Site (1/3): Asynchronous - synchronous bridge.
Bridges Construction Site (2/3): Synchronous - asynchronous bridge.
With best regards,
Alexey Petrov
Freelance Integration Expert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |