SAP ABAP
Other, , Prof. Pete Moxon
Updated On 02 Feb, 19
Other, , Prof. Pete Moxon
Updated On 02 Feb, 19
4.1 ( 11 )
SAP ABAP Training - Arithmetic - Addition
SAP Training - BEGINNERS GUIDE TO LEARNING SAP ABAP - Create Your First ABAP Program
Arithmetic -- Addition
Now that the ability to create variables has been established, these can be used for calculations within a program. This chapter will begin by looking at some of the simple arithmetical calculations within ABAP.
Our program will be tidied up by removing the two constants which were just created. If a program needs to add two numbers together and each number is stored as its own unique variable, the product of the two numbers can be stored in a brand new variable titled "result".
Create a new DATA statement, name this "result" and use the LIKE statement to give it the same properties as packed_decimal01, terminating the line with a period.
To add two numbers together, on a new line, type "result = integer01 + packed_decimal01." ....
Videos in the series
Learn SAP ABAP - Video Playlist - httpwww.youtube.complaylist?list=PLyH9U1E43FYqVqAb0wUSpHlP0c3sq6Vwo
Websites and Profiles
SAP Training Courses httpwww.saptraininghq.com
SAP Academy Courses httpacademy.saptraininghq.com
SAP Training on Twitter httpstwitter.competermoxon
SAP Training on Google + httpsplus.google.comu0+PeteMoxon
STHQ on Linked-In httpuk.linkedin.cominpetermoxon
STHQ on YouTube httpwww.youtube.comuserpcmoxon
More SAP Resources
SAP site httpwww.sap.com
SAP community netwrok httpscn.sap.com
About SAP httpen.wikipedia.orgwikiSAP_AG
About ABAP httpen.wikipedia.orgwikiABAP
Various YouTube channels on SAP
SAP InnoJam httpswww.youtube.comchannelUCbkywtePppACE646Kw8wSUg
SAP on YouTube httpswww.youtube.comchannelUCVnIv2xF2wyMMCSKv1qF3pA
SAP TV on YouTube httpswww.youtube.comchannelUCy4kQ_03bhe5PQZVJvCkTKA
SAP SCN on YouTube httpswww.youtube.comchannelUC3We5qK8jkxH8yBc0SugKEQ
Sam
Sep 12, 2018
Excellent course helped me understand topic that i couldn't while attendinfg my college.
Dembe
March 29, 2019
Great course. Thank you very much.