메뉴 건너뛰기

SAP 한국 커뮤니티

REPORT Z03_007

sapjoy 2007.05.14 07:27 조회 수 : 2426

REPORT  Z03_007 .


* 날짜 계산


DATA: CTIME TYPE d.


CTIME      = sy-datum.


CTIME+6(2) = '01'.


CTIME      = CTIME - 1.


WRITE CTIME.


* 시간 계산


DATA: diff TYPE i,


             seconds TYPE i,


             hours TYPE i.


DATA: t1 TYPE t VALUE '230000',


             t2 TYPE t VALUE '070000'.


diff = t2 - t1.


seconds = diff MOD 86400.


hours = seconds / 3600.


WRITE: / hours.

번호 제목 글쓴이 날짜 조회 수
131 REPORT Z03_012 [6] sapjoy 2007.05.14 2452
130 REPORT Z03_011 sapjoy 2007.05.14 2152
129 REPORT Z03_009 [1] sapjoy 2008.04.15 2418
» REPORT Z03_007 [6] sapjoy 2007.05.14 2426
127 REPORT Z03_006 [5] sapjoy 2006.12.03 2812
126 REPORT Z03_005 [1] sapjoy 2006.12.03 2740
125 REPORT Z03_001 sapjoy 2007.05.11 2308
124 MODULE creat_listbox [4] sapjoy 2007.12.12 2411
123 MODULE create_dropdown_box sapjoy 2007.12.12 2397
122 REPORT Z10_004 [1] sapjoy 2007.11.21 2251
121 REPORT Z09_12 [1] sapjoy 2007.11.14 2263
120 method DISPLAY_LIST . [2] sapjoy 2007.10.29 2341
119 method GETSFLIGHT [2] sapjoy 2007.10.23 2224
118 REPORT Z15_041 sapjoy 2007.08.01 2454
117 REPORT Z14_005 sapjoy 2007.01.22 2269
116 REPORT Z14_002 sapjoy 2007.07.30 2185
115 module f4_CARRID input sapjoy 2007.07.22 2370
114 REPORT z08_001 sapjoy 2007.06.15 2210
113 REPORT Z05_006 sapjoy 2007.06.12 2196
112 Include Z_SHARED_AREA sapjoy 2007.05.28 2529