cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping issue in CPI

learninghubx01
Explorer
0 Kudos

Hi Experts,

Need your help as I'm struggling with a mapping issue in CPI.

I have multiple fields on source side which need to be mapped with a single target field. I have duplicated the target field multiple times to map with different source fields however data is not flowing into the duplicated fields.

I tried duplicating the whole item structure and disabled other fields in this item structure and mapped only the field which is needed. Unable to understand.

Kindly share your inputs

Accepted Solutions (0)

Answers (4)

Answers (4)

MuratAkcam
Explorer
0 Kudos

Hi,

Did you check the occurences of the field? If its maxoccurs is 1 it won't populate more than one.

Bais
Participant
0 Kudos

Could you provide a source xml example and a target xml example?

GoranKovacic
Participant
0 Kudos

Hi learninghubx01 ,

maybe I misunderstand your requirement, but do the integrated Text functions not help you achieve exactly that?

See what I am using in one of my cases:

BR,

Goran

learninghubx01
Explorer
0 Kudos

Hi Goran,

Thanks for your response.

I would like to understand how does this work. Can you please explain.?

GoranKovacic
Participant
0 Kudos

Hi Rakesh,

what exactly do you mean - how does the Message Mapping work or what exactly are the drag and drop functions doing?

The first is simple - just drag all the fields which you want from the left side, to the right side. Then click on the field on the right side, and you should be able to see that all fields from the left side are assigned to the right side. Now you just need to decide, what exactly you want to do with the assigned values.

The second part, the integrated functions, should be more or less self-explanatory, since the functions names are commonly used in development.

Or did you mean anything else?

BR,
Goran

Bais
Participant
0 Kudos

In these cases I never use Message Mapping, I like to use xslt or groovy.

learninghubx01
Explorer
0 Kudos

Can you share the xslt or groovy code to handle this data