cancel
Showing results for 
Search instead for 
Did you mean: 

SUP & device database

Former Member
0 Kudos

Hi,

   Please tell me how do I implement this.

I am developing a native mobile application using SUP (backend SAP). It is such that there are may be some 50 devices that can connect to SAP via SUP.There can be more than one user using using each device.

I want to store the records of "only those users" who use that device in that particular device db .How do I do that?

For example   if there are 10 devices d1, d2, d3................d9, d10

Each device has an assigned user u1,u2........u10

ie

d1-u1

d2-u2

d3-u3

and so on

But some day, u2 could also use d1 if d2 is not working.

So, I need to design SUP such that incase u2 uses d1, then the database of d1 should persist the records of only u1 and u2 (even offline).

Please help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Dear Ramanathan,

I am not getting clear what exactly u r trying to achieve / do .

Not Much clear...."I want to store the records of "only those users" who use that device in that particular device db."

Reg

Navin

Former Member
0 Kudos

Hi Navin,

   I will give an example.Hope that would make it clear.

Suppose there are there users u1,u2,u3.

u1 is using device d1, u2 is using d2 and u3 is using d3.

All the three users will connect to SAP via SUP. So, when u1 passes the synchronization parameters to SUP, the db will from sap (corresponding to the synchronization parameters he passed) will sync with SUP and device.

Similarly, it will happen for other users also in their respective devices.

Now comes the main issue..

Suppose one day, u2's device is not working.So he uses u1's device.So, now u2 syncs with sup with the corresponding synchronization parameters.When he does that the corresponding db of u2 will overwrite the db of u1 in device d1.

But I want to maintain the db of both u1 and u2 (not any other user) in device d1 for using it when there is no connectivity between device and sup.

How do i do that?

Thanks