메뉴 건너뛰기

SAP 한국 커뮤니티

report zsalv_020 .

sapjoy 2010.08.20 20:00 조회 수 : 2381

 

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      =
번호 제목 글쓴이 날짜 조회 수
371 report zsalv_021 . sapjoy 2010.08.20 2293
» 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