Skip to Content
author's profile photo Former Member
Former Member

Get user locked response from netweaver gateway

Hi Experts,

Is there any way we can get a distinguished oData service response header for the case of user id lock, for now we are getting a 401 response "Unauthorized " response for the following cases :

  • User id expired

  • User id locked

  • Invalid user name password

How can we distinguish between these three different scenario's in SAP netweaver gateway oData services.

Best Regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on May 09, 2015 at 04:42 PM

    401 error is thrown not by the Gateway layer, but by the more generic layer, I.e. "Internet communication Framework" (ICF). In http return codes, I think 401 is a generic message covering all the scenarios mentioned by you.

    Under SICF node, under tab"Error pages" -> "Logon Errors" there are some options. You may explore them to see if it suits your requirement.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.