Hi Gurus! [:P]
I have encountered the following situation.Would appreciate your insights.
Case description:
- We are using BTS 2010 (w/Adapter pack 2010) to post IDoc messages into SAP (ECC 6, EHP 5).
- My scenario is a plain FTP to SAP.
- I used the WCF-SAP Adapter with a strongly typed Schema and a Send operation.
- We have created a Target Schema representing a multi IDoc structure in order to handle a 1: n scenario (using the maxOccurs setting originally set to 2147483647 available in Adapter pack 2010)
- When a single message with multi-line arrives we need to generate a single IDoc message of each line. (Control record +1 line of payload)
Currently the result IDoc is not what we expect:
We get “N” Idocs (according to the amount of kines in the source files) and the payload is replicated to each IDoc.(not spilted to single record per IDoc.
Attached is the XML as picked up from the Msg. Box by the Adapter just before posting theIDoc to SAP.