on 01-07-2010 12:43 PM
In file receiver with content conversion and fixed field length is there a way to align the data to he right of the fields?
Default the values are being aligned left so that if a field has length 10 and input is "1234" it becomes "1234______", i want to align left so it becomes" ______1234"
Hi,
>>Default the values are being aligned left so that if a field has length 10 and input is "1234" it becomes "1234______", i want to align left so it becomes" ______1234"
You need to handle this in the mapping itself, if the length is less than required length then append space in the beginning
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Write the UDF as mentioned in this blog-
http://wiki.sdn.sap.com/wiki/display/Snippets/UDFforZeroPaddingon+Left
Add "" (space) instead of zero in the code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
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.