on 02-17-2008 11:09 AM
hi,
Is it true that only parameters with string type can be transfered from one Web dynpro application to another ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.