cancel
Showing results for 
Search instead for 
Did you mean: 

who to : double mapping

Former Member
0 Kudos


Hello PI/PO Experts,

I have to do 2 mapping during one single message processing in SAP PI as this :

1 - Receive message using message type #1

2 - Map message type #1 into message type #2 (using message & opération mapping i suppose)

3 - Map message type #2 into message type #3

4 - Send message using message type #3

=>Is this "double-mapping" scenario possible only using Design & Config objects, without any ccBPM ?

Thanks a lot

Regards

Etienne

Accepted Solutions (1)

Accepted Solutions (1)

manoj_khavatkopp
Active Contributor
0 Kudos

hi,

Yes its possible you need to have one operation mapping , which will have two message mapping the output of the first mapping will be input for second mapping , and finally the output of second mapping will be your final output that need to be sent to be target.

bdw why do you want to go for 2 mapping ? what's the requirement.

Br,

Manoj

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi manoj,

Thanks a lot. The requirement is to manage "message type versions" defined outside SAP PI by third party teams, without SAP Backend impacts  :

-One message type "external target version" call #2 proposed to all external partners and defined by third party teams.

-One message type "external previous version" call #1 proposed to certains external partners

-One message type "internal target version" call #3 to adress SAP ECC Backend (Bapi for example), only mapped with external target version #1.

For exemple :

External Target version message type is fixed to 2.0 with a defined structure (#2)

-Partner A use this target version 2.0 for sending messages and need only one single mapping "#2 -> #3
-Partner B use a previous external version 1.5 for sending messages (#1). It needs mapping #1->#2 and #2->#3. I do neet have to do define direct mapping #1->#3

-When Partner B migrates to version 2.0, mapping #1->#2 is deleted to keep only #2->#3

Regards

Etienne

iaki_vila
Active Contributor
0 Kudos

Hi Ettien,

As Manoj said is possible in PI your scenario. This concept is called cascade mapping, you can find one example here:

Cascade Mapping in PI (Calling multiple mappings in one Operation mapping) - Process Integration - S...

Pay attention to set as second interface XSD your type #3 XSD. To load the mappings, for example set the Any attributtes in the operation mapping help search.

Hope this helps.

Regards.

Former Member
0 Kudos

Hi Iñaki

This is helpfull.

Thanks a lot

Regards

Etienne