Hi,
Requirement :
I have a view in my web dynpro application. Inside that view I have embedded an Iframe. The source of this Iframe is link of a BSP Application.
Inside my BSP Application, I am calling a javascript function which fills up a variable declared inside it. Now I need the data of this variable inside my Web Dynpro Application.
Things tried :
I created a page attribute, which i tried filling inside the JavaScript function but failed. I observed that it is possible to pass page attribute data into a javascript variable but not vice-versa. Then I tried to create a cookie inside the JS function and tried to read the cookie inside the Web Dynpro using
' cl_bsp_server_side_cookie=>get_server_cookie' but again failed since I used to set the cookie inside the JS but while reading, didn't get anything.
Finally I created a button in BSP, on the click of which OnInputProcessing event gets triggered, here i got the data by reading the UI Element (textarea)
and then from here i exported the data, but this involves an extra event(i.e. a button click) which I don't want.
Kindly suggest the solution.
SA