메뉴 건너뛰기

SAP 한국 커뮤니티

Z01_018

sapjoy 2006.12.03 00:28 조회 수 : 3050

*&---------------------------------------------------------------------*
*& Report  Z01_018                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT  z01_018                                                     .
*TYPES: BEGIN OF struct,
*         n1 TYPE i,
*         n2 TYPE p DECIMALS 2,
*       END OF struct.
*
*DATA:  wa_struct TYPE struct,
*       obj_struct LIKE wa_struct.
*
*wa_struct-n1 = 1.
*wa_struct-n2 = '0.1'.
*
*WRITE : wa_struct-n1, wa_struct-n2.
*
*obj_struct-n1 = 2.
*obj_struct-n2 = '0.2'.
*WRITE : / obj_struct-n1, obj_struct-n2.

TYPES char50(50) type c.
TYPES VAL1 TYPE char50.
DATA VAL2 TYPE VAL1.
DATA VAL3 LIKE VAL2.
DATA VAL4 LIKE VAL3.

DATA VAL5 TYPE REF TO DATA.
*DATA VAL6 TYPE VAL1.
CREATE DATA VAL5 TYPE VAL1.
ASSIG.
WRITE VAL5.
번호 제목 글쓴이 날짜 조회 수
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 4105
6 Z02_003 [2] sapjoy 2006.12.03 3048
5 Z01_021 [1] sapjoy 2006.12.03 2773
4 Z01_020 [2] sapjoy 2006.12.03 3013
3 Z01_019 [2] sapjoy 2006.12.03 2694
» Z01_018 [2] sapjoy 2006.12.03 3050
1 Z01_012 [9] sapjoy 2006.12.03 4585