Skip to Content
author's profile photo Former Member
Former Member

Reading and modifying context elements

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!

abap1.PNG (23.7 kB)
abap 2.6.PNG (21.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jul 27, 2016 at 08:51 AM


    now you bind this this

    * set single attribute


    name = `URLFULL`

    value = string3 ).

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.