Skip to Content
avatar image
Former Member

restrict filetype, mime type for a doc type

Hi Gurus,

How can I restrict certain file type only (.pdf, .xlsx) and mime type for a document type ? Is there any standard way of doing this ?

If I look at standard config, document type allows all work statation applications that are defined can be attached to a document type.

Is it a development effort to restrict or do we have any std config solution. please help.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 10, 2014 at 11:22 AM

    There is no standard solution for this.  The safest option would be to use one of the main document exits and then check at the save event. It doesnt restrict the user from attaching it, but enables the check before saving.

    This should be fairly safe, but might not be very user friendly. (BADI DOCUMENT_MAIN01~BEFORE_SAVE)


    Espen Leknes

    Add comment
    10|10000 characters needed characters exceeded