*&---------------------------------------------------------------------*
*& Report YSAP_CALCULATOR
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT YSAP_CALCULATOR.
DATA: VALUE(15) TYPE C.
call function 'FITRV_CALCULATOR'
EXPORTING
* INPUT_VALUE =
* CURRENCY =
START_COLUMN = '05'
START_ROW = '05'
IMPORTING
OUTPUT_VALUE = VALUE
EXCEPTIONS
INVALID_INPUT = 1
CALCULATION_CANCELED = 2
OTHERS = 3.
IF SY-SUBRC = 0.
WRITE:/ 'Output Value ', VALUE.
ENDIF.
calculation for example 25 + 15 and click Enter.
Output:
*& Report YSAP_CALCULATOR
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*
REPORT YSAP_CALCULATOR.
DATA: VALUE(15) TYPE C.
call function 'FITRV_CALCULATOR'
EXPORTING
* INPUT_VALUE =
* CURRENCY =
START_COLUMN = '05'
START_ROW = '05'
IMPORTING
OUTPUT_VALUE = VALUE
EXCEPTIONS
INVALID_INPUT = 1
CALCULATION_CANCELED = 2
OTHERS = 3.
IF SY-SUBRC = 0.
WRITE:/ 'Output Value ', VALUE.
ENDIF.
calculation for example 25 + 15 and click Enter.
Output:
No comments:
Post a Comment