cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict file type and mime type for a doc type

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Devi,

the first step I would suggest you is to maintain a default workstation application for your document type. This can be done in the details of the document type in transaction DC10.

For a better restriction check I can only advise you to implement an individual check by using BADI DOCUMENT_STORAGE01 (methods BEFORE_LIST_STORAGECAT or BEFORE_CHECKIN)  or DOCUMENT_FILES01 (methods BEFORE_ASSIGN_FILE or AFTER_ASSIGN_FILE).

Regards,

Christoph