SAP XI error: 401 Unauthorized (When calling from Enterprise Portal)

Hello Friends
I am trying to access an SAP table from IVIEW of portal via XI. Using the latest and greatest version of all SAP Components. (We just installed couple of weeks back).
I keep getting the following error message when I try to access data from IVIEW of portal.  
"SAP XI error: 401 Unauthorized"
What may be the reason? If some one can help me, I would really appreciate it.
Thanks
Ram

Thanks Srinivas for your help.
I tried accessing the URL directly and got the error message
"User Credentials not passed via Enterprise Portal. Please contact your Administrator"
Any more suggestions?
Thanks again
Ram

Similar Messages

  • Running  BDC in 'A' mode when called from Enterprise portal

    HI All,
    I have created a RFC which contains a BDC program that update data in SAP R/3. The RFC is called from Enterprise portal. Is it possible to run the rfc in A(all screen display) mode while calling from EP. I have tried it but it gives following 2 errors on EP
       cm_no_data_received
       rfc_error_communication
    what changes i have to do so that i can run the BDC in 'A ' mode  when called from Enterprise portal

    it would not be related to EP administration issues but something to do with GUI usage. it is loggically fare enough not to give options of viewing the debug screen in as it might concern security issues inway the data could be edited at any point of time. Moreover the screens u see in R3 are ABAP but whereas in EP it is purely based on Java and the calls to SAP is done via JCO thus enabling ABAP functionalities in EP. Maybe for these technical reasons or constraints it wont be possibel to view the screen in EP eventhough u had ext.bp activated

  • 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

  • Error 401 (Unauthorized) when setting up Hybrid Search

    Hello,
    I am trying to set up Hybrid Search (one-way out-bound search) between a SharePoint 2013 on-premises farm I've got running on Windows Azure (IaaS) and a SharePoint Online trial tenant I have set up for the purpose.
    I have followed Manas Biswas' rather long guide (search for manas biswas hybrid search on Bing to find it) for setting it up and everything has gone fine -- including setting up my SharePoint 2013 farm in a demo lab on Azure, signing
    up for a SharePoint Online tenant, getting DirSync to work, etc. Actually, I hadn't bumped into any errors until the very end when I wanted to try out my setup.
    I had just set up SharePoint Online as a search result source on my SharePoint 2013 team site. I have also set up the search query rule with the result block for the SP Online results. Yet, when I try to use the Query Builder and I search for "*",
    I get the following error:
    System.Net.WebException: The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.GetResponse() at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute() at Microsoft.SharePoint.Client.ClientContext.GetFormDigestInfoPrivate() at Microsoft.SharePoint.Client.ClientContext.EnsureFormDigest() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.Office.Server.Search.RemoteSharepoint.RemoteSharepointEvaluator.RemoteSharepointProducer.RetrieveDataFromRemoteServer(Object unused) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at Microsoft.Office.Server.Search.RemoteSharepoint.RemoteSharepointEvaluator.RemoteSharepointProducer.ProcessRecordCore(IRecord record)
    Now, I don't know why this operation is rejected as "unauthorized." I am unsure of my certificates, which I have generated and set up in order for the connection to work. Out of all the steps in Biswas' guide, the certificates part is the one I
    have the least knowledge about. I am suspecting that there is something wrong in this area but I have no idea of how to troubleshoot it.
    To make it clear, I did not encounter any error messages while following the guide -- not even when firing off the fair amount of PowerShell scripts that Biswas has written.
    I would appreciate it if anybody could help me troubleshoot this problem. I am running out of ideas to try out so any suggestion will appreciated! :-)

    Hi Sebastian and Manas,
    I am trying to set up a hybrid environment and followed the blog posts. Everything was set up as per the guidelines mentioned but still I am not able to fetch any results from SharePoint Online inside my on-premise environment. 
    There are no errors coming as such. Its just that my on-premise is showing no results from SPO. However if the same user logs on into the Office 365 SPO site he is able to see SPO search results. That means there is no permission related issue specific to
    test user. 
    I am totally out of ideas now. In case you have faced similar issues while setting up the same then any pointers to troubleshoot would be very helpful.
    The link to my query that I have asked on the forums is
    https://social.msdn.microsoft.com/Forums/office/en-US/540d2629-ec6b-4905-b8e2-f6ba4e770d26/configure-one-way-outbound-hybrid-search?forum=sharepointgeneral
    Thanks,
    Geetanjali
    Geetanjali Arora | My blogs |

  • Error 401--Unauthorized when deployed on WL Managed server (10.3.3)

    Hi,
    I created & started a WL-Managed server on my window desktop machine. I deployed to this Managed server, an application which is running without problem on Admin Server. (The managed server is created in the same Domain as that of Admin Server)
    However, when I log on to the application on Managed server & enter the UID & PW I get the Error 401--Unauthorized page. The same security works perfectly well for Admin Server.
    Any clues what could be going wrong.
    Thanks in advance.
    Edited by: Prakash Chavan on Feb 28, 2011 4:57 PM

    Thanks Faisal,
    Here is the log after I add the 2 flags
    <Mar 1, 2011 8:59:30 AM EST> <Notice> <WebLogicServer> <BEA-000365> <Server stat
    e changed to RUNNING>
    <Mar 1, 2011 8:59:30 AM EST> <Notice> <WebLogicServer> <BEA-000360> <Server star
    ted in RUNNING mode>
    Mar 1, 2011 9:13:27 AM oracle.jbo.uicli.mom.CpxUtils$Visitor logMainApplicationC
    px
    INFO: zip:C:/JDev11g/Middleware/user_projects/domains/base_domain/servers/Svr0/t
    mp/_WL_user/TestTrackApp_V2.0/77qs7f/war/WEB-INF/lib/_wl_cls_gen.jar!/view/DataB
    indings.cpx
    [JpsAuth] Check Permission
    PolicyContext: [TestTrackApp#V2.0]
    Resource/Target: [view.pageDefs.ttsPageDef]
    Action: [view]
    Permission Class: [oracle.adf.share.security.authorization.RegionP
    ermission]
    Result: [FAILED]
    For more information on this failure, please set -Djps.auth.debug.verb
    ose=true
    I have emailed you the requested log & the config files.
    Edited by: Prakash Chavan on Mar 1, 2011 9:35 AM

  • Error 401 Unauthorized when I access to a document in km through internet

    Hello,
    we need to access to documents on km though mail subscriptions.
    When we access to this documents through the url given in the subscriptions email and we are on our intranet environment everything worked fine (the document is showed if SSO is activated or a logon windows appears if SSO is deactivated).
    But when we are on internet and we tried to access to the same document throgh the same url in the same subscription email, the following message appears:
    401 Unauthorized
    and we haven't the chance to enter our credentials since no logon windows appears.
    Any idea of what might happen? The only thing we need is that the logon windows appears.
    Thanks in advance
    Mireia

    Hello Mireia Romo ,
    First thing I will like to inform you is no SSO is required for KM with Portal.
    Have you done your SSO with Windows Active Directory?
    Regards,
    Chinmay

  • Call Adapter Error - 401 Unauthorized

    Hi,
    We are using Multi Mapping where it splits 1 message into n messages. The n messages split by this scenario in trun calls another scenario configured in the same PI server using SOAP Adapter.
    The called scenario is SOAP --> Siebel using iWay Adapter.
    When the number of messages split are huge in order of thousands, the server is going for a toss and the called scenaio is failing at Call Adapter Step in IE with HTTP Error 401 Unauthorized. Few of the messages manage to pass successfully.
    Anticipating your valuable inputs.
    Thanks.
    Regards,
    Sudharshan N A

    Hi Sudharshan,
    There can be different reasons for getting HTTP 401: Unauthorized error. As you said, few of the messages are being passed to the called application, I would request you to check the scalability of the Seibel Server.
      Also if you are using a connections from a connection pool, then it may be that the pool itself is getting exhausted, though mostly we get Socket exception/Connection Exception/IO Errors in these cases.
      The other reasons can be that the user you are using to connect Seibel dont have enough permissions. But it is ruled out as you said some messages have been processed.
    If the Seibel server is SSL enabled, and your PI doesn't have any certificate configured, then also you may get such errors.
    Regards,
    Sugata

  • REST call in FBA WebApp returns error 401 unauthorized

    Update:
    I found out that this is happening only in a webapplication where FBA is activated. How can this be related? As soon as I deactivate FBA, 401 is gone.
    Hello,
    I'm trying to do a very basic REST call from a Console application to my SharePoint 2013. As I understand, that might be already the problem, as I'm having a hard time to authenticate my console app using oauth (which is necessary if I'm not mistaken). If
    I use default credentials, everything is working just fine. If not, I receive an error 401 unauthorized. This is my code when I try to use very basic authentication using CredentialCache:
    var req = (HttpWebRequest)HttpWebRequest.Create("http://{serverurl}/_api/lists/");
    req.Method = WebRequestMethods.Http.Get;
    var ccache = new CredentialCache();
    ccache.Add(new Uri("http://{serverurl}/"), "Basic", new NetworkCredential("{username}", "{password}", "{domain}"));
    req.Credentials = ccache;
    req.Headers.Add("X-FORMS_BASED_AUTH_ACCEPTED", "f");
    var response = (HttpWebResponse)req.GetResponse();
    I've only replaced some irrelevant data with some placeholders. Thanks for your help and any clearification
    Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

    Hey Amr,
    thanks for your feedback. Let me write down some more facts about my environment so we might be able to track down what's going wrong:
    - Virtual PC using Windows Server 2012
    - SharePoint 2013 with September CU
    - Compatibility Level 15 Webapplication using Default "Claims Based Authentication" with form based authentication activated
    - Visual Studio 2013 Console Application .NET 4.5 x64 Build Target
    Writing down what my base configuration is seems to have brought light into the dark. As soon as I deactivated FBA authentication I was able to execute the request without any problems. So now I know what I have to look for. Thank you!
    Regards Andreas MCPD SharePoint 2010. Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your problem.

  • 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 ,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)

  • SOAP Sender Adapter gets error '(401) Unauthorized.'

    Hi all,
    we are using XI 3.0 and have a scenario with a SOAP Sender Adapter, which is using "HTTPS with Client Authentication". I have configured everything I have found on the forum at Visual Admin and Integration Directory:
    Set the UME property ume.logon.allow_cert to TRUE in 'Service-->UME Provider'
    Imported client certificate and root CA certificate to 'Service-->Keystore'
    Created user with role role SAP_XI_APPL_SERV_USER
    Assigned this user to the client certificate in 'Security Provider-->UserManagement'
    Added the user to xi_adapter_soap_message and xi_adapter_soap_help in 'Security Provider'
    Added the root CA in 'SSL Provider>Dispatcher>Client Authentication' and marked 'Request client certificate.
    Added the user to BusinessSystem at tab 'Assigned Users'
    Added the user to Sender Agreement at tab 'Assigned Users'.
    Our business partner got a certificate of our server and the according PrivateKey is added to 'SSL Provider>Dispatcher>Server Identity'
    Unfortunately, our server certificate is not verified by an root CA!!
    When the business partner now browse the URL 'https://url:port/XISOAPAdapter/MessageServlet?channel=:BS_3RD_PARTNER:SOAP_SENDER&nosoap=true' on his system, he will get a 'Message Servlet is in Status OK'.
    But when he tries to process the URL directly in his messaging system, he gets an error '(401) Unauthorized.' 
    Any hints what could be the problem between browing the URL in InternetExplorer and sending from the messaging system?
    Does it really mean that authorization was successful, when getting  'Message Servlet is in Status OK' in the Browser?
    How can I assign an user when not using ClientAuthentication?
    I would be very thankful for every help...
    Grtz, Juergen

    Hi Satish,
    could the user or password also be wrong, even if you get 'Message Servlet is in Status OK' when browsing the URL in the Internet Explorer? I would have seen this as a sign, that the user authentication works basically...
    Is there a special place to store the password in the Visual Admin, or will the password be used, which is available in the SU01 ?
    Grtz,
    Juergen

  • The remote server returned an error :(401) unauthorized in Provider hosted app deployment

    Hi,
    We are trying to deploy the provider hosted app in server environment . we are getting the "The remote server returned an error :(401) unauthorized" error after deploy the app in server.
    stack Trace:
    [webException:Te remote server returned an error:(401) UnAuthorized.]
    System.Net.HeepWebRequest.GetResponse().
    Followed the same MSDN steps , but sill same error. We have attached the certificate and using the same issuer ID in the app web.config.
    Verified the IIS setting and still getting the same error when we call the "Clientcontext.ExecuteQuery()" method.
    Same code is working fine in my Local dev environment.
    If anyone have idea about this issue, please let me know.
    Thank you,
    Mylsamy

    Hi ,Thank you for your response. We have tried all the options and everything is same (Client ID,Issuer ID...etc) and finally figured out the issue.The below link saved my day.http://msdn.microsoft.com/en-us/library/office/dn762439(v=office.15).aspxIn "TokenHelper.cs" GetRealmFromTargetUrl method always return null andWhen we analyze the issue we found some variable name assigned for "Realm" Instead of GUID in SP server.Power shell command to get the Realm in SP server:  Get-SPAuthenticationRealmWe have followed below article to generate the new GUID for realm.http://technet.microsoft.com/en-us/library/jj219756(v=office.15).aspx$c =Get-SPServiceContext -Site "http://<websiteurl>"Set-SPAuthenticationRealm -ServiceContext $c -Realm "a686d436-9f16-42db-09b7-cb578e110ccd".
    Thankyou,Mylsamy

  • ALUI-Create Web Service - Remote Portlet Error 401:Unauthorized

    I have some problems during user ALUI(AquaLogic User Interaction 6.1).
    I created a Web Service - Remote Portlet,then set value of Basic Authentication Settings is "User's Basic Authentication Information". When related remote server refer to tomcat5.5,the Web Service - Remote Portlet is fine to run,but not when the related remote server refer to weblogic9.2.
    When value of Basic Authentication Settings is "Use Remote Server Basic Authentication Information", related remote server refer to weblogic9.2 or tomcate5.5, the portlet is fine.
    error detail:
    Error
    sso Portlet cannot be displayed because the remote server returned an invalid HTTP response code.
    We recommend:
    • Refresh sso Portlet
    • Accessing this portlet at a later time.
    • Contacting your portal administrator if problems persist.
    Detailed error information
    • Response status: 401
    • Response body:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.

    How to configure remote server to accept authorization header?
    I set value of Basic Authentication Settings is "User's Basic Authentication Information" because the Web Service - Remote Portlet need to get the portal's login user infomation.If the value is "Use Remote Server Basic Authentication Information",the application is fine to run.
    The follow is the way to get login user infomation.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);
    ICredentialProvider cProvider = portletContext.getCredentialProvider();
    String username = cProvider.getUsername();
    String password = cProvider.getPassword();
    Do you have other way to authenticate users?
    Thanks.
    Edited by: user2233298 on 2009-4-22 下午8:25

  • Error 401--Unauthorized in oam console

    Hi,
    I have face this issue in oam. When I am connecting to oamconsole in frontend.
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.
    could anyone can suggest me to resolve this issue.

    can you check oam diagnostic logs on the server, it should have details

  • The remote server returned an error: (401) Unauthorized

    We are attempting to upload a file to SharePoint on Office 365 and get the following error:
    The remote server returned an error: (401) Unauthorized.
    We also tried using NetworkCredentials and that got the following error: The remote server returned an error: (404) Not Found.
    The code is shown below.
    Any idea on to fix this error?
    public
    void uploadDocument(string
    siteurl, string username,
    SecureString securepassword,
    string domain,
    string filestreamPath =
    "NewDocument.docx",
    string serverRelativeUrl =
    "/Shared Documents/NewDocument.docx")
    ClientContext context =
    new
    ClientContext(siteurl);
            //context.Credentials = new NetworkCredential(username, securepassword, domain);
    context.Credentials = new
    SharePointOnlineCredentials(username, securepassword);
    using (FileStream
    fileStream =
    new
    FileStream(filestreamPath,
    FileMode.Open))
    ClientOM.File.SaveBinaryDirect(context,
    serverRelativeUrl, fileStream, true);

    Yes, it has access.  In fact, it has no problem getting the site properties using the code below.  It is just when I am uploading a file that the error occurs.
    public Web getProperties(string
    siteurl, string username,
    SecureString securepassword)
    Web web = null;
    // Starting with ClientContext, the constructor requires a URL to the
    // server running SharePoint.
    ClientContext context = new ClientContext(siteurl);
    // The SharePoint web at the URL.
    web = context.Web;
    // We want to retrieve the web's properties.
    context.Load(web);
    // Execute the query to the server.
    context.Credentials = new SharePointOnlineCredentials(username, securepassword);
    context.ExecuteQuery();
    return web;

Maybe you are looking for

  • Airport extreme network and bizarre issue...

    Thanks for any and all help but let's start with the setup... Airport Extreme (dual band) is my main station connected to the modem and also to an imac (wired). Two airport expresses both using the extend wireless network option Exp. 1 is connected t

  • APPLE DIGITAL VIDEO CAMERA- We so need one

    Who here agrees that Apple should create a video camera of their own. It would solve all of our video camera problems!!! I really want to find a way to make this suggestion to them!!?? iBook and iMac   Mac OS X (10.4.9)   iBook and iMac iBook and iMa

  • Whats the best way of watching iplayer through my apple tv?

    When mirroring off my mac book pro the picture stutters. When playing iplayer from my iphone the picture is very grainy. And I cannot get it to work from my ipad at all! Any help? Thankyou

  • Strange sign in Vista SP1 folders

    Dear friends I use Vista+SP1 and so far everything seems to be ok, but I notice something strange when I open the windows explorer In some folders,not in all, like <<Local settings, for instance,I see a small sign under this folder and when I try to

  • Auto email in sales order saving.

    Hello, My requirement is like this, End user create a sales order , when he click on save button an  auto email should go to senior person about the sales order details. How can i do this please guide me. Thanks in advance.