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

Data binding with tableview: no data returned...

Hi,

I looked at the example BSP_MODEL and now I am trying to build a simple test application with a tableview.

I can easily display data from my model in the tableview, but I can't get the modified data back to my model.

I have implemented the method DO_HANDLE_DATA in the table's controller with the following code:<i>

CALL METHOD super->do_handle_data

EXPORTING

form_fields = form_fields

global_messages = global_messages.</i>

The DO_INIT method is like this:

<i>m_model ?= create_model( model_id = 'm'

class_name = 'ZNP5' ).

if m_model is bound.

m_model->init( ). "a simple select on SFLIGHT

endif.</i>

Obviously I missed something, any idea?

Thanks for your help.

Nicolas

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2004 at 05:11 PM

    Hi Nicolas,

    Is your table defined as an attribute in your m_model class? Can you post your HTMLB tableview statement? And your select statement? You probably have a typo that needs another set of eyes to find. Happens to me all the time 😊

    Cheers,

    Rich

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2004 at 03:06 PM

    Are you working stateless?

    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.