Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Issues with SMP logon/logout on different environments, (DEV, QAS, PRD)

$
0
0

Hello guys, i'm facing a problem with SAP SMP 3.0, PL 04, logon and logout stuff, what is the problem:

 

My smp application is consuming ODATA services, which one consume some master data, and store these data inside my application as follows in Claudia Pacheco 's tutorials with everything right and configured in OnlineStore and OfflineStore stuff, MAFLogon...  and etc.


Everything is fine as the way of the tutorials, and i created my entire logic for what i need to do(which one are, create service orders) in my app storing in SQLiteDatabase, so i combine the master data from my ODATA service + the information that i need to create an order for example.

 

So, my problem is my SMP 3.0 is configured on 3 different and distincts enviroments as normally is the configuration in SAP world, (DEV, QAS, PRD).

 

And as solution to this I created a Logout option to change the enviroment but there is couple problems, for example if the user first do the logon on DEV enviroment, and download all the inital data (master data) in DEV enviroment,

 

And if the user do the logout and do logon again in QAS enviroment, the APP don't download de QAS data, the app continues with DEV database, and the same persistis in DEV to QAS and QAS to DEV as the same to PRD, how can i handle this ??

 

I imagine that i need to call, some delete method from Online and OfflineStore, or something close to that, I thought  that after implementing the MAFLogonActivity and created the doLogon and doLogout methods, all the old user data would be deleted including the database for the Offline and OnlineStore, but these methods don't that they just erase the credentials of an user right ?

 

Any helps on this ?


Viewing all articles
Browse latest Browse all 8594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>