![]() To check if value of variable is the same as during assignment To check whether quantity ‘a’ lies in value in between quantities ‘b’ and ‘c’Ī BETWEEN b AND c would return true (as 2 is between 0 & 4) To check whether the first quantity is greater or equal in value than the second quantityĪ >= b would return false (as 2 is less than 4) To check whether the first quantity is greater in value than the second quantityĪ > b would return false (as 2 is less than 4) To check whether two quantities are unequalĪ b would return true (as 2 is not equal to 4) To check whether two quantities are equalĪ = b would return false (as 2 is not equal to 4) They are usually used as tests between two variables, and return a true/false value based on the result. Logical operators are used for comparison between two values. Let’s see examples on how to use Arithmetic Operators in ABAP – REPORT ZR_SS_DATAFLAIR_SAMPLE_001.ģ 2. Used to find remainder when one numerical value is divided by another numerical value Used to find quotient when one numerical value is divided by another numerical value They are used similarly to how we use them in algebra. Arithmetic Operators in ABAPĪs the name goes, arithmetic operators are used to carrying out mathematical operations. Let us see each type of operator in detail. ![]() They can be categorized in the following types: Join DataFlair on Telegram!! What are Operators in SAP ABAP?ĪBAP provides a myriad of operators to be used to perform several activities.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |