REPORT Z17_011 .
INCLUDE z17_011_CLASS.
* Create reference to class lcl_airplane
DATA: airplane1 TYPE REF TO lcl_airplane,
airplane2 TYPE REF TO lcl_airplane.
START-OF-SELECTION.
* Create instance
CREATE OBJECT airplane1.
CALL METHOD: airplane1->display_n_o_airplanes.
CREATE OBJECT airplane2.
* Setting attributes using a method with parameters
CALL METHOD airplane1->set_attributes EXPORTING p_name = 'Kurt'
p_planetype = 'MD80'.
END-OF-SELECTION.
* Using methods
CALL METHOD: airplane1->display_n_o_airplanes,
airplane1->display_attributes.
INCLUDE z17_011_CLASS.
* Create reference to class lcl_airplane
DATA: airplane1 TYPE REF TO lcl_airplane,
airplane2 TYPE REF TO lcl_airplane.
START-OF-SELECTION.
* Create instance
CREATE OBJECT airplane1.
CALL METHOD: airplane1->display_n_o_airplanes.
CREATE OBJECT airplane2.
* Setting attributes using a method with parameters
CALL METHOD airplane1->set_attributes EXPORTING p_name = 'Kurt'
p_planetype = 'MD80'.
END-OF-SELECTION.
* Using methods
CALL METHOD: airplane1->display_n_o_airplanes,
airplane1->display_attributes.
댓글 0
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
|---|---|---|---|---|
| 71 | Z17_ZSFLIGHT | sapjoy | 2007.02.27 | 2447 |
| 70 | REPORT Z17_028 | sapjoy | 2007.02.26 | 2968 |
| 69 | REPORT Z09_013 | sapjoy | 2007.02.24 | 2274 |
| 68 | REPORT Z17_020. [2] | sapjoy | 2007.02.23 | 2235 |
| 67 | REPORT z17_025 | sapjoy | 2007.02.23 | 2228 |
| 66 | REPORT Z17_020 | sapjoy | 2007.02.23 | 2205 |
| 65 | REPORT Z17_000. | sapjoy | 2007.02.22 | 2454 |
| 64 | REPORT Z17_022 | sapjoy | 2007.02.22 | 2345 |
| 63 | REPORT Z17_017 . | sapjoy | 2007.02.15 | 2210 |
| 62 | REPORT Z17_016 . | sapjoy | 2007.02.14 | 2190 |
| 61 | REPORT Z17_015 | sapjoy | 2007.02.13 | 2317 |
| 60 | REPORT Z17_012 | sapjoy | 2007.02.13 | 2331 |
| 59 | INCLUDE Z17_011_CLASS | sapjoy | 2007.02.12 | 2528 |
| » | REPORT Z17_011 | sapjoy | 2007.02.12 | 2313 |
| 57 | REPORT Z017_007 [3] | sapjoy | 2007.02.12 | 2399 |
| 56 | REPORT Z17_006 | sapjoy | 2007.02.12 | 2240 |
| 55 | REPORT Z17_005 | sapjoy | 2007.02.12 | 2203 |
| 54 | REPORT Z17_003 | sapjoy | 2007.02.09 | 2374 |
| 53 | REPORT Z17_002 | sapjoy | 2007.02.08 | 2164 |
| 52 | REPORT Z17_001. | sapjoy | 2007.02.07 | 2172 |