cancel
Showing results for 
Search instead for 
Did you mean: 

Using htmlb:tableView to perform LINEEDIT

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181879
Active Contributor
0 Kudos

<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:

++bcm

Former Member
0 Kudos

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.