Skip to Content
0
Former Member
Jul 27, 2016 at 08:28 AM

Reading and modifying context elements

35 Views

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!

Attachments

abap1.PNG (23.7 kB)
abap 2.6.PNG (21.9 kB)