on 11-23-2017 11:50 AM
Hi Team,
I have a requirement to pass a set values from Webdynpro abap Button action and wanted to read the same parameters in class(used Workflow interface) Initilize method.I have used IMPORT/EXPORT concept,Singleton Class Method but no use.Kindly suggest optimal feasible solution.
Thanks in advance
Hi!
There will be one instance of the shared memory objects, which can be accessed across multiple users and sessions. You would have to implement logic in the shared memory class to handle differentiation of the multiple users/sessions if needed.
And, as Dezso suggests, if you are not in the same session, you should look at Shared Memory Objects. But how are you actually starting your workflow? If it is from within your WebDynpro class instance (where you have the needed data), could you not simply pass the values as parameters to the WF when starting it, instead of trying to read them when starting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dezso,
Thank you for your timely response.
if i can go with shared memory concept,if multiple users are using the application then would shared memory will be instantiated for multiple times or how exactly it will behave.could you please help me in understanding.
Thanks in advance!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if it is not running within the same session I would recommend to pass it either via Shared Memory object or via Server Side cookies.
You can some info on Shared Memory objects here:
-
https://blogs.sap.com/2014/04/08/working-with-shared-memory/
Server Side Cookie here: / It is a BSP feature, but can be re-used in WDA as well /.
-
Best regards,
Dezso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
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.