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

Using htmlb:tableView to perform LINEEDIT

Hi All,

I am developing an application to call up SAP data and bind the internal table to a tableView in a BSP page. I have the selection in the onCreate event and rowselection event handling in the onInputprocessing event.

When I edit the line and choose the next line to edit, i use the PREVIOUSSELECTEDROWKEY and PREVIOUSSELECTEDROWINDEX attribute of the tableview_event object to update the internal table.

What happens is that subsequently the onCreate event fires again when control passes from one row to another and the changes made in the tableView are lost in the internal table.

Can you please advise me as to how to go about fixing this issue.

I am new to BSP and trying to understand the concepts.

Any suggestion as to where to start the BSP learning process.??

Thanks,

venky

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jun 10, 2004 at 03:39 PM

    <i>Any suggestion as to where to start the BSP learning process?</i>

    How about the documentation? Also, look at some example programs. And then maybe just read some of this forum. If you only read the appends of the last 7 days, it would have already have made a large difference.

    Why is onCreate fired again?

    Simply because your application is running stateless.

    See also:

    table-handling

    ++bcm

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Brian.

      I have changed the application to run stateful with session option and it works.

      I have picked up the WAS book from SAP Press. It's a good source of info. for starters.