cancel
Showing results for 
Search instead for 
Did you mean: 

idoc mapping

Former Member
0 Kudos

Hi Gurus,

My requirement is based on the element in the source structure the target idoc should be created.

Let us say if the source element value is "A",the IDOC PORDCR should be mapped.

If the source element value is "B", the Idoc PORDCH should be mapped.

Do I need to use the multimapping to achieve this task.

Any help appreciated.

Thanks,

Jay.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Yes, Multi mapping is the way to go.

if you do not want to se Multi-Mapping you can try conditonal receiver determination or conditional Interface determination.

Best Regards,

Ravikanth Talagana

Former Member
0 Kudos

Hi Ravikanth,

Thanks for the reply.

If I have to use the condition in the interface determination ,shall i use the context objects to determine the interface.

Can you please tell in detail.

Thanks,

Jay.

former_member181962
Active Contributor
0 Kudos

Hi,

If your condition is based on a field value within payload, then you have to chose the XPATH option.

Best Regards,

Ravi

rajasekhar_reddy14
Active Contributor
0 Kudos

The best way to achive this requirement is develop two individual mapping programs and write a condition in Interface determination.

or

try this approach'

/people/rajasekhar.reddy14/blog/2011/02/24/multi-mapping-without-bpm-for-idoc-scenarios-yes-it146s-possible

Regards,

Raj

Former Member
0 Kudos

Hi,

Thanks for your immediate replies...

i'm currently working on pi 7.0.

do we have condition based interface determination in pi 7.0.

in enhanced interface determination, i could not find any tab like condition in the interface determination to include these two mappings.

with two inbound interfaces and just one outbound interface....

is it available in pi 7.0

any help appreciated.

Thanks,

Jay.

rajasekhar_reddy14
Active Contributor
0 Kudos

Yes it is available in PI 7.0 , just select + button to add one more interface mapping, then write a condition as per your requirement.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Yes condition based interface determination is possible. You can add many inbound interfaces you want and specify condition to decide what mapping structure to be decided at runtime.

Former Member
0 Kudos

Hi Gurus,

If I use message split to map my source interface to two idocs...

Does Idoc adapter support multilmapping in PI 7.0.

if it does not support,i have to use condition based interface determination.

Any help appreciated

Thanks,

Jay

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Multimapping might be an issue since if there is a case where a condition is not satisfied and empty IDoc might get triggered to the target. hence the best way out is to do the separate mappings in Interface determination using conditional routing