on 05-09-2008 7:29 AM
Hi All,
I am working in the File Handling front and facing problem in
making some fields as read only while Exporting ALV data to excel file
Please Suggest me solution ...............
Regards,
Surya
You want to the fields to be read-only in Excel after the export? That is not possible. The XSLT used to transform the data into Excel format is not extensible not does it currently support this functionality. Perhaps you might want to consider using the Office Control instead of the ALV. It is certainly more challenging to program for, becuase you have to generate the Excel content stream yourself, but this would give you a greater level of control that you seem to be looking for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
Very much thanks for your replies and
I need one clarification, when ever the Export button is triggered ALV data is supplied in the form of XML.
How to capture the xml data of ALV ?
Here i want to see the xml data of ALV so that i will write simple transformation(xml) for converting to as desired
Thanks in Advance
Regards,
Surya
Hi,
Just curious.. seeing the requirement that needs to export to Excel with read only format
mmh... just to share, don't know it is related or not..
I have a requirement before to export to excel after some logic generating report and inside the Excel XML file generated, there are some cells are not editable (i.e.: read only).
I played around with XML tag for Excel, (i.e.: something like read only = '0'), mixed with protected excel sheet (of course, pre-define first, so I can have the template).
So, the web dynpro report needs only to populate the pre-defined report with selected data.
And, the result, I can control which cells can be populated by user, which cells cannot be populated.
Hopefully this helps.. 😛
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.