Skip to Content
avatar image
Former Member

how to read memory from a different session ?


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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Mar 02, 2014 at 03:09 PM

    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:


              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!


    Add comment
    10|10000 characters needed characters exceeded

  • Mar 02, 2014 at 05:05 PM


    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: Read URL Parameters in Web Dynpro ABAP

    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: How to pass data from ABAP to Web Dynpro ABAP - Part 1



    Add comment
    10|10000 characters needed characters exceeded

  • Mar 03, 2014 at 11:48 AM

    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

    Add comment
    10|10000 characters needed characters exceeded