cancel
Showing results for 
Search instead for 
Did you mean: 

Error when upload employee photo: HTTP error:401 unauthorized Access Denied

Former Member
0 Kudos

Hello.

I tried to upload and employee photo using tcode OAOH and enter information as follows:

Menu Archived Link: Store and Assign

Business object = PREL

Document type = HRICOLFOTO

Personnel number = xxxxxxxx

infotype = 0002

enter

The system asks for file name and when i select it from the dialog box I got the error message "HTTP error:401 unauthorized Access Denied" : Message no CMS025

Error in accessing via HTTP, 401 unauthorized, access denied.

Appreciated the help for this case.

Thank you in advance.

Desiré

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Yes.. ofcourse it is the problem of Authorization.

Good Luck

Om

Answers (3)

Answers (3)

Former Member
0 Kudos

isnt your problem not solved yet?

i think i have given you all the necessary steps

if that cnt help you , get the help of basis people

get your roles checked

thnkx

bhanu

Former Member
0 Kudos

Hello bhanu.

Sorry i coulnd reply your mail because yesterday was 5th of July (Independence Day) i checked you recomendations and i have all the autorizations necesary in SAP, including the user profile in SAP_ALL and SAP_New.

Thanks

Desiré

Former Member
0 Kudos

YES IT CAN BE A BASIS PROBLEM

1>CHECK FOR THE ROLE ASSIGNED TO U, DO THAT ROLE GIVES U ENOUGH AUTHORISATION TO USE T-CODE OAOH ELSE U CAN ALSO USE

OAAD

then also check the below spro settings

1.Create a number range for SAP Archive Link :

IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.

Tcode OANR. Create range 01 from 0000000001 to 9999999999 without the external number flag.

2.Document type HRICOLFOTO must exist with document class JPG.

IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.

Table TOAVE, Tcode OAC2.

3.Document type HRICOLFOTO must be linked to object type PREL and IT0002.

IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.

View V_T585O, no Tcode. In all three columns there ara minuses, don’t put a flag in the check box.

4.Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.

IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.

Table TOAOM_C, Tcode OAC3

5.Create this content repository with storage type FILE archive.

IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.

Tcode OAC0

Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C:\).

6.Link photo to personnel number.

Menu>Tools>Business Documents>Miscellaneous>Stored Documents. Tcode OAAD.

Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo.

To delete archived document :

Tcode OAAD, click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon.

hope ths can help you

thnkx

bhanu

Former Member
0 Kudos

Hi

I think it could be the issue of authorisation or may be the basis settings for archive link.

Check in SPRO - basis component is all the settings are proper then speak with basis guys to take care of it.

ManoJ Shakya