report zsalv_021 .
data gt_itab type table of sflight.
data gr_table type ref to cl_salv_table.
data gr_sorts type ref to cl_salv_sorts.
data gr_agg type ref to cl_salv_aggregations.
select * from sflight into table gt_itab
up to 25 rows.
cl_salv_table=>factory(
importing
r_salv_table = gr_table
changing
t_table = gt_itab ).
*gr_sorts = gr_table->get_sorts( ).
*gr_sorts->add_sort( columnname = 'CARRID' subtotal = 'X' ).
gr_agg = gr_table->get_aggregations( ).
gr_agg->add_aggregation( 'PRICE' ).
gr_table->display( ).
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
» | report zsalv_021 . | sapjoy | 2010.08.20 | 2293 |
370 | report zsalv_020 . | sapjoy | 2010.08.20 | 2381 |
369 | report zsalv_019 . | sapjoy | 2010.08.20 | 2272 |
368 | report zsalv_018 . | sapjoy | 2010.08.20 | 2327 |
367 | report zsalv_017 . | sapjoy | 2010.08.20 | 2270 |
366 | report zsalv_015 | sapjoy | 2010.08.20 | 2280 |
365 | report zsalv_014 | sapjoy | 2010.08.20 | 2299 |
364 | report zsalv_013 | sapjoy | 2010.08.20 | 2361 |
363 | report zsalv_012 | sapjoy | 2010.08.20 | 2271 |
362 | report zsalv_011 | sapjoy | 2010.08.20 | 2331 |
361 | report zsalv_010 | sapjoy | 2010.08.20 | 2294 |
360 | report zsalv_004 | sapjoy | 2010.08.20 | 3078 |
359 | report zsalv_003 | sapjoy | 2010.08.20 | 2336 |
358 | report zsalv_002 [1] | sapjoy | 2010.08.20 | 2476 |
357 | report zsalv_001 | sapjoy | 2010.08.20 | 2442 |
356 | zsalv_edit [1] | sapjoy | 2010.08.20 | 3235 |
355 | REPORT ZRTTS_02 | sapjoy | 2009.12.24 | 2586 |
354 | REPORT ZRTTS_01 . | sapjoy | 2009.12.24 | 2670 |
353 | Z16_005TOP | sapjoy | 2009.09.22 | 2549 |
352 | Z16_005 | sapjoy | 2009.09.22 | 2579 |