Skip to Content
Author's profile photo Former Member

Usage of Enterprise Integration Patterns with use cases

Dear SCN Friends,

I would like to share my knowledge on IFlow Patterns by taking an example  to explain.


Enterprise Integration Patterns are based on BPMN 2.0 notations that are used as a model to create integration flows. SAP provides below built-in patterns.You can select any of the patterns and add activity blocks to the layout.

Patterns.jpg

Point-to-Point Channel:We select this pattern for direct communication between the sender and receiver.

Use case:We are suppose to send Employee details to SYSB from SYSA and PI need to send the acknowledgement back after receiving the request from SYSA.

P2P.jpg

Here source and target structures are same ,so used same Data type,Message type and opted point to point connection.

Recipient List: We select this pattern when we need to route the message to two or more receivers based on conditions.


When we can manage to determine the receiver using XPATH conditions in IFlow then we opt this option.By Clicking on Edit button in the below window a screen appears where you can put your XPATH condition to determine the receiver.

FixRec1.jpg

Recipient List (Dynamic Conditions):We select this pattern when we need to dynamically route the messages to the receivers.


Use Case:We are suppose to send Customer Address details to either SYSB or SYSC from SYSA based on some complex conditions which demands separate mappng to determine receiver.


Below is the sample mapping for your understanding.


Dynamic Rec.jpg

We opted Recipient List (Dynamic Conditions) pattern ,now we need to select above mapping which determines receiver.

DyneRec.jpg

If you want to take some action ,if no receiver is selected based on condition ;follow the below steps

DC.jpg

   Below window gets open by clicking on the above link.

DRec.jpg

If you want to configure parameters for staging and logging ,click on Runtime Configuration.Staging.jpg

Here I’m setting configurations globally in nwa .If you want to set locally then select the option “Use scenario specific configurations”

Message Translator: We select this pattern when the sender and receiver systems have different message formats.

Use Case:Our source and target structures are different ,so we need transformation (Mapping) to convert . In this case we select this pattern .

Mapping.jpg

  In the above widow by clicking on Browse button you can select your mapping .

NOTE:To any of these patterns you can add or delete the flowstep elements such as recipient list, interface split or mapping, from the graphical representation.

 

  • If you are using Communication channel for look up ,you can select the channel by clicking on Lookup Channels and select your channel.
  • If you are using parameterised mapping then under parameters tab your parameter name will appear you just need to provide value for that .Interface will  taking this value during runtime.

I hope you are now clear with Integration Patterns and got some idea on Enhanced receiver determination,Parameterised mapping and Channel Look ups.Enjoy 🙂

Regards

Venkat

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.