cancel
Showing results for 
Search instead for 
Did you mean: 

Conditional based routing in interface determination

Former Member
0 Kudos

Hi PI Gurus,

I have a scenario, where materials are created in SAP and sent out to 3rd party as file.

Scenario is IDOC to File. Now I have to send certain material to another 3rd party.

I know we can make context object and assign that context object to outound service interface,

but in case of IDOC there is no outbound interface, how can I add in context to outbound Service interface.

Then I can make a rule and assign this rule to interface determination.

How to achive this in the current scenario.

Thanks,

Krishna

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Have you created only one bussiness compoent for two 3rd party systems?? if yes then write a condition in Interface determination else write a condition in Re ceiver determination.

you have to develop two individual mappings.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I probably have to check out by making an POC.

Thanks,

Krishna

markangelo_dihiansan
Active Contributor
0 Kudos

Hello,

I know we can make context object and assign that context object to outound service interface,

but in case of IDOC there is no outbound interface, how can I add in context to outbound Service interface.

Then I can make a rule and assign this rule to interface determination.

The procedure should be the same:

1.) Create a context object in ESR

2.) Edit your IDOC (make sure it is imported in your SCV) and then go to the field to where you want your context object to be assigned

3.) Select your context object, save and activate

You can now use your context object in interface determination.

Hope this helps,

Mark