cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in idoc to file mapping

Former Member
0 Kudos

Hi Experts,

I am doing a idoc to file scenario...

There is a single idoc with multiple header and line items .

I am using multi mapping for header and lineitems.

The problem i am facing is regarding the occurences in target strucure...

at which level they should be specified so all the headers come in one strucure and line items in another...or should the occurences be o to unbounded at each field level.

Kindly help me regarding the same ...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

it should be 0 to unbounded at the header level and line item level and just one to one mapping at the field level. try that and let me know how it goes.

--Archana

Former Member
0 Kudos

Hi ,

I tried that already ...in mm made 0..bounded ...didn't work comes out empty..

when it is 1 atleast one message comes in...

here is what my target looks like in mm...

Message..

Message1.....

header......

Message2....

item.....

source is a single idoc ...with multiple multiple headers and line items

Former Member
0 Kudos

Thanks ...Solved it ...

You know I was not specifying the 0...to unbounded occurences

at the type level ... so you see....

Former Member
0 Kudos

hi

i have the same scenario : IDOC (orders) to Flat File. can you plz help in mapping. the input format to XI is in the given way

idoc

a1---(0-1)

a2---(0-1)

b1--

a3---(0-1)

b1---(0-n)

c1---

b2---

c1---

a3---(0-n)

b1---

b2---

a3---

b1---

b2---

a3

b1---

b2---

i have created the same output DT in the same format (parent-child) for flat file. and my questions are

1. is that correct, do i need to create the same DT as the above idoc (like parent and child) or different?

2. how to map the idoc fields to my file DT..do i need to map parent to parent and child to child...or different.

plz help me out

Thanks

ram

Answers (0)