cancel
Showing results for 
Search instead for 
Did you mean: 

Security error while save pdf files in portal

Former Member
0 Kudos

I am using SAP EHSM 1.0 a portal based application for SAP EH&S. It uses ADS for generating interactive forms. Forms are getting generated with out error but when saving it the portal throws the below error

Upload of this file type (application/pdf) is not allowed (security issues)

I thought its an security related to issue with ADS but then when I tried to upload a PDF while from my desktop and I got the same error.

Is there a setting in NetWeaver portal to allow PDF extension. Please let me know. Thanks.

Thanks

Pugazh

Accepted Solutions (0)

Answers (2)

Answers (2)

rcscisa
Discoverer
0 Kudos

I know it has been a while, but can you please elaborate?

Former Member
0 Kudos

Hi Rich -

We resolved this with configuration on ABAP side.  Unfortunately, I can't find my notes of the exact path, but you should be able to find it via SPRO.  Basically, there's a transaction/screen that allows you to configure additional MIME types.  For whatever reason, .jpg, .pdf, etc are not set by default.

Hope this helps.

- David

Former Member
0 Kudos

Hi Pugazh,

I don't think there is any setting in Portal to allow download or upload.

Are you trying to download or upload thru a particular folder ? Check for that Folder permissions. You can try to download in MyDocuments or in any general folder and check ? Did you try that ?

Regards,

Arjun

Former Member
0 Kudos

Hi Arjun,

I just now found that the portal error is showing if I upload any type of document. As this module is new i am not sure if this error comes from portal or ECC. I am uploading document through a webdynpro application. Not sure if this helps.. is there a security setting in visual administrator for allowed file types?

Former Member
0 Kudos

Check whether you have S_GUI Authorization Object in ECC ? if you don't have it, check with your security team to assign it for you in a ROLE and the values below

Possible values:

61: Download; This authorizes you to save lists displayed on the screen in local files (either unconverted, in spreadsheet format, or in Rich Text Format). This authorization can only be granted or denied fo all lists in the system - you cannot restrict it to a selection of lists.

60: Upload; This authorizes you to load data into the system using ws_upload or gui_upload. You cannot select the data to be uploaded.

04: Print; (not used)

02: Change; (not used)

Regards,

Arjun

Former Member
0 Kudos

Arjun,

This issue is reolved.

There was specific setting in SAP EHSM 1.0 for allowing different file types for busines object and I found that after lot of analysis. thanks for you replies anyway.

Thanks

Pugazh

Former Member
0 Kudos

Pugazh,

Can you elaborate?  We're working on SAP EHS application integration with SAP Portal and facing the same issue.  I am able to upload .txt files to an Incident, but not a .ppt, .jpg, or other file types.

Thanks!

- David