cancel
Showing results for 
Search instead for 
Did you mean: 

Reading and modifying context elements

Former Member
0 Kudos

Hello friends,

I'm completely new to ABAP and web dynpro development and I'm having truble wrapping my head around context elements.

My basic app has two input fields and an iframe. I want to concatenate the values from both fields and set them as the URL for the iframe. I bound both the elements 'URLHOST' and 'ANALYSISID' to the values of the input fields and followed this:

Reading the Structure from a Context Element - Web Dynpro for ABAP - SAP Library

tutorial to access the element values in my 'SET_URL' method. I'm having trouble following this:

Writing Data to Existing Context Elements - Web Dynpro for ABAP - SAP Library

tutorial however, in order to write the concatination of both strings into 'URLFULL'.

My context looks like this:

and my method like this:

Thanks for your help!

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

hi,

now you bind this string..like this

* set single attribute

l_element->set_attribute(

     name `URLFULL`

     value = string3 ).

Former Member
0 Kudos

This message was moderated.

Answers (0)