cancel
Showing results for 
Search instead for 
Did you mean: 

Parameter transfer from one Web Dynpro Application to another

Former Member
0 Kudos

hi,

Is it true that only parameters with string type can be transfered from one Web dynpro application to another ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

No !

you can pass a variable of any type from outbound plug of your parent components view to inbound plug of child components interface view embadded in parent view assembly. condition is parameter name and type must be same at both the locations.

Your sceaniro may be different but parameter of any type can be passed

Regards

Vishal Kapoor

Former Member
0 Kudos

hi,

The way you used is to transfer parameter between 2 components now I want to transfer between 2 applictions .

best regards ,

Former Member
0 Kudos

hi blake.......

both components and applications are same....

in webdynpro everything is known as a component which has views and windows..

in computer terminology we call it as an application where as in webdynpro we call it as a component.

you can pass any value between these components or applications.

---regards,

alex b justin

Former Member
0 Kudos

hi, Justin ,

Can you give me some sample code when an Web dynpro application called another one and pass the parameter ?

Best regards ,

Former Member
0 Kudos

hi blake....

when you create an inbound plug....

by default a handlein method will be created.

just double click that method and enter the values that you want to import....

in the windows create the component usage for it and create the navigation link.

when you trlgger the fire to this inbound plug you just pass the values in that method, the values should be of the same type.

---regards,

alex b justin

Former Member
0 Kudos

hi, Justin ,

You are right , I can use inplug for the dest component , and can transfer referenced type , but now I met a problem , how I can transfer the parameter to the dest comp ?

I can use the following code to transfer a value from origin to dest , but how to transfer an object , can you give me some sample code ?

CONCATENATE l_url '?'

'&guid=' lv_guid

into l_url.

CALL METHOD window_manager->create_external_window

EXPORTING

url = l_url

RECEIVING

window = lo_window.

Former Member
0 Kudos

hi blake......

that is done using shared memory.... but what you can do is.. read the value in the object....

convert it into a string and then pass it.

---regards,

alex b justin

Former Member
0 Kudos

Ok , that means it's impossible .

What a pity

Best regards ,

Answers (0)