on 11-15-2011 5:08 PM
Hello All,
I am working on a outbound scenario. As part of my message mapping I have 10 fields on the target side.
But I dont want to write the 10th field on to file.
Can anyone tell me how can I handle this in FCC
Thanks,
Regards,
Moorthy
if there is no use of the 10th field, then why the mapping?
Avoid the mapping and make FCC simple
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moorthy
I think there is no standard way of doing it because we don't specify the field names in reciever channel.
We just give field length or field separator.
I think if its fixed field length u can handle and need to make sure that fields get populated with specified length.
Regards
sandeep
only fix length flat file could be ignore the last field. no standard way for flat file with delimite.
set the 10th field lenth 0 or only give 9 field length.
then give the parameter .fixedLengthtooShorthandling value "Cut"
then you can avoid the last field.
if the target structure like
segment
field1
feild2
...
field9
segment
field10
then there is no problem.
u can only set fix legth for the 10th field. set the length 0 and paramete value "cut"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moorthy,
if you have a message mapping, and if you don't wan't to change your target structure, a way could be to "enable" the field. to do it, in message mapping, select the target field and with a right click, choose "enable".
In your receiver CC, inside your content conversion do not declare this last field under "fieldNames", as it will be never created.
if that corresponds to your needs, do not forget to document this tips in technical spec (and/or directly in the mapping itself), that could help maintenance team...
regards
mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.