메뉴 건너뛰기

SAP 한국 커뮤니티

Z01_020

sapjoy 2006.12.03 00:28 조회 수 : 3013

*&---------------------------------------------------------------------*
*& Report  Z01_020                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*
*&                                                                     *
*&                                                                     *
*&---------------------------------------------------------------------*

REPORT  Z01_020                                                     .

TYPES: BEGIN OF mytext,
         number TYPE i,
         name   TYPE c LENGTH 10,
       END OF mytext.

TYPES mytab TYPE STANDARD TABLE OF mytext WITH DEFAULT KEY.

DATA text TYPE mytext.
DATA itab TYPE mytab.

text-number = 1. text-name = 'John'.
APPEND text TO itab.

text-number = 2. text-name = 'Paul'.
APPEND text TO itab.

text-number = 3. text-name = 'Ringo'.
APPEND text TO itab.

text-number = 4. text-name = 'George'.
APPEND text TO itab.

LOOP AT itab INTO text.
  WRITE: / text-number, text-name.
ENDLOOP.
번호 제목 글쓴이 날짜 조회 수
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
» Z01_020 [2] sapjoy 2006.12.03 3013
3 Z01_019 [2] sapjoy 2006.12.03 2694
2 Z01_018 [2] sapjoy 2006.12.03 3050
1 Z01_012 [9] sapjoy 2006.12.03 4585