on 2007 Jun 06 7:36 PM
Hi ,
I have two iviews in a page one created from webdynpro and other a BW webtemplate , is it possible pass values from WebDynpro to webtemplate ,if so how to do it.
Regards,
Emaran.
Hi,
It is possible to pass values from WebDynpro to webtemplate. You just use a IFrame or LinkToURL. In the source property of IFrame you can set an string type attribute.
That attribute will contain the URL for BW web page. Now you can split the URL
and set variable for different part of the URL. Now as per your requirement you can pass the value to the variable.
Suppose the URL is
http://<host>:port/sap/bw/BEx/EN/EN/LDOC/0CPSLSC7/Z0cp_slsc7_q002_3f/ZTP_DEFAULT_TEMPLATE
now you can break it as
EN
EN
LDOC
0CPSLSC7
Z0cp_slsc7_q002_3f
ZTP_DEFAULT_TEMPLATE
It it is upon you which part you will pass at parameter and which part will be fixed value. suppose I have two variable for LDOC ->var1 and for Z0cp_slsc7_q002_3f ->var2.
Now my new URL will be
http://<host>:port/sap/bw/BEx/EN/EN/var1/0CPSLSC7/var2/ZTP_DEFAULT_TEMPLATE
Now I can set the value of var1 and var2 different time. So based on this value URL will be different. and it will come within IFrame if you use IFrame outherwise you can use LinkToURL also.
Thanks and Regards
Chandan
Message was edited by:
Chandan Jash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the below link may it vl very useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.