Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

File to idoc error

I am doing file to IDOC secnario,

The sender structure looks like this...

<Record>

<Head>(1...1 occurence)

<field1>

<field2>

<field3>

</Head>

<Body>(0..Unbounded)

<field1>( Mapped under E1EDT10 segment)

<field2>( Mapped under E1EDT10 segment)

<field3>( Mapped under E1EDT10 segment)

<field4>( Mapped under E1EDT10 segment)

<field5>( Mapped under E1EDT10 segment)

<field6>( Mapped under E1EDT20 segment)

<field7>( Mapped under E1EDT20 segment)

<field8>( Mapped under E1EDT10 segment)

<field9>( Mapped under E1EDT10 segment)

<field10>( Mapped under E1EDT10 segment)

</Body>( Mapped under E1EDT10 segment)

<Tail>(0..1 occurence)

<field1>

<field2>

</Tail>

My question,Every Line item in the Flat file will create a new IDOC....For single body,Interface works fine.

For multiple body items, Interface is throwing an error.

I had a similar kind of interface,where all the fields were mapped under single segment...so i mapped that to some field, where value is always same...

now my problem is .. I have two segments at receiver....how should i map....

E1EDT10

what shall i do...

Edited by: Harsha reddy on Sep 17, 2008 4:37 AM

replied

Hey

<Body> would be mapped to E1EDT10 directly.it will be a 1-1 mapping.

Thanx

Aamir

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question