cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass table data from first wda to another wda /external window

Former Member
0 Kudos


On "display" push button, I want to pass my multiple selected context records from first web dynpro application to second wda. I am calling the second wda using external window method .

I tried defining interface methods in 2nd wda and calling this method from first wda. But this did not work as it was on a separate instance.

I tried singleton and it too did not work. It seems  each session has a diffente singleton instance.

I tried exit plugs but it seems that plugs can have only string as parameters and not an other data type.

Any ideas or solutions would be a great help...

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Geetha,

In Wbdynpro Sahred Memory wil not work. I have faced same requirement in my development. There is only one solution for passing data from one component to another component is saving data in DB.After using this data in second component just delete this from DB. i've done like this only.

With Regards,

Jack.

Former Member
0 Kudos

Thank you all...

I used repeated application parameters (same name) and shared table date between two different wda.

   LOOP AT lt_nd_vbak INTO ls_nd_vbak WHERE sel_row = abap_true.
    ls_parameter-name  = 'ORDERLIST'.
    ls_parameter-value  = ls_nd_vbak-VBELN.
    APPEND ls_parameter TO lt_parameters.
  ENDLOOP.

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi,

You could use Shared Memory Objects to pass data from one Component to other. Check this document for reference:

Or, you can store the data temporarily in DB and then reaad it in second component and delete it after use.

hope this helps,

Regards,

Kiran