cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

inputfield and iterator

Former Member
0 Likes
655

Hi group!!

I'm using a table view with iterator. In this tableview i have a different checkboxes and a inputfield.

With the checkboxes i don't have problems becuase i can use de event on click and save the modified data, but with the inputfield i have a big problem.

The inputfield only appears in some cases (this is correct) but i don't know how to save the data introduced in the inputfield .

I created the inputfield like this:

p_replacement_bee = cl_htmlb_inputfield=>factory(

id = p_cell_id

disabled = lv_disable

MAXLENGTH = '12'

size = '12'

WIDTH = '80'

value = m_row_ref->reference

type = 'STRING'

TOOLTIP = 'IReference' ).

And when I press some of the other checkboxes the data disappear and i don't know what to do to save the data,

Thanks in advance!

View Entire Topic
Former Member
0 Likes

Thanks for the answer but this doesn't solve my problem.

My problem with the code taht you passed me is taht if I put on inputprocessing no event is launched after the inputfield is modified. Then when enters here an event of another field is launched and i in this moment i can't revcover the value because the iterator creates the field again and now returns to blank.

I'm reading about on change, find and replace function but i don't know how to implement in this case.

Thanks a lot for all and please is somebody know's the answer, please help me!!!!!!

Patrick_McMahon
Contributor
0 Likes

Hi Miguel,

Try <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/bsp/htmlb&">this</a> and look under the section entitled "How to attach javascript functions to htmlb:inputField events?"

Regards,

Patrick.