cancel
Showing results for 
Search instead for 
Did you mean: 

Passing parameters to BW webtemplate

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member206397
Contributor
0 Kudos

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

http://<host>:port/sap/bw/BEx

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

Former Member
0 Kudos

Hi Chandan,

Thanks a lot for your reply , Can you explain me what each one of this signify

LDOC

0CPSLSC7

Z0cp_slsc7_q002_3f