‎2006 Dec 08 4:39 AM
hi ,
i want to know all the table control fields ,eg. current_line,
where can i find all these fields.
thanks.
‎2006 Dec 08 4:40 AM
while in debuggin type the name of the table control, which is a deep structure, just double clik on it, which will show u the below
FIXED_COLS
LINES
TOP_LINE
CURRENT_LINE
LEFT_COL
LINE_SEL_MODE
COL_SEL_MODE
LINE_SELECTOR
V_SCROLL
H_GRID
V_GRID
COLS
INVISIBLE
Regards
- Gopi
‎2006 Dec 08 4:40 AM
while in debuggin type the name of the table control, which is a deep structure, just double clik on it, which will show u the below
FIXED_COLS
LINES
TOP_LINE
CURRENT_LINE
LEFT_COL
LINE_SEL_MODE
COL_SEL_MODE
LINE_SELECTOR
V_SCROLL
H_GRID
V_GRID
COLS
INVISIBLE
Regards
- Gopi
‎2006 Dec 08 4:43 AM
hi,
Component
Type (length)
Meaning
In the Screen Painter:
FIXED_COLS
I
Number of lead columns. Transferred from Screen Painter. Can be changed in the ABAP program.
Fixed columns
LINES
I
Controls the scroll bar of the table control. At LOOP without internal table, LINES has the initial value zero and must be set in the program so that the scroll bar can be used. At LOOP AT <itab> the system sets this component to the number of rows of the internal table, whenever the table control is processed for the first time. The initialization event of a table control is not determined uniquely. If the corresponding internal table is not fully created at this event, then the LINES variable receives an incorrect value. If LINES in the LOOP loop is smaller as the number of rows of the internal table, then the table control contains blank rows at the end.
Therefore you should always set the LINES component explicitly in the ABAP program, including at LOOP AT <itab>. In this way you have full control over the dimensions of the vertical scroll bar and so can control the number of rows that are ready for input. Initialization should usually occur at PBO directly before the LOOP statement for the table control.
TOP_LINE
I
Top row at next PBO. Set at PAI by position of the vertical slider box. Can be changed in the ABAP program.
CURRENT_LINE
I
Current line in the loop. Set automatically in the LOOP loop to the value SY-STEPL +(TOP_LINE-1). No changes allowed in the ABAP program.
LEFT_COL
I
First displayed horizontal scrollable column after the lead column. Set at PAI by position of the horizontal slider box. LEFT_COL contains the absolute number of the column independent of any column shift by the user. Can be changed in the ABAP program.
LINE_SEL_MODE
I
Row selection mode: 0, 1, 2 for none, one or multiple rows can be selected. Transferred from Screen Painter. Can be changed in the ABAP program.
Row selection
COL_SEL_MODE
I
Column selection mode: 0, 1, 2 for none, one or multiple rows can be selected. Transferred from Screen Painter. Can be changed in the ABAP program.
Column selection
LINE_SELECTOR
C(1)
Flag (X or blank) for selection column. Transferred from Screen Painter. Can be changed in the ABAP program.
Selection column
H_GRID
C(1)
Flag (X or blank) for horizontal separators. Transferred from Screen Painter. Can be changed in the ABAP program.
Separators
V_GRID
C(1)
Flag (X or blank) for vertical separators. Transferred from Screen Painter. Can be changed in the ABAP program.
Separators
COLS
CXTAB_COLUMN
Control table for single columns (see below).
INVISIBLE
C(1)
Flag (X or blank) for visibility of entire table control.
reward points if this helps you,
regards,
siva
‎2006 Dec 08 7:47 AM
u hav to debug ur program in which u hav used table control and type the name of the table control.It is a deep structure.
Or u can debug sm30 and type the name of the table control field name and get it from there.Following are the fields in table control
FIXED_COLS
LINES
TOP_LINE
CURRENT_LINE
LEFT_COL
LINE_SEL_MODE
COL_SEL_MODE
LINE_SELECTOR
V_SCROLL
H_GRID
V_GRID
COLS
INVISIBLE