Skip to Content
avatar image
Former Member

SAPUI5 and OData dynamic Login



can anybody share some standard code that sapui5 and odata dynamic login screen navigation ?

Means User has to pass input Username and Password atrun time and get login.




Thank you in advanced

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 18, 2014 at 10:29 AM

    Hi Anil, What i suggest you is to try creating a SAPUI5 starter application, which will help you to generate and understand the Login and other data transfer operations from UI to gateway services.

    So use the following links, which will help you.

    How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse

    http://scn.sap.com/community/developer-center/netweaver-gateway/blog/2013/06/20/creating-a-sapui5-starter-application-with-the-gateway-eclipse-plugin

    After code generation, have a look at Webcontent/Authentication folder, you can find the login JS files created which you can use for login from your application. By default the application will be using Form authentication.

    Let me know if you face any issues.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 18, 2014 at 08:11 AM

    Hi Anil, Can you explain us your requirement in more details.

    What you mean by dynamic login?

    What is your development scenario?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 18, 2014 at 07:57 AM

    Please have a look at Simple SAPUI5 Views handling . and also a tutorial in open.sap.com contains an example using Login authentication .

    Add comment
    10|10000 characters needed characters exceeded