OAAD: HTTP ERROR 401

HI
When to use OAAD to upload employee photo but will get HTTP error 401 unoutorized!
HR system is independence and connect with other module with RFC.
how to check this error!
thank you advance!

hi
Please note, these instructions were given to me so am now giving them to the community. I do hope they help someone. Kudos to the orginal author! someone on sapfans.com
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,
In all three columns there are 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
Content Repository
Create a content repository with storage type FILE archive.
Transaction code OAC0
IMG: Basis Components --> Basis Services --> SAP Archive Link --> Basic Settings --> Maintain content repositories
Swap from display to amend. Select a current entry and ‘copy’ or just hit ‘create’. Then select .
Then fill in the details as below:
Choose a two character name – can use Zx (where x is a number) if you wish to use the customer namespace
Choose the relevant description
Set DocArea to be ‘Archive Link’
Storage type – set to R/3 Database
Protocol – leave blank
Choose Version no. 0046 (or the latest one that is available)
Contents table – set this to SDOKCONT1(这个TABLE结构说明)
Basic Path – c:\ (this should be set to where the photos are all held)
Archive Path – c:\ (this is the area from where the photos are retrieved)
Output Device – can leave blank
Enter the path name where the photos are to be loaded from. Note this is for loading only. When the photos are linked into the sap system (see later), actually, SAP takes a ‘copy’ and stores it elsewhere. The path may only need to be entered to ‘Arch.path’, but entering to all three doesn’t seem to hurt.
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.
4.7 Version
1).Use SICF Tcode: that displays lot of services. Under sap --> bc there is a service called content server interface. Activate this service.
Here you activate the Content Server Interface.
First you need to create a user profile – with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
Double-click on “content server” in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)
Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL
Transaction code: OAC3
Table TOAOM_C
Set the ‘Content Repository’ field to the one you set up in the step above.
Note the Ret.per. field is the retention period for the photo in MONTHS. (so the default is 833 years and 3 months!)
2).Now Create the A2 repository with Tcode: OAC0.
Click on the Create – Store and Assign button. Enter Business Object PREL and Document Type HRICOLFOTO. Click on create(F8).
Enter the Personnel Number of the employee you want to link the photo to. Choose also the infotype that you wish the photo to be displayed on (not sure how relevant this is. It works if you use 0002 but should also work if left blank. Suspect is only relevant if you wanted to store different photos for different infotypes)
Click on Continue.
Enter the path and filename of the photo. The dropdown will allow you to navigate to the appropriate directory.
SAP will notify that the Stored document is created successfully and you end up with something like:
If you get an error 401 to do with missing authorisations, then try and redo the above step. It often only happens the first time you try and load the photo.
3).While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
4).Now upload the picture using Tcode: OAAD
i hope will help for you!

Similar Messages

  • HTTP error: 401 Unauthorized while uploading photo in hr master data

    Hi All,
    Transaction code OAAD while uploading a photo  iam faceing a problem
    i am getting error massage *HTTP error: 401 Unauthorized"
    i have done modifications in the transaction codes
    OANR ,OAC2,TABLE: V_T5850,OAC0,OAOH,OAAD,
    IN OAAD Transaction code i am getting this error
    HTTP error: 401 Unauthorized
    please guide me on this issue

    Hi Sai,
    First create a communication type user (via SU01) with SAP_ALL profile.
    Then goto SICF transaction.
    While hierarchy type is SERVICe hit "Execute" button.
    Find contentserver under default_host -> sap -> bc.
    Double click the service.
    Press Logon tab.
    Enter the relevant user info.
    Save - Back button.
    Activate the service (if it is not already active)
    Regards,
    Dilek

  • HTTP error:401 Unauthorized ,Photo Upload in R/3

    Hi SAP Guru's
    We have followed note 595563 for implementing photo upload functionaly in our server.
    but when I am storing photo by tocode OAAD , it's giving error.
    HTTP error:401 Unauthorized
    Please help actually I have checked all the SDN threds but no success.

    TCode SICF- Here you activate the Content Server Interface.
    First you need to create a user profile u2013 with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on "content server" in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this, click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)

  • HTTP error: 401 unauthorized -error in photo upload

    Hi
    Please suggest in OAAD,how to rectify the error ' HTTP error: 401 unauthorized '  during Photo upload in IT0002.
    Regards
    Ritu Saurabh

    make sure that u have activate the content server in SCIF t code
    if yes check with ur basis team as arun said

  • Not Authorized HTTP Error 401. The requested resource requires user authentication.

    Hi All,
    I have MDS web application on one server and MDS DB on another, both in same domain .
    MDS web application is created as new website on same IIS with SharePoint and have their own port assign
    In IIS Windows Authentication is added and enabled.
    Users do have function permission and module enabled.
    MDS is accessible only on server where web application is.
    When it is accessed from any computer within domain error is
    Not Authorized
    HTTP Error 401. The requested resource requires user authentication.
    Can anyone offer any suggestions?
    Thanks
    Zorko

    Hi Zorko,
    The issue may happen in case:
    1. The Master Data Service(MDS) web application is running under a domain user account
    2. You didn't register a Service Principal Name(SPN) for the account
    3. You are using fully qualified domain name(FQDN) or host name to access the MDS
    4. You are able to access the MDS by IP address(http://<ip address>)
    If I am right, it is because of the browser choose to use Kerberos authentication to connect to the MDS.
    So then, to fix the issue, please:
    Register SPN for the application pool account. Enable the delegation.
    Or, please force the web site to use NTLM authentication only.
    For more information, please see:
    How to use SPNs when you configure Web applications that are hosted on Internet Information Services:
    http://support.microsoft.com/kb/929650
    Forcing NTLM Authentication (IIS 6.0):
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/7258232a-5e16-4a83-b76e-11e07c3f2615.mspx?mfr=true
    Thanks,
    Jinchun Chen
    Jinchun Chen(JC)
    TechNet Community Support

  • HTTP Error: 401 unauthorized when executing a costcenter report.

    Hi.
    I get this HTTP error when executing an costcenter report.
    The steps I do is following.
    Call upp the report Y_D02_77000xxx
    Under the "kostenstellen:Selection I Fill in this values.
    Controlling area
    Fiscal Year
    From Period
    To     Period
    Plan version
    and finally i enter the "Cost Center group"
    Then i press "execute" and get the result for differrent Cost Element, i get 2 lines "*Total" and
    "**Over/underabsorption"
    Now i doubleclick Over/underabsorption and select report "Cost Centers: Actual Line Items"
    Now i Should get a new window woth results but instead i get a blank screen with the errormessage:
    "HTTP error: 401 unauthorized"
    This procedure worked fine until a couple of weeks ago.
    Anyone have any ideas about what could be the problem?
    Regards Johan

    You might want to check all of your connections in SM59. When you get the 401 error, this is sometimes due to a connection failure (bad password and so on) in the RFC connections (this can also happen if you are using the Content Manager).
    Hope that helps.
    J. Haynes

  • HTTP error: 401 (unauthorized)  "Error in configSet"

    Hi ,
    I am getting this error "HTTP error: 401 (unauthorized)  "Error in configSet"  in the following scenarios.
    A. Creating a content repository from SAP in T-code "CSADMIN"
    B.Accessing the http://<domainname>:<portno>
    If i give complete URL it is working.
    Example :
    http://<domain name>:<port no>/ContentServer/ContentServer.dll?serverInfo
    when i provide,only with domain name and password in the url
    it is asking for username & password and later it gives 401 unauthorized error
    http://<domainname>:<portno>
    I assume that this error is due the security settings either in IIS or in OS level.
    system landscape:
    CRM :5.0
    SAP Content Server :6.3
    Win server 2003 with sp2
    Note:
    Content Server is running and i can see the status from SAP.
    Thanks in Advance.
    Points will be awardeed for right answers.
    Regards
    Ganesh
    Edited by: ganesh subbiah on Aug 13, 2008 4:39 PM

    Check the following :
    - In IIS application pools check "Identity" property for the content server application is "LocalSystem", and not ApplicationPoolIdentity
    - in IIS "handler mapping" on your content server site, check ISAPI-dll is enabled
    - user access for "NETWORK SERVICE" following note 658442 - execute command :
    cacls <INSTDIR> /T /E /G "NETWORK SERVICE":F
    The first point has solved the issue for me.
      Pierre

  • HTTP Error 401: Unauthorized on testing content repository connection

    Hi,
    I am facing one problem while testing connection of repository created through TCode OAC0. Its giving error "HTTP error: 401 Unauthorized". Please if anyone has solution let me know.. Reward Points will be given...
    Regards
    Hardik

    yeah it was already set on "0"
    antoher problem i think. every time when i click on "CS Admin" inside the repository (OAC0) i need a username and password ( <a href="http://img404.imageshack.us/img404/1958/userzp2.jpg">click</a> ). i always use a system account who is local administrator and after that i can access the repository settings. <a href="http://img84.imageshack.us/img84/1982/csinizi2.jpg">This is my CS.ini</a>. I set the security on "0" too but always the 401. Is there a need to open antoher port beside the default 1090? Because http is working on 80 and i know that every port must be opened for that server. Or do i need antoher user for that CS.
    If you need other informations, just ask!
    Thanks
    Regards,
    Patrick

  • HTTP error .401 Unauthorized

    Hello experts,
    We are unable to upload image file, getting error " HTTP error .401 Unauthorized "
    what could be the reason , how can i resolve  this error . please help .......
    Thanks & Regards,
    KNM

    Hi Rajukumar,
    You question is related to ASP.NET, you can open a new thread in
    ASP.NET forum for a better response. I'll move your thred to Off-Topic forum.
    Best regards,

  • HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.

    Dear Experts,
    Transaction code : ME23N
    while create a document by through a GOS (Generic Object Service), Iam facing a problem and it through a error message:
    HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.
    Please giude me  on this issue.
    Thank & Regards,
    Mahendra.

    Hi Janos,
    by through a GOS under a GOS by using a  Store Business document to create a document in Transaction. Please find the below attached screenshots has i following to create a document in a Transaction. So , while creation a document in T-code am facing a error like:
    HTTP error: 401 Unauthorized. ICS:3001: The referenced certificate having been issued by 'CN=DEC' with serial :0x20140423094001 is.

  • Archive link error:HTTP error: 401 Unauthorized

    Hi all,
    I am getting "HTTP error: 401 Unauthorized" error while uploading pdf via archive link  store business document
    from front end.
    Any solution
    Regards
    Abhijit

    Abhijit,
    Check that the OS user that is used to run the web application has read/write permissions for the both the "installation path" and the "repository path" - for UNIX its the Apache user id and for Windows its the user that started the IIS service.
    This may resolve your issue.
    -Srini

  • HTTP Error 401 while invoking WSDL

    Hi Gurus,
    The scenario is, a WSDL URL location requires a System login to view it from IE.
    When I use the same WSDL location in my BPEL, I get an HTTP Error 401 (Unauthorized) as it requires the same Login Credentials that I used to view it in IE.
    Now, can any of you please tell me how to pass this Login credentials to access the WSDL file without getting HTTP 401 error.
    Please help. Thanks.
    Bala

    Muruga,
    Thanks for your reply.
    Let me explain little better...
    Actually, I have a WSDL URL, which requires a System login in order to access it. In otherwords, the WebService for that WSDL is running remotely and it requires a System Login. Now, I am using that WSDL in my BPEL to create a Partnerlink. When I run the BPEL process, I am getting HTTP 401 error as the Remote system where the WebService is running, needs a login. I know the userid/password for that system...but how do I provide it in the WSDL/BPEL.
    Hope the question is little clear now...
    Thanks
    Bala

  • IPP Error 0xF0191 / HTTP Error 401 - Authorization Required

    Hey guys,
    i'm struggeling with my iPrint.
    When I try to manage my Driverstore an error occurs
    "Authorization Required
    IPP Error: 0xF0191
    HTTP Error: 401"
    I already tried the work-around from the KB but i cant help myself.
    I also tried to add another user and another Driverstore but both also didnt work.
    Best Regards,
    Kevin

    w0zzup,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Http error:401 unauthorised

    Hi friends,
    Im working of HR photo upload in OAAD where im getting this warning error after i continue the file in the location path.
    All the fomalities i've followed as per docs
    and activated my serive in SICF.
    Note:Testing on IDES, so not authorisation given in Serivce data under OAAD.
    In help doc also it said that "if u get this warning error then  try to redo the same and u'll get a seccessful message."BUt i've tried more but still not happened successfully.
    Pls advise how to resolve it.
    thanks & regards
    sankar.

    Hello Sankar,
    If I am not wrong, a HTTP Content Server to store the Photos from HR System should have been setup using ArchiveLink function. You will get this error message when you do not have sufficient authorizations to transfer the content from SAP to the HTTP content server. Please check the Errors logged in ArchiveLink Monitor (OAM1) and identify the Function call.
    Further, please contact the Content Server admin or the responsible person to provide enough authorizations for the same. Also, please check that the firewall on the content server is not preventing the communication.
    Hope this helps you in resolving the issue.
    With Regards
    Vijay Gajavalli

  • HTTP Error: 401

    I am trying to deploy a Web application using Ant, typing ant install, but get the following error: C:\... \docs\tutorial\examples\gs\build.xml:82: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:8080/manager/...etc.
    Any suggestions?

    Your Web server thinks that the HTTP data stream sent by the client (e.g. your Web browser) was correct, but access to the URL resource requires user authentication which has btw either
    1) has not yet been provided or
    2) which has been provided but failed authorization tests.
    This is known as "HTTP Basic Authentication".
    So, you are not authentic!

Maybe you are looking for

  • Media Sync Doesn't Work for Mac

    "Whether it's a specific iTunes® playlist or a random mix of tunes, it's easy to sync the music from your Mac computer to your BlackBerry smartphone." That's how Blackberry describes Media Sync. Unfortunately, it doesn't see any of my iTunes playlist

  • Consignment issue

    Consignment issue: Are there is any possibility in standard SAP to do the complete consignment issue process (VA01, VL01N, VF01) in background with single transaction. Or is it possible to develop this through “Z” Transaction.

  • Fehler in Acrobat Pro 9

    Hallo, wenn ich auf ein PDF Dokument klicke, öffnet sich Acrobat mit einem nicht näher bezeichneten Fehler (siehe screenshot). Ich muss meinst 4-5 mal wieder neu auf das Dokument klicken, bis es dann endlich angezeigt wird. Manchmal geht es überhaupt

  • How do i cancel an automatic subscription for an app

    How do i stop an automatic subscription for the boston glove ipad app

  • DDGenerator.generateDDs(projectDefinition(), ddDefinitions);

    Pls help I'm using JDk1.4 on windows NT, trying to generate my deployment descriptors with the DDGenerator.generateDDs(projectDefinition(), ddDefinitions); class and methods. Last time we used Toplink 353, and it works great. Has something changed, c