on 01-12-2012 3:47 AM
Hi Team,
I am creating a file like below
1,100,200&2,200,300&3,300,400&
In this file
First Record is--1,100,200
Second Record is--2,200,300
Third Record is--3,300,400
I am using the field separator is ,(comma) and end separator is &.
My requirement is last record does not contain the end separator(&).
My output file should be like this
1,100,200&2,200,300&3,300,400
Regards
Swathi
Hi swathip,
Refer this doc for fine content conversion. i think this doc is little help you.
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Thanks and regards,
Kesava.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can't remove last separator if all records are the same config.
You can do it with a script and configure it in your communication channel (Run operating system command after message processing).
Regards,
Carme
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See, if this feature is useful in your case,
ignoreRecordsetName true
santosh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swathi,
U can use another mapping in ur scenario.
Just take input as field with string and read whole data and create output as a field with string den do the below mapping
field1
endswith--
>target Field
&&
& space
field1
concat
&
first check source field is endswith & or not if it endswith & then concat & to field1 then replace && to space and map to target u will get ur scenario correctly.
Thanks,
Enivass
Edited by: enivas on Jan 12, 2012 10:57 AM
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.