on 03-25-2009 12:41 PM
Hi...
I am using FCC in the reciver file adapter.
the output structure is like
94,ESSAR,,,,,,,D,0000100226,10000,12/13/1 KURLA EAST,MUMBAI,,400025,006398765432,,2009-03-24 00:00:00.0,0000100226,20202789,,,,SUCCESS,,
/home/corpuser/Disbursement/DD
I am achieving the above structure. But in that i dont want the last field name "/home/corpuser/Disbursement/DD".
Can you please tell how to ignore the last field name in the receiver file adapter using FCC.
Thanks & Regards,
Leela
item.fieldnames :abc,xyz,date
item.fieldfixedLengths:say 5,4,0
item.fixedLengthTooShortHandling:Cut
here it will cut the date field and it will not come as content of the target file.
what it means specifically is it will cut all the characters of the last field that is 'date' starting from the char acter position 0.
hope this will solve your problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
94,ESSAR,,,,,,,D,0000100226,10000,12/13/1 KURLA EAST,MUMBAI,,400025,006398765432,,2009-03-24 00:00:00.0,0000100226,20202789,,,,SUCCESS,,
/home/corpuser/Disbursement/DD
I am achieving the above structure. But in that i dont want the last field name "/home/corpuser/Disbursement/DD".
Can you please tell how to ignore the last field name in the receiver file adapter using FCC.
Completely with Jai on that.
Dont do that mapping itself. Handle such conditions in your mapping.
Is there any specific reason why you can do so?
as i have always recommended, please try using Dynamic configuration.
Ref:
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
Also search the forum.. you will get loads of sample codes on this.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.