on 02-10-2011 5:15 PM
Hi all,
I have a FIle to IDoc scenario, where the File is with the structure Header,Detail,Trailer.
Header and Trailer are with fixed field lengths, whereas the detail records are tab delimited.(Functional spec says delimited by H'05').
I have given the parameters as follows:
Header.keyFieldValue H
Header.fieldFixedLengths 1,1,4,1,8
Header.fieldNames a,b,c,d,e
Header.endSeparator 'nl'
Detail.fieldNames a,b,c,d,e,f
Detail.fieldSeparator '0h05'
Detail.keyFieldValue LOA
Detail.endSeparator 'nl'
Trailer.fieldFixedLengths 1,1,8
Trailer.fieldNames a,b,c
Trailer.keyFieldValue T
ignoreRecordsetName true
In SXMB_MONI, I get the payload with just the Header and Trailer and not the detail records, even though my file has so many records in it.I m pretty sure, this happens because of my Detail.fieldSeparator parameter.
Can anyone please help me with this?What is the correct value for this parameter?
Thanks a lot in advance!
Anjana.
You have to use 0x09 for TAB. You can see the example of TAB delimited file in this blog..
/people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the help!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>>>Detail.fieldSeparator '0h05'
Detail.fieldSeparator = '0x09' (tab delimited)
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 make sure with a hex editor that the hex code of the delimiter sign is really 05. This is an odd character, as the normal tab is hex 09.
when you have confimred it, check online help for file adapter config for the correct entry of hex codes. I think it is something like '0x05',
Edited by: Stefan Grube on Feb 10, 2011 6:43 PM
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.