on 07-27-2016 9:28 AM
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!
hi,
now you bind this string..like this
* set single attribute
l_element->set_attribute(
name = `URLFULL`
value = string3 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.