Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Read only mode for Excel sheet

Hi Experts,

While exporting ALV Report values to Excel sheet, can we make the excel file Read only?

I created an ALV report.User will export this report into an Excel file.It can be manipulated.I want to restrict any alterations to this file.

Can i do this using ABAP programming?

Regards,

Sibinraj

Former Member
Former Member replied

You can use the method FILE_SET_ATTRIBUTES of class CL_GUI_FRONTEND_SERVICES. You may refer here on how to use that method. The parameter READONLY can be used for the purpose.

http://help.sap.com/saphelp_tm80/helpdata/en/4f/09e5682e794e1185a29b19646b9873/content.htm

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question