on 11-18-2014 9:24 AM
Hi,
My scanario is from ECC-->file and .csv file is created in folder.but when one field is sent as numeric the first digit 0 is trimmed and last 4 digits rae trimmed and zeroes are added.I use the following configuration in receiver FCC.
value from ECC
ACC Document no--033914053300000010001
value displayed after processing from PI in .CSV file--33914053300000000000
when we send only numeric values this problem is occuring and if it contains even one alphabet the value is coming right
Hi everyone,
I removed the company code field from mapping which i do not wanted to show in the .csv file
this is done. and i have written the UDF to create the file appended by company code-done
LBGVPFVPFPAR_0339(company code)20141119-143543-699(time stamp).csv---done
and i have done following simple configuration in FCC but still the generated csv file showing incorrect values
Z_ACNTDOC_NUMB--value sent from ECC--033914053300000009001
but value displayed in .csv file--33914053300000000000(wrong)
0-trimmed and 9001 trimmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
Can you give the screenshot of your Data Type that your created for FCC.
Also as suggested by Hareesh, seems issue with the MS office version.
Can you try to use the format cell option and changing the settings to general etc in your CSV file to check if its having correct values?
Regards,
Azhar
Hi everyone,
I removed the company code field from mapping which i do not wanted to show in the .csv file
this is done. and i have written the UDF to create the file appended by company code-done
LBGVPFVPFPAR_0339(company code)20141119-143543-699(time stamp).csv---done
and i have done following simple configuration in FCC but still the generated csv file showing incorrect values
Z_ACNTDOC_NUMB--value sent from ECC--033914053300000009001
but value displayed in .csv file--33914053300000000000(wrong)
0-trimmed and 9001 trimmed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurudattta,
You have used .fieldSeparator along with .fieldFixedLengths, which is conflicting as per file content conversion.
Also, the fixed length that you have supplied, which is 50, does not match with the ACC Document number field.
If you are not sure of the field lengths then I would advise you to use only the .fieldSeparator parameter.
Regards,
Alka Panday.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hareesh,
The same file when i open with notepad the correct value is displayed but there are some folders created on client servers where the file gets generated and we just double click that .CSV file and when i see the file the 1st digit zero is removed and last some digits are removed and its appended by 0000 from the second column field name-acct doc numb
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.