Skip to Content
avatar image
Former Member

Download XML file in non editable

HI Gurus,

I have a requirement where i need to convert my final internal table into XML file and download it in Non-Editable mode.

As of now i am able to convert in XML and able to download the file but we can edit it  .

Can anyone suggest me how to download the same in non-editable mode.

Thanks in Advance.

Regards,

Vipin

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 05, 2015 at 05:16 AM

    You could use method FILE_SET_ATTRIBUTES of class CL_GUI_FRONTEND_SERVICES to set the read only attribute of the file

    However, if the user has authorisation, he/she can overwrite the file/ change the attribute manually.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      You could edit the read only file. but when you try to save it, it will prompt you to provide a different file name. But again as I said earlier, if the user has authorisation to overwrite file/ modify the attribute it wont help.

      If the user has other applications which allow him to edit the file, he/she would be able to edit it. The file is no longer in SAP, there is nothing from SAP that you can stop the user.

  • Jan 05, 2015 at 06:29 AM

    There is one product provided by Secude AG, that intercepts downloads and secures them using Microsoft's Azure, or AD RMS.  This is the only way I know of making sure the downloaded files are readonly.

    There may be other products that do the same thing.

    Add comment
    10|10000 characters needed characters exceeded