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

Webdynpro in Java to create a login screen

Hi everybody,

I have to create a webdypro in Java which check the user and password is correct, these parameters are in SAP R3 ( the user and password are SAP "SAP LOGON" ).

My question is if exist any function in SAP that I can to call it or how do it this authentification.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 08:42 AM

    Hello Jose,

    Your question is not very clear.

    If you just wish to call a SAP functionality which is exposed as web service, then the method provided by Julius is correct.

    But if you wish to verify if a user id being used / created in Web Dynpro, whether it exists in SAP and if its credentials are valid or not, then there are BAPIs available in SAP.

    - BAPI_USER_EXISTENCE_CHECK - As name suggest, it checks if the User exists in corresponding SAP system.

    - SUSR_LOGIN_CHECK_RFC - To check if the user is valid / active user and the password is correct.

    But to call this function modules you will either have to use SAP connector or you will have to access the function modules as told by Julius. The authentication used there will need to have RFC execution rights.

    Hope this helps.

    Regards,

    Vandana.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 07:08 AM

    Are you developing Java WDP which consume web service in Netweaver CE?

    If yes, you need to go to http://host:port/nwa -> SOA management -> technical configuration -> destination template management -> create destination (which corresponding to where you specified when importing web service model in WDP) -> eg, DEFAULT_WS_EXECUTION_DEST and DEFAULT_WS_METADATA_DEST with details about instance number, host name, logon info etc.

    Hope it helps.

    - julius

    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.