메뉴 건너뛰기

SAP 한국 커뮤니티

Report Z14_19

전통주막 2025.09.17 22:06 조회 수 : 1

*&---------------------------------------------------------------------*
*& Report Z14_19
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT Z14_19.


INTERFACE account.
  METHODS calc IMPORTING p1 TYPE i.
ENDINTERFACE.                    "account

CLASS cls1 DEFINITION.
  PUBLIC SECTION.
    INTERFACES account.
    ALIASES calc FOR account~calc.
ENDCLASS.                    "CLS1 DEFINITION

CLASS cls1 IMPLEMENTATION.
  METHOD account~calc.
    WRITE : / 'Deposit money is : ', p1.
  ENDMETHOD.                    "account~calc
ENDCLASS.                    "CLS1 IMPLEMENTATION

DATA : cref1 TYPE REF TO cls1.

START-OF-SELECTION.

  CREATE OBJECT : cref1.

  CALL METHOD: cref1->calc EXPORTING p1 = 200.

번호 제목 글쓴이 날짜 조회 수
383 REPORT z10_02 가능 2025.09.22 0
382 REPORT z10_01 가능 2025.09.22 1
381 Report Z14_24 전통주막 2025.09.17 3
380 ZCL_EMP(예제 Z14-24 클래스) 전통주막 2025.09.17 1
379 Report Z14_23 전통주막 2025.09.17 2
378 Report Z14_22 전통주막 2025.09.17 0
377 Report Z14_21 전통주막 2025.09.17 1
376 Report Z14_20 전통주막 2025.09.17 0
» Report Z14_19 전통주막 2025.09.17 1
374 Report Z14_18 전통주막 2025.09.17 0
373 Report Z14_17 전통주막 2025.09.17 0
372 Report Z14_16 전통주막 2025.09.17 0
371 Report Z14_15 전통주막 2025.09.17 0
370 Report Z14_14 전통주막 2025.09.17 0
369 Report Z14_13 전통주막 2025.09.17 0
368 Report Z14_12 전통주막 2025.09.17 0
367 Report Z14_11 전통주막 2025.09.17 0
366 Report Z14_10 전통주막 2025.09.17 0
365 Report Z14_09 전통주막 2025.09.17 0
364 Report Z14_08 전통주막 2025.09.17 0