Calling Calculator in ABAP Program
* FM - FITRV_CALCULATOR is used to call the calculator.
Report Program
REPORT ZAB_CALCULATOR.
data: lv_output type c LENGTH 20.
CALL FUNCTION 'FITRV_CALCULATOR'
* EXPORTING
* INPUT_VALUE =
* CURRENCY =
* START_COLUMN = '10'
* START_ROW = '10'
IMPORTING
OUTPUT_VALUE = lv_output
EXCEPTIONS
INVALID_INPUT = 1
CALCULATION_CANCELED = 2
OTHERS = 3.
write : 'Result is : ',lv_output.
Input
* Perform Operation finally click on equal button.
* In this example 5 * 5. Then click on =.
Output
Comments
Post a Comment