cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc to file-- Header field has to apper in all item records. Urgent..!!

Former Member
0 Kudos

Hi Experts,

Iam doing a Idoc to file scenario.

Idoc Structure looks like below :

Header 0..unbounded

Item 1 0.. unbounded

Item 2

|

Item 3

I need to get a file with 3 item records.

There is one field MATNR in my Header Segment.It has to come in all the 3 item records in the file.

But it is coming only once in first record and not coming in remaining 2 records.

I kept the Context as HEADER only.But still its coming in first record only.

Please suggest me how to get HEADER-MATNR value in all my Item Records.

Regards

Seema.

Accepted Solutions (1)

Accepted Solutions (1)

prabhu_s2
Active Contributor
0 Kudos

have a field for MATNR in item node of the target strucutre and check by using the function <b>oneasmany</b>

Answers (0)