Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8944

Re: CSV file from FTP server stores number field as exponential in SAP table

$
0
0

Yes, this was the first thing done. Explanation was : Their backend code is PHP, they have written code to search and pick data. The data is then stored in the form of some array as in PHP. At this time, it contains and shows full value '8903287000522'.

It is then converted into a csv file using some PHP methods and placed in FTP.

 

Now, if i open the file in FTP itself and check, it shows full value like below (an example)Img1.JPG

Even when i download the file and open using notepad, it shows complete value.

However, if I open using excel, it shows with exponential.

 

Now, in excel opened csv, I can see one more field shows as '3.26E+08' but shows full when I drag the column width. But, for this field, even if I check increasing width, it still shows as 8.9E+12.


So, what "I" conclude is for all such fields which shows full when column width dragged in excel, shows complete value in SAP i.e AL11 and not for the concerned field.

Is this some csv property in SAP issue?

 


Viewing all articles
Browse latest Browse all 8944

Trending Articles