메뉴 건너뛰기

SAP 한국 커뮤니티

Z02_003

sapjoy 2006.12.03 00:29 조회 수 : 3054

*&---------------------------------------------------------------------*
*& Report  Z02_003                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT  Z02_003                                                     .
DATA:
  date1      TYPE d,             date2      TYPE t,
  string1(6) TYPE c,             string2(8) TYPE c,
  number1    TYPE p DECIMALS 2,  number2    TYPE p DECIMALS 0,
  count1     TYPE i,             count2     TYPE i.

PERFORM typetest USING date1 string1 number1 count1.
SKIP.
PERFORM typetest USING date2 string2 number2 count2.

FORM typetest USING now
                    txt TYPE c
                    value(num) TYPE p
                    int TYPE i.
  DATA: t(1) TYPE c.
  DESCRIBE FIELD now TYPE t.
  WRITE: / 'Type of NOW is', t.
  DESCRIBE FIELD txt LENGTH t IN CHARACTER MODE.
  WRITE: / 'Length of TXT is', t.
  DESCRIBE FIELD num DECIMALS t.
  WRITE: / 'Decimals of NUM are', t.
  DESCRIBE FIELD int TYPE t.
  WRITE: / 'Type of INT is', t.
ENDFORM.
번호 제목 글쓴이 날짜 조회 수
11 REPORT Z07_013 sapjoy 2006.12.08 2546
10 REPORT Z07_011 [1] sapjoy 2006.12.07 2185
9 REPORT Z07_010. sapjoy 2006.12.07 2529
8 REPORT Z07_007 sapjoy 2006.12.07 2701
7 Dynamic Table Maintenance [1] sapjoy 2006.12.05 4106
» Z02_003 [2] sapjoy 2006.12.03 3054
5 Z01_021 [1] sapjoy 2006.12.03 2773
4 Z01_020 [2] sapjoy 2006.12.03 3014
3 Z01_019 [2] sapjoy 2006.12.03 2694
2 Z01_018 [2] sapjoy 2006.12.03 3051
1 Z01_012 [9] sapjoy 2006.12.03 4586