Sejal04
Active Member
Hello!
I have a custom UBE that reads a flat file (comma delimited) record using B76B0220 and I parse it using function B76V0015 (Finds a char position in a string). I have four segments that I try to parse and the last one is an amount field. The problem is when I parse the last segment, along with the amount value it adds "10" or "LF" to that field (I noticed that in C debug) and therefore, my business function that converts string to numeric returns a value of 0. How can I overcome this issue where it doesn't append the end of line indicator or line feed to my last column?
My client is on E9.10, Tools 9.12.2 and SQL2008.
Any help will be appreciated.
Thanks,
Sejal
I have a custom UBE that reads a flat file (comma delimited) record using B76B0220 and I parse it using function B76V0015 (Finds a char position in a string). I have four segments that I try to parse and the last one is an amount field. The problem is when I parse the last segment, along with the amount value it adds "10" or "LF" to that field (I noticed that in C debug) and therefore, my business function that converts string to numeric returns a value of 0. How can I overcome this issue where it doesn't append the end of line indicator or line feed to my last column?
My client is on E9.10, Tools 9.12.2 and SQL2008.
Any help will be appreciated.
Thanks,
Sejal