cancel
Showing results for 
Search instead for 
Did you mean: 

One to Many Mapping

Former Member
0 Kudos

Hi,

i am doing this BPM Scenario,

Split Pattern Using ccBPM

from link

https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#xi [original link is broken]

Which has one Source and Three Target DataTypes, i.e need to split. I am getting Problem in Mapping.

" Cannot produce target element /ns5:Messages/ns5:Message1/ns4:MT_BP_Details/Customer_Details. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

"

I am giving DataTypes here and guide me how to map.

SOURCE

DT_SourceFile
  Customer_Details
    Customer_Num
    Customer_Name
    Customer_DOB
  Site_Details
    Site_Num
    Building_Name
    Street_Num
    Post_Code
  MPRN_Details
    MPRN
    Serial_Number

TARGETS 3
1.
DT_BP_Details
  Customer_Details
    Customer_Num
    Customer_Name
    Customer_DOB
2.
DT_Site_Details
  Site_Details
    Customer_Num
    Site_Num
    Building_Name
    Street_Num
    Post_Code
3.
DT_MPRN_Details
  MPRN_Details
    Site_Num
    MPRN
    Serial_Number

i have created Message Types of each Data Type..

Note: Please observe DT_Site_Details has Customer_Num and DT_MPRN_Details has Site_Num for tracking.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Seshu,

Check these blogs.. Will solve ur problem

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi

cheers,

Prashanth

P.S Please mark helpful answers

Former Member
0 Kudos

Hi,

Problem solved.

thanks

Seshu

Message was edited by: Seshu

Former Member
0 Kudos

Good Pointers Prashanth. Thanks for that.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Seshu,

Just for learning.. You can even see this

/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible

(Multimapping without a BPM)

cheers,

Prashanth

Former Member
0 Kudos

Hi Seshu,

Two things..

1) Check your source XML for well formedness( the structure). Set a trace level to see where exactly it is failing.

2)See the target node's higher structure and check the mapping there.

cheers,

Prashanth

P.S Please mark helpful answers

former_member206604
Active Contributor
0 Kudos

Hi,

Have you mapped the message type nodes properly. Please check it and also post the mapping.

Thanks,

Prakash