on 07-16-2007 12:48 PM
Hi.
<b>I have a file with this structure after I got it from the fileadapter.:</b>
B Dataxxxxxxxxx
C Datayyyyyy
D Datazzzzzz
D Datazzzzzz
C Datayyyyyy
C Datayyyyyy
D Datazzzzzz
C Datayyyyyy
C Datayyyyyy
E Dataxxxxxxxxx
B
.
.
E
B
.
.
.
E
etc.
<b>I want to map this structure to the Idoc OILLDD which have this structure.:</b>
OILLDD01
IDOC
E1OILT1
E1OILT2
E1OILT3
E1OILT4
each B-Recor shall produce a new iDoc.
each C-Record shall make an E1OILT1-segment
each D-Record shall make an E1OILT3-segment(if the D-record exist)
My problem is.:
How can I make an new iDoc for each B-Records in the file.
I got the file tthrough the filadapter.
Hope someone can help me.
Thanks.
A typical IDOC bundling example. Have a look at
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The file from the file adapter have to be parsed using the File Content Conversion.
Now this converted XML will have the fields with value "A", "B","C" etc.
This can be then mapped according to ur requirements. U need to export the IDOC as XSD , change the occurrence and then reimport it in the external definitions.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.