cancel
Showing results for 
Search instead for 
Did you mean: 

Multiuser login with mobile App using SMP3.0

former_member357192
Participant
0 Kudos

Hello Experts,

We are trying to do multiuser login in mobile app but in single registration on SMP.

Process :

  • Register user via mob app to SMP
  • Downloads the Orders
  • Login to the App.
  • Now we want multiuser login on the App for downloaded data.
  • After that login user will perform the Operation.
  • Then data will saved in SAP as per respective user logon.
  • I m attaching the screenshot to undrestand the flow.
  • SUser is only register to SMP or Download the data on the App.
  • Then other user will login in the mob App and used this data.

Is it possibel via using SMP?

or any other sugession for this?

Regards

KARTIK

[Private Information removed by Moderator]

Message was edited by: Michael Appleby

Accepted Solutions (0)

Answers (3)

Answers (3)

agentry_src
Active Contributor
0 Kudos

Discussion successfully moved from SAPUI5 Developer Center to SMP Developer Center

as the more appropriate community for this topic.

Regards, Mike (Moderator)

SAP Technology RIG

nageshcaparthy
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Karthik,

Let me see if I understood correctly,

1. You would want to register with an ID eg SUser ID and download some contents to the mobile.

2. Logout and login with multiple users like User1, User2, User3 and access the same contents which is downloaded by SUser ID and process the data based on User Logon

There will be multiple issues in such scenario, data downloaded will be saved under SUser and the mobile app will not be able to fetch the data for User1. If you need to by pass this, you may have to write custom code on your application with pre-fixed SUser ID to fix such scenario.

Secondly, the most important part, to send the data back, as JK said, every registation happens only with Username+deviceid+appCID, so until the User1 is registered using the same mobile he will not be able to send the data back. So to register User1; SUser needs to un-register(remember un-register will clean the data on mobile device by default functionality) and then User1 can register, only then he will have a valid session to send the data back.

The process can be made simple if the Users will have the option to refresh and download what ever the data you are looking for.

Hope this helps.

Regards,

Nagesh

former_member357192
Participant
0 Kudos

Hello Nagesh,

Thanks for the reply.

Actually the user refresh, Download Data, Synchronize Data thia all almost taken 25-30 min time.

Also for the project prospective If we will give one device for one user so this will increase the project cost.

We are thinking to minimize the user Time and Cost.

Please suggest me the better for multiuser login in single device.

Regards

KARTIK

andreas_wegmann
Employee
Employee
0 Kudos

It depends which approach you are trying to use, online or offline, Kapsel or SDK, separate offline stores or only one store etc.
.What is used for the registration, REST or Logon Manager?

Did you already take a look at:
http://scn.sap.com/docs/DOC-58063#multipleStores

In general this won't be officially supported until Mobile SDK 3.0 SP13.

KR, Andreas

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

  • Downloads the Orders
  • Login to the App.

How exactly it will download the data before login to the app?

In general, any registration on SMP is a unique combination of username+deviceId+ AppCID

Regards,

JK

PS: multiuser login to same app on same device is a wrong design (IMHO).

former_member357192
Participant
0 Kudos

Hello JK,

Thanks for the reply,

We are downloading the data after user registartion on SMP.

"multiuser login to same app on same device is a wrong design"


Please provide me the better solution or guideline for this so i can go forword.




Regards

KARTIK

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

To add on Nagesh's understanding:

Data that is being downloaded after SUser logon, is not making any sense as operations have to be performed by other users.

Other users can do it only if they are registered on SMP.  Either user can be registered on SMP iff Suser is unregistered (assuming same app on same device)

Is that backend data not specific to user who logs in?

I had not seen using same app on same device for multiusers. Here, as mentioned alreaday, there will be a new entry on SMP and same entry would be deleted after deregistration.



Regards,

JK