Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cl_htmlb_manager

Former Member
0 Likes
363

Hi - I am using cl_htmlb_manager=>get_data to return the values of inputFields no problem but I cannot get it to return the value of a textView.

My code for the successful inputField is:

value = tv_data->get_cell_id( row_index = tv_data->prevselectedrowindex column_index = '3' ).

DATA: inputfield TYPE REF TO cl_htmlb_inputfield.

inputfield ?= cl_htmlb_manager=>get_data(

request = request

name = 'inputField'

id = value ).

s_keyword = inputfield->value.

and my code for the unsucessful textView:

value = tv_data->get_cell_id( row_index = tv_data->prevselectedrowindex column_index = '1' ).

data: o type ref to object.

o ?= cl_htmlb_manager=>get_data(

request = request

name = 'textView'

id = value ).

s_id = o->value.

I've used the generic object as was not sure what type to use as cl_htmlb_textview does not have a property 'value'.

I have been searching everywhere for an answer to this so any help would be appreciated or a pointer to some decent documentation. Many thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
345

HI,

Cl_htmlb_manager=>get_data only gets the request data.

Since there cannot be a change in text view in run time(unless it is textedit) it does not get reflected in the request and so this method may not return a value as far as i think.

You can try using text edit if there should be change in value in the runtime for this.

Or else check if there is data pertaining to text view in Form Fields...

Let me know if it helped...

Thanks,

Rashmi.

1 REPLY 1
Read only

Former Member
0 Likes
346

HI,

Cl_htmlb_manager=>get_data only gets the request data.

Since there cannot be a change in text view in run time(unless it is textedit) it does not get reflected in the request and so this method may not return a value as far as i think.

You can try using text edit if there should be change in value in the runtime for this.

Or else check if there is data pertaining to text view in Form Fields...

Let me know if it helped...

Thanks,

Rashmi.