on 03-02-2014 3:02 PM
hi
i have 2 WebDynpros wd1 and wd2.
In wd1 i am sending a structure to memory, and in WD2, which is running in a new session , i want to read the value of the structure.
Is there a way to do that?
Thanks Elad
Hi Elad,
You can share the data between two sessions, by passing data through the URL parameters.
Create an event for the table, to read the selected record of a table
Declare the logic in the selectedrecord method :
In the component 2 ( YSG_EVENT ),
Hope this should help you to solve your issue.
Thanks & Regards,
Sankar Gelivi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You cannot pass structure via URL, If you are calling second WDA application via url and if your structure contains few fields, then concatenate individual fields and pass it to URL parameters which is the best way. Check this doc for reference:
If your structure contains more fields/ if you are not calling second application via url, as suggested above, consider using Shared Memory Objects: check this doc for reference:
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Elad,
Well.. there are two scenarios here:
1. If you open the second session from the first one. It's easy, you just send the structure as the HTTP request:
http://<url>:<port>/sap../something/.../<application_name>?<field name>=<value>&...
For example:
?DOKAR=PDM&DOKNR=1234567&DOKTL=001....
2. If however, you have completely different session.. the only solution that comes in mind is Shared Memory Objects. You can find more details about this here:
Shared Objects - Implementation (SAP Library - ABAP - Shared Objects)
or a short tutorial...
Hope it helps! Or maybe, you can give some more details. This is a very interesting topic!
Tudor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.