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?



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.

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