on 01-11-2006 11:39 AM
Hi,
I would like to skip some of fields(Status,desc1, intcomms) of My ITAB, for not displaying to BSP Page. The code I wrote as follows.
DATA: itabtype type standard table of ZBH_QUEUE_UPDATE initial size 0.
SELECT * FROM ZBH_QUEUE_UPDATE
INTO CORRESPONDING FIELDS OF TABLE itab
UP TO 25 ROWS.
SKIP.
SELECT STATUS DESC1 INTCOMS
INTO CORRESPONDING FIELDS OF TABLE itab
UP TO 25 ROWS FROM ZBH_QUEUE_UPDATE.
FREE ITAB.
vSize = '7'.
vIndex_prev_disabled = 'TRUE'.
vIndex_next_disabled = 'FALSE'.
.
The BSP Page is not skipping the fields, I mentioned above.But instead it is displaying all fields.
I look forward your suggestions in this regard.
Regards
CSM REDDY
hi,
you have not provided the code of flow logic.
if you are displaying using tableview then you can remove the columns by using columnview tag inside tableview.
the columnname attrib of columnname takes the name of column
tableview disply only those columns which are included in colunmname.
you have to specify no of columnnae tag for every column
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mallikarjun,
if you are displaying by using <htmlb:tableview> then you may fill the columnDefinitions attrbiute using internal table of type 'TABLEVIEWCONTROLTAB' contains the fieldnames whatever you want.
example
<% data: lt_COLUMN_DEFINITIONS type tableviewcontroltab.
field-symbols:<LWA_COLUMN_DEF> like line of lt_COLUMN_DEFINITIONS.
APPEND INITIAL LINE TO lt_COLUMN_DEFINITIONS ASSIGNING <LWA_COLUMN_DEF>.
<LWA_COLUMN_DEF>-COLUMNNAME = 'STNAME'.
<LWA_COLUMN_DEF>-TITLE = 'Name'.
APPEND INITIAL LINE TO lt_COLUMN_DEFINITIONS ASSIGNING <LWA_COLUMN_DEF>.
<LWA_COLUMN_DEF>-COLUMNNAME = 'STUNO'.
<LWA_COLUMN_DEF>-TITLE = 'Student No'.
%>
<htmlb:tableView id = "TBL_CLASS"
columnDefinitions = <%=lt_COLUMN_DEFINITIONS %>
table = "<%= itab %>"
/>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.