Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Update width of fields in CSV file- in abap program

Former Member
0 Kudos

Hi,


I have an internal table with some fields. And I am using the function SAP_CONVERT_TO_TEXT_FORMAT to convert internal table fields to text format and then I am using Function module GUI_DOWNLOAD to download the file as CSV format. But now I have requirement of updating those fields with specific width in output. Please tell me how can I meet that requirement?

Regards,

Man Mohan Acharya

1 REPLY 1

Former Member
0 Kudos

Hello

You cannot update width of a CSV file, as they're simply text files comma separated.

If you want to format the file to Excel, then you should use an option to create Excel files instead of CSV.

Regards

Luis Becker