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

inputfield and iterator

Former Member
0 Likes
659

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

Hi again and thank for the answers.. and sorry for my delay but i was on a trip..

when i make the solution that you suggested i recieve the error (in the browser):

<htmlb:inputField>: Class <htmlb:form> (CL_HTMLB_FORM) was not found as BSP parent element.

this is when iterator try to make the sentence:

event_html = cl_htmlb_manager=>render_event_call(

bsp_element = lrf_ip1

event_type = 'click'

server_event = 'VALUECHANGED'

return_value = 'FALSE'

client_event = ''

client_event_inlined = '' ).

i can not understand why is too difficult to save the contents of an inputfiels using iterator.

Please help and thanks in advance

Patrick_McMahon
Contributor
0 Likes

Hi Miguel,

You need to add the <htmlb:form id="formname"> and </htmlb:form> at the start and end of your layout respectively.

Regards,

Patrick.