Title | Under | Posted on |
---|---|---|
Component interface Error: no rows exist for the specified keys | PeopleSoft Technical | 03/15/2019 - 3:54am |
ADD 24 months starting from current month.(peoplesoft) | PeopleSoft Functional | 07/29/2018 - 8:44pm |
TRC values dropdown | PeopleSoft Technical | 04/04/2018 - 12:54am |
how to find missing sequence in GRID and print the mising sequence number while saving through peoplecode | PeopleSoft Technical | 09/11/2017 - 4:49am |
Hi sandeep05,
You can't generate an Excel file using file layout. Did you mean csv file instead? I know the file layout has the excel option but it is really not excel, it is csv.
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog
Hello Lepa,
You are right , it is CSV format only.
My concern is , how to print the header and footer in the CSV format.
Any sample example is appriciated.
I think need to write peoplecode to generate the header and footer in the CSV format.
Question is how to write the peoplecode??.
Thanks for your suggestion.
>> My concern is , how to print the header and footer in the CSV format.
Am assuming then that you know how to grab data from the Database and write it to the file using file layout. If so, then have you tried something like this?
/*write my header before the 1st row*/
&MYFILE.WriteLine("This is my header line");
&rowCount = &rowCount + 1;
&MYFILE.WriteRecord(&RecLine);
End-While;
/*write my footer after all records(rows) has been written to the file*/
&MYFILE.WriteLine("This is my footer line");
Good luck!
Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog