on 01-20-2011 1:14 PM
Hi
Is there a way to get the value of a shared memory of the project in Java script/html (directly without transaction)?
thanks
No this is not possible since they were designed to be used only in transactions. What are you trying to do that you need to directly update a shared property?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not want to update the value but to retrieve it.
I have an SQL template and using iCommand applet. Based on the value I defined in shared property I would like to do some Java script logic before updating the SQL template.
If MII is not design with directly to get Shared property of a project , that I would get the value from transaction and return it to html/irpt page. I thought there exist another way of doing it.
Hi,
The only way for it to work in your situation would be your last statement. Putting the SQL query inside a transaction for processing and then using an Xacute query on the page should work. Shared memory is only exposed to transactions as indicated in the [help|http://help.sap.com/saphelp_mii121/helpdata/en/49/17d210a22813a4e10000000a421138/content.htm].
Regards,
Kevin
Jamie thanks...now i recalled about autobind in Xacute
However it does not really solve my issue.
I have various transactions. Some transactions with Xacute(for irpt) and some not. But all of the transactions need a persistent value from a parameter.
If I use custom attribute - I covered only the transactions with Xacute. Transactions without Xacute will be be able to get the value of custom attribute.
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.