‎2018 Jun 27 4:54 PM
Creating an extract in a csv format would incur additional costs for another team to reformat the csv file to a txt file before passing file to the target. To avoid this additional cost, would like to generate the file from ECC in txt format.
‎2018 Jun 27 8:24 PM
Um... Yes. Why would you think this is not an option? I'm confused... CSV is a text format, technically.
‎2018 Jun 27 11:29 PM
We need to provide a fixed width file, with no delimiters and has a txt file extension. Is there a way to create this type of file format directly from ECC?
‎2018 Jun 28 3:59 AM
I think GUI_DOWNLOAD can download data in txt file, did you try it yet? file type should be ASC, i guess
https://help.sap.com/saphelp_nw70ehp2/helpdata/de/c7/5ab8ec178c44a8aacd1dcac3460db8/frameset.htm
‎2018 Jun 29 5:41 PM
First off, please get the terminology straight: in general, there are text and binary file formats. The difference is explained here, for example. (This is not an SAP specific concept.) CSV format is just a type of a text file where data is separated by commas. The file extension (such as .csv or .txt) has actually no influence whatsoever on the file format. I can take a PDF file and change the extension to XLSX but this won't change the actual file content. The only difference is that operating system will think it's an Excel file and will, naturally, fail to open it in Excel. Because it's still a PDF file.
SAP can create text files. How exactly the data is written into a file (separated, fixed width, etc.) it depends solely on how you program it. We can also assign any extension to the file name. That doesn't mean anything, as I've just mentioned.
GUI_DOWNLOAF FM can create a text file on a presentation server.
OPEN DATASET and related commands are used to create a text file on an application server.
All this is covered by ABAP Help. Please ask whoever you're working with to simply consult with ABAP documentation.
‎2018 Jun 28 5:34 PM
‎2018 Jun 29 5:42 PM