report zsalv_020 .
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.
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('CONNID').
gr_table->display( ).
*CALL METHOD gr_sorts->add_sort
* EXPORTING
* columnname = 'CARRID'
* sequence = if_salv_c_sort=>sort_up
** subtotal = IF_SALV_C_BOOL_SAP=>FALSE
** group = IF_SALV_C_SORT=>GROUP_NONE
** obligatory = IF_SALV_C_BOOL_SAP=>FALSE
** receiving
** value =
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
450 | REPORT Z15_006 [2] | sapjoy | 2007.01.23 | 2408 |
449 | REPORT Z05_003 | sapjoy | 2007.05.21 | 2406 |
448 | REPORT z18_012 [1] | sapjoy | 2007.03.09 | 2404 |
447 | REPORT ZBADI_003. | sapjoy | 2009.01.14 | 2403 |
446 | zunicode_001 | sapjoy | 2008.11.21 | 2397 |
445 | MODULE create_dropdown_box | sapjoy | 2007.12.12 | 2397 |
444 | Z07_001 | sapjoy | 2006.12.06 | 2396 |
443 | REPORT z15_016 | sapjoy | 2007.01.29 | 2396 |
442 | REPORT ZSMARTFORMS_07. | sapjoy | 2009.01.22 | 2389 |
441 | REPORT Z03_013 [4] | sapjoy | 2007.05.14 | 2388 |
440 | REPORT Z15_045 | sapjoy | 2007.03.08 | 2388 |
439 | REPORT Z17_021 . | sapjoy | 2007.02.21 | 2386 |
438 | REPORT Z15_004 | sapjoy | 2007.01.23 | 2385 |
» | report zsalv_020 . | sapjoy | 2010.08.20 | 2381 |
436 | REPORT Z02_005 . | sapjoy | 2006.12.02 | 2375 |
435 | REPORT Z04_001 | sapjoy | 2007.05.16 | 2375 |
434 | MODULE f4_drum_s101 INPUT. 2 | sapjoy | 2006.12.26 | 2375 |
433 | REPORT Z07_027 [3] | sapjoy | 2006.12.08 | 2374 |
432 | REPORT Z13_015 [2] | sapjoy | 2007.09.13 | 2373 |
431 | module f4_CARRID input | sapjoy | 2007.07.21 | 2369 |