on 04-18-2007 12:08 PM
Hi all,
I have the followig scenario:
flat file --> XI --> IDOC
The structure of the file is:
"I1""P1"......
"I1""P2"......
"I1""P3"......
.
.
"I2""P1".......
"I2""P2".....
.
.
I want to generate so many IDOC as differents invoices (I1, I2, I3....) I have in the file.
In the IR,I have changed the occurence of the IDOC to "unbounded" in the mapping, but I make a test using the test tab and I can not see the split of the source structure in several IDOCs. What´s happening???.
Thanks in advance.
Pilar.
Hi,
You can do this scenario without BPM.
could you please send us source structure and how did you map IDOC segment in Target?
cheers,
Jag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I´ve solved one part of the problem. The mapping in IR is now correct.
The problem is now in the ID. I don´t know which are the correct parameters in the file content conversion in order to generate the proper structure.
The structure is: Global
Invoice
Invoice_det
The falt file has the structure:
Invoice1Posnr1 0000000010001
Invoice1Posnr2 0000000010002
Invoice2Posnr1 0000000020001
......
Using the File Content Conversion I get the XML file:
The parameters I´m using in the File Content Conversion are:
DocumentName: Global
Recorset Name: Invoice
Recordset structure: Invoice_det
Recordset secuence: Ascending
KeyFieldName: Number
Invoice_det.fieldFixedLengths 10,4
Invoice_det.fieldNames Number,Posnr
Invoice_det.processFieldNames fromConfiguration
Invoice_det.lastFieldsOptional YES
Invoice_det.keyFieldValue ????????????????
I don´t know how to solve it. Please, any help would be apreciated.
Thanks in advance.
Pilar.
HI,
See the below link
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping - File to Multiple IDocs
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We have two options , one is IDoc packaging , this is the one good option.
second one is not sure try , you can have three interface mappings (if you want 3 only) then use the interface mapping in determination. and continue with the business system option.
see the below links
IDoc Packages without BPM
take a look at the note : 814393.
Also see the below links
/people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
/people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
How to serialize IDoc XML messages fed into XI - /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi
Regards
Chilla
Pilar,
If the IDOC is of same type, then you can avoid a BPM. My previous replies were made in the assumption you had multiple IDOC types.
Just have a look at Michal's blog for IDOC bundling.
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
Regards,
Jai Shankar
Hi Pilar,
You need to use BPM transformation step. Here change the occurance of the IDOC to 1..unbounded in Message mapping and Interface mapping. Have you done this?
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.
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.