Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Unable to read edited cell values from table view 'LineEDIT' mode

Hello Gurus,

Need urgent help on Cell binding - Here's what I have:

I have a bsp with one tableview for users to update shelf quantity.

Selection mode is <b>Lineedit</b>. I used this only bcos in this I need not select a row to update it - let me know if this is wrong.

Our users do not like to click on the row to select and edit it! I am not getting the edited values from the tableview.

Although I am using a contoller and view, it's not really an MVC. Can someone please guide me on this?



append initial line to p_column_definitions assigning <def>.
<def>-columnname = 'SHLQTY'.
<def>-title = 'Shelf Qty'.
<def>-EDIT = 'X'.


p_replacement_bee = CL_HTMLB_INPUTFIELD=>FACTORY(
                            id        = p_cell_id
*                            type      = 'DATE'
*                            showhelp  = 'TRUE'
*                            type       = 'QUAN'
                            VALUE      = val
                            cellvalue = 'TRUE'
                            _VALUE = P_CELL_BINDING )


I do not see anything coming in <b>P_CELL_BINDING</b> .

Tableview in layout


<htmlb:tableView id                    = "result"
                       design                = "STANDARD"
                       headerText            = "Header Text"
                       filter                = "SERVER"
                       onNavigate            = "onMyNavigate"
                       selectionMode         = "lineedit"
                       emptyTableText        = "No records found!"
                       onRowSelection        = "onMyRowSelection"
                       allRowsEditable       = "TRUE"
                       selectedRowKeyTable   = "<%= rkTab %>"
                       table                 = "<%= datatab %>"
                       selectedRowIndexTable = "<%= sRTable %>"
                       iterator              = "<%= iterator %>"
                       visibleRowCount       = "10" >


I update an internal table Datatab with all the values I require.

Any idea why the cell binding id not working?

Many thanks in advance.


Helpful Answer

Not what you were looking for? View more on this topic or Ask a question