on 09-12-2011 4:00 PM
Hello,
Can someone please help me in creating Excel files in PI?
I am referring to this code, can I achieve this using Java mapping?
Thanks.
Best Regards,
Shweta
Hi Shweta,
If file is in receiver side you can try with following solution.
1. give file name extension as .xls
2. Give field Separator as "tab"(hexadecimal value of tab).
This solution doesnu2019t work for sender adapter. but it works for receiver adapter
regards,
Navneet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Navneet,
Thanks.
I have already tried this. It creates a file which gives a warning while trying to open as it is a CSV file.
If you confirm this warning, then only you can open this file which will not be acceptable.
Do you have an idea about above mentioned line of code to be adapted for java mapping?
Thanks.
Regards,
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramesh,
sorry to have missed the link.
yes, this post also mentions the same link,but do we have a working example?
Regards,
Shweta
Hi Shweta,
The link itself contain working model right?
Just you have created the necessary design and configuration objects. I think you can easily re do the same scenario which is explained in the link.
Even Michal has [explained |http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/2803] [original link is broken] [original link is broken] [original link is broken];the conversion to excel using XSLT mapping, but that is not suggested as well.
Try configuring the scenario and let me know where you find the difficulty in constructing the scenario.
Regards
Ramesh
Hi Ramesh,
The doubt is regarding following statement:
WritableWorkbook workbook =
Workbook.createWorkbook(new File("output.xls"));
How would I adapt this code to enable java mapping to create this file on FTP server.
I have configured design and configuration objects with a file receiver to create a file in a folder on FTP server with name a.xls
Thanks.
Regards,
Shweta
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.