FUNCTION calculate_total.
PARAMETERS: p_quantity TYPE i,
p_price TYPE p DECIMALS 2.
DATA lv_total TYPE p DECIMALS 2.
lv_total = p_quantity * p_price.
CALL FUNCTION 'DISPLAY_TOTAL' EXPORTING total = lv_total.
ENDFUNCTION.
Serkan AKKAVAK
Computer Engineer BSc
Head of SAP & Software Department
Contact : serkurumsal@yandex.com

0 Comments