on 11-20-2008 10:14 AM
Hello,
does anybody know if i can group data in a tableview like in a "normal" ALV?
As example:
I have a table with 3 columns:
matnr werks text1
1234 0100 refrigerator kitchen
1234 0100 refrigerator house 2
0987 0200 seat meeting room
I want the data displayed like this:
1234 0100 refrigerator kitchen
refrigerator house 2
0987 0200 seat meeting room
ist it possible?
Hi
U can display it very basic and for this purpose only TableViews made for.
also go through std. BSP application : SBSPEXT_HTMLB
page : Table View
// code like this
<htmlb:tableView id = "I_FINAL"
onRowSelection = "MyEventRowSelection"
selectionMode = "lineEdit"
*// Mention ur internal table name*
table = "//migoclobj/i_final"
iterator = "<%=tv_iterator%>"
visibleRowCount = "10"
width = "10" >
<htmlb:tableViewColumns>
*// put field name as per in ur internal tables*
<htmlb:tableViewColumn columnName="MATNR"/>
<htmlb:tableViewColumn columnName="TXZ01"/>
<htmlb:tableViewColumn columnName="MENGE"/>
<htmlb:tableViewColumn columnName="MEINS" />
<htmlb:tableViewColumn columnName="LGORT"/>
<htmlb:tableViewColumn columnName="ENTRY_QNT"
edit = "TRUE" />
<htmlb:tableViewColumn columnName="ENTRY_UOM"
edit = "TRUE" />
</htmlb:tableViewColumns>
</htmlb:tableView>
this may help u.
Regards
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Benjamin,
This task can be easily achieved by grouping the values using AT NEW option before appending it to the specified table (ie) the grouping task should be done in the internal table itself and once it gert completed it can be easily appended to the specified table through which the needed output can be obtained.
With Regards,
SHARMILA BRINDHA.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin
Please see this standard application sbspext_table. Page name: TableViewFixedColumns.bsp
This will surely help you.
Thanks
Vijay.M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.