REPORT Z99_24.
TYPES : BEGIN OF t_line,
col1 TYPE i,
col2 TYPE i,
END OF t_line.
DATA : gt_itab TYPE sorted TABLE OF t_line WITH NON-UNIQUE KEY col1 col2,
gs_str TYPE t_line.
DATA: lv_start_time TYPE timestampl,
lv_end_time TYPE timestampl,
lv_duration TYPE decfloat34.
DO 10000000 TIMES.
gs_str-col1 = 10000000 - sy-index.
gs_str-col2 = sy-index.
INSERT gs_str INTO TABLE gt_itab.
ENDDO.
GET TIME STAMP FIELD lv_start_time.
READ TABLE gt_itab WITH TABLE KEY col1 = 5555555 col2 = 7777777 INTO gs_str.
GET TIME STAMP FIELD lv_end_time.
lv_duration = lv_end_time - lv_start_time.
WRITE: 'Execution time: ', lv_duration, ' milliseconds'.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
10 | REPORT Z11_03. | sapjoy | 2012.07.30 | 795 |
9 | REPORT Z11_04 . | sapjoy | 2012.07.30 | 786 |
8 | REPORT Z11_09. | sapjoy | 2012.07.30 | 780 |
7 | REPORT z10_02. | sapjoy | 2012.07.30 | 779 |
6 | API | sapjoy | 2022.11.02 | 325 |
5 | Z18_06_DRAGCLASS | sapjoy | 2022.02.22 | 302 |
4 | z15_21_drag | sapjoy | 2022.02.24 | 276 |
3 | REPORT z05_36 | sapjoy | 2023.02.07 | 249 |
2 | REPORT Z06_01. | sapjoy | 2024.04.20 | 33 |
» | REPORT Z99_24. | sapjoy | 2024.05.21 | 23 |