cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional routing at design time

Former Member
0 Kudos

Hi,

I'm new to SAP PI and from what I have gathered, while creating Process Integration Scenario, I don't see a way to specify conditional routing using XPATH. I know that it is possible during configuration time, but is it also possible during Design time? Can the configuration objects that we create from implementing PIS be exported in tpz files (the Sender and Receiver Agreement, Interface determinations etc.) ? If it is, conditional routing could be specified during configuration time and then all configuration objects be exported which could be implemented with the routing specified?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vinayak,

There is no option to use XPATH for routing in Design time, you may use extended receiver determination via Mapping.

Your other question regarding TPZ export is not clear.It is possible to export all objects to local pc and then import into a different system from the pc again.

Former Member
0 Kudos

Hi Harish,

Thanks for your quick reply.

Since I can't specify routing during design time, what I was asking in the second question was, if I could specify this conditional routing during configuration time, can I also export these configuration objects as standard PI content?

That way, I could specify the routing in Receiver/Interface determination with generic values and then customers would receive these configuration objects with routing already specified in them. They can then replace the generic values with specific values of their landscapes.

engswee
Active Contributor
0 Kudos

If you are designing standard PI content to be made available for customers, shouldn't you be referring to some internal SAP product/development guidelines to do so?

AFAIK, SAP do not deliver configuration objects as standard content, only ESR objects are delivered as standard.

Former Member
0 Kudos

COnifguration is not delivered by SAP, only the design objects are part of the std. content.

Configuration needs to be done  in each system separately.

Former Member
0 Kudos

I've been looking for confirmation on this. From whatever I have read, only PIS can be specified at design time and PIS does not give an option to specify conditional routing.

That means that conditional routing can't be specified at design time and has to be set up only during configuration. (which makes sense since we do not know the receivers until configuration time)

I don't think Enhanced Receiver Determination is the answer to the problem here and I can't create Context objects to simplify mapping because the source message is not in my namepsace.

Former Member
0 Kudos

Yes, you got it.As I said, initially your question was not clear enough.

Just for information, you can export separately enhanced Rcvr determination mapping though in case you have a complex receiver determination rules.

If it is a single receiver (per Environment), it is just enough to export configuration objects and adapt them for each environment.

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Vinayak,

In order to achieve Conditional roution you should use Xpath in the routing.

You can have container elements defined in ESR which can be used as alternative for Xpath.

Former Member
0 Kudos

Hi Raghuram,

Could you please elaborate a little on container elements or share a link that I could access?

Thanks