on 10-16-2010 5:54 AM
HI
My req is FLATFILE to Multiple IDOCS
C,WMMBID01,ZXYGR,SAPXYZ,DEVXY
1,H,20100101,20100919,0000000000000000,VL02
1,I,00000000000039870,72379601,000000000000000000000000,2,BD
1,I,00000000000039872,72379601,000000000000000000000000,2,BD
2,H,20100101,20100919,0000000000000000,VL02
2,I,00000000000039870,72379601,000000000000000000000000,2,BD
2I,00000000000039872,72379601,000000000000000000000000,2,BD
I Have the Flat File with above Format,
Structures
sender
Control record
--A
--B
--C
Header record
--D
--E
Item record
--F
--G
Receiver IDOC
WMMB1D01 1..1
-IDOC 1..999
--EDI_DC40
-
A
-
B
-
C
--E1MBXYH
-
D
-
E
--E1MBXY1
-
F
-
G
In the Flat file C-Control , h--Header , I --itemm and in the First column from 2nd row is to identify and generate the IDOC
eg ; 1--Ist IDOC
2--2nd IDOC
I am able to read the Flat file
And i have imported the IDOC from External defination with IDOC as 1....9999
Now I need how to map sender and receiver to generate multiple files
thanks
Hello,
Please check this wiki for how to do do this.
http://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM
regards,
francis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all you have to organize your FCC in a different way.
The result XML should be like this:
recordset
C
H
I
I
recordset
H
I
I
you use parameter ignoreRecordsetName = false (or remove it)
then you set recodset parameter Ascending
When you have the structure tht way, you can map recordset to idoc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.