Skip to Content
0

How to call iframe inside supply function?

Jan 04, 2017 at 12:21 PM

14

avatar image

In my application , i developed Tree using supply function. I also defined Iframe in my view.

In my structure NODE 2 is inside NODE1 and NODE3 is inside NODE1

NODE1

NODE2

NODE3

I used following code:

lv_text1 = 'http://INHYDSAPSLT.yash.com:8000/sap/bc/webdynpro/sap/zrevl_iframe_kds?sap-language=EN'.
LO_EL_CONTEXT = WD_CONTEXT->GET_ELEMENT( ).
CALL METHOD LO_EL_CONTEXT->SET_ATTRIBUTE
EXPORTING
VALUE = lv_text1
NAME = 'TEXT_FRAME'.

My requirement is that when i click on any parent node i.e NODE1 OR NODE2 OR NODE 3 it should call another webdynpro and display it in iframe.

But iframe is not working in supplyfunction but it is working in any of the methods in views.

So how can i achieve this.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers