Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8735

How to show amount as 3.056,50 in csv file

$
0
0


Hello Colleagues,

   Before i start let me tell you all that i have searched the forum for the above question but nothing worked for me.So i am writing this question.

My scenerio is in order to write the CSV file and downloading it, everything is working fine except the amount part.

I have an internal table which i loop into it  and then concatenate to a string and write to the file.But my amount is not coming as expected.The decimal points are coming in the next tab( I know this is because since its a CSV file, the separation is done at ',' right? ) Is there any way i can have the decimal point with comma in the output?

My code lokks like this:

   write l_str_summary-cr_amount to l_amount1 LEFT-JUSTIFIED no-SIGN.
        concatenate '-' l_amount1 into l_amount1.
        CONDENSE l_amount1.

 

here l_amount is a character field.

 

Plz Plz need your guidance.

 

Thanks and Regards,

Urbashi


Viewing all articles
Browse latest Browse all 8735

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>