on 11-29-2010 2:55 AM
Dear Friends,
If i declare a global variable in the component controller it will be available during its runtime and its value get expired if i open same webdynpro component application in different log-in.I need to access one variable across all login of users and across many webdynpro applications created.What should i do??
Please advice me.Thanks in advance.
Have you considered using Shared Memory Objects for your requirement?
What is the intent of this variable?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mr.Gardiner for your reply,
I do not know much about this Shared Memory Objects can you please help me.
My requirement is that my application which is attached to the portal has access to many concurrent users. I have a screen for which there is a edit button, on click of which i need to restrict other users from edit . This is based on portal ID and another unique id for that screen.I thought of lock object but i guess that wouldnt help me b'se i am not writing anything to the database but need to restrict users in controlling the editability of the UI element.In this scenario user can be same user with different application or another user using this application.
So if i save those unique ID's acrros applications, i can validate and throw a message for other users when they try to do edit action when one user is already doing it.
Hi Naveen,
OK, I now understand your requirement.
Shared Memory Objects would be the way forward I reckon. There is plenty of documentation out there. Just Google Shared Memory Objects.
Here is a link to the SAP Help [SAP Help|http://help.sap.com/saphelp_nw70/helpdata/en/c5/85634e53d422409f0975aa9a551297/content.htm]
Good luck.
Cheers,
Neil.
Edited by: Neil Gardiner on Nov 29, 2010 3:23 PM
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.