Abap teste

PostgreSQL Detected Guest 16 Views Size: 452 bytes Posted on: Sep 14, 25 @ 5:40 PM
  1. 1REPORT Z_CALCULATIONS.
  2. 2
  3. 3DATA: lv_number1 TYPE i VALUE 10,
  4. 4 lv_number2 TYPE i VALUE 5,
  5. 5 lv_result TYPE i.
  6. 6
  7. 7lv_result = lv_number1 + lv_number2.
  8. 8WRITE: / 'Addition Result:', lv_result.
  9. 9
  10. 10lv_result = lv_number1 - lv_number2.
  11. 11WRITE: / 'Subtraction Result:', lv_result.
  12. 12
  13. 13lv_result = lv_number1 * lv_number2.
  14. 14WRITE: / 'Multiplication Result:', lv_result.
  15. 15
  16. 16lv_result = lv_number1 / lv_number2.
  17. 17WRITE: / 'Division Result:', lv_result.

Raw Paste

Comments 0
Login to post a comment.
  • No comments yet. Be the first.
Login to post a comment. Login or Register
We use cookies. To comply with GDPR in the EU and the UK we have to show you these.

We use cookies and similar technologies to keep this website functional (including spam protection via Google reCAPTCHA), and — with your consent — to measure usage and show ads. See Privacy.