# Document to CSV file

**URL:** <https://techcommunity.softwareag.com/t/document-to-csv-file/108259>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [November 22, 2003, 2:15am UTC](https://techcommunity.softwareag.com/t/document-to-csv-file/108259 "2003-11-22T02:15:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [November 22, 2003, 2:15am UTC](https://techcommunity.softwareag.com/t/document-to-csv-file/108259/1 "2003-11-22T02:15:52Z")

</div>

Hi all,

I´m trying to generate a csv file from a document through convertToString, and in the schema I set the Flat File Definition this way:  
Record Parser = Delimiter  
Record = Character = newline  
Fiels or Composite = Character = ;

It just doesn’t work!  
How can I do that?  
Any help will be appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:05pm UTC](https://techcommunity.softwareag.com/t/document-to-csv-file/108259/2 "2021-04-02T15:05:08Z")

</div>


