REPORT z04_18.
DATA gv_result TYPE i.
CALL FUNCTION 'ZFM_01'
EXPORTING
i_num1 = 10
i_num2 = 2
IMPORTING
e_result = gv_result
EXCEPTIONS
dv_zero = 1
OTHERS = 2.
IF sy-subrc = 1.
WRITE 'You can not divide by 0'.
EXIT.
ENDIF.
WRITE : 'Result:', gv_result.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
471 | REPORT z05_07. | sapjoy | 2012.07.31 | 987 |
470 | REPORT z05_06. | sapjoy | 2012.07.31 | 1006 |
469 | REPORT z05_05. | sapjoy | 2012.07.31 | 940 |
468 | REPORT z05_04. | sapjoy | 2012.07.31 | 922 |
467 | REPORT z05_03. | sapjoy | 2012.07.31 | 1008 |
466 | REPORT z05_02. | sapjoy | 2012.07.31 | 921 |
465 | REPORT z05_01. [3] | sapjoy | 2012.07.31 | 1187 |
» | REPORT z04_18. | sapjoy | 2012.07.31 | 876 |
463 | REPORT z04_16. | sapjoy | 2012.07.31 | 1058 |
462 | REPORT z04_15. | sapjoy | 2012.07.31 | 1512 |
461 | REPORT Z04_14. | sapjoy | 2012.07.31 | 1631 |
460 | REPORT Z04_13. | sapjoy | 2012.07.31 | 1672 |
459 | REPORT Z04_12. | sapjoy | 2012.07.31 | 1449 |
458 | REPORT z04_11. | sapjoy | 2012.07.31 | 1524 |
457 | REPORT z04_10. | sapjoy | 2012.07.31 | 1483 |
456 | REPORT z04_09. | sapjoy | 2012.07.31 | 1517 |
455 | REPORT z04_08. | sapjoy | 2012.07.31 | 1521 |
454 | REPORT z04_07. | sapjoy | 2012.07.31 | 1595 |
453 | REPORT z04_06. | sapjoy | 2012.07.31 | 1508 |
452 | REPORT z04_05. | sapjoy | 2012.07.31 | 1441 |