Skip to main content
Question

How to write datatable to CSV with "Headers" ?

  • August 13, 2022
  • 1 reply
  • 374 views

How to write data table to CSV with Headers ?

Currently , while writing data to CSV , Headers are not coming. However, i would like to have Headers while writing the data to CSV.

 

CSV datatableBTW, I am getting data table from SAP Screen using Record capture. It is able to write data into CSV, but it is writing data without headers.

Code

1 reply

Ashwin A.K
Forum|alt.badge.img+10
  • Navigator | Tier 3
  • August 19, 2022

Hi @Pavan Gunda​ ,

 

Could you check whether the Data Table being extracted has the Headers on extraction?

You can run it in Debug Mode, or you can install the JavaFX Package which lets you view the Table.

 

Kind Regards,

Ashwin A.K