on 03-06-2008 2:15 PM
Hello People,
Just a very good problem, to put your brains work.
The senario is Idoc to File.
Now Suppose the structure of IDoc is in such a way.
segment1 - fields A, B, C, D --- >> Single
segment2 - fields E,F --->> This segment can come multiple times.
segment3 - fields G, H -
>> Single
segment4 - filds I, J, K -
>> Multiple.
Now the format of the file is Fixed Length.
The record will be inserted Row wise.
Let us assume that the number of segments are.
segment1
segment2
segment2
segment3
segment4
segment4
All segments are at the same level.
Example of file :-
A B C D E1 F1 G H I1 J1 K1
A B C D E2 F2 G H I2 J2 K2
So please let me know, what kind of structure should i create in my repository for the Target and also let me know , the File content Conversion part ..
Thanks in Advance.
Harpreet.
How does the receiver (system) expects fixed width file?
Regards,
AV.
Edited by: Anirudh Vyas on Mar 10, 2008 3:58 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Repeat the row for each segment and in the (i)th iteration of the map it to the (i)th segment from the input. Now in your FCC, it will be like writing a normal fixed length conversion.
For e.g. you target structure will look somewhat like this.
Document
Recordset
Record(i)
FieldA
FieldB
FieldC
FieldD
FieldE(i)
FieldF(i)
and so on....
Cheers,
Sarath.
Award if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
79 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
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.