메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT z17_15 .

sapjoy 2012.08.01 20:28 조회 수 : 2473

REPORT  z17_15                                 .

 

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 CORRESPONDING FIELDS OF 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 = 'CONNID' subtotal = 'X' ).

gr_agg = gr_table->get_aggregations( ).

gr_agg->add_aggregation( 'PRICE' ).

 

gr_table->display( ).
번호 제목 글쓴이 날짜 조회 수
» REPORT z17_15 . sapjoy 2012.08.01 2473
488 REPORT z19_003 sapjoy 2007.03.26 2473
487 REPORT z18_019 sapjoy 2007.03.12 2473
486 REPORT Z07_024 sapjoy 2006.12.08 2472
485 REPORT Z15_037. sapjoy 2007.02.05 2472
484 REPORT zale_001 . sapjoy 2009.02.10 2470
483 REPORT z17_21 . sapjoy 2012.08.01 2469
482 report zunicode_008. sapjoy 2008.11.21 2465
481 REPORT z11_004 . sapjoy 2006.12.22 2465
480 REPORT z18_022 sapjoy 2007.03.16 2464
479 REPORT Z07_008 sapjoy 2006.12.07 2462
478 REPORT z18_018 [4] sapjoy 2007.03.11 2462
477 REPORT Z04_033 [1] sapjoy 2008.04.14 2456
476 REPORT Z05_012 [1] sapjoy 2008.04.14 2455
475 REPORT Z15_041 sapjoy 2007.07.31 2453
474 REPORT Z07_021 [2] sapjoy 2006.12.08 2452
473 REPORT z15_021 sapjoy 2007.01.29 2452
472 REPORT zsapgos_002. sapjoy 2009.02.11 2451
471 REPORT z18_035 sapjoy 2007.03.13 2450
470 REPORT Z03_012 [6] sapjoy 2007.05.14 2448