Add Numeric Operations in ABAP cheat sheet

This commit is contained in:
danrega
2025-02-12 17:10:03 +01:00
parent afe9e8523a
commit 15b2a928fc
4 changed files with 3298 additions and 3 deletions

View File

@@ -767,7 +767,7 @@ str_a2 = some_itab[ 2 ]-carrname.
#### Conversion Rules when Assigning Elementary Data Objects
- The following code examples explore and comment on assignments of data objects with various elementary types. Conversion results are added as comments in the code.
- They focus on conversion rules when assigning an source to an target data object of different elementary types.
- They focus on conversion rules when assigning a source to a target data object of different elementary types.
- Not all types or conversion options are covered, and some example assignments may seem nonsensical.
- For more information, see [Assignment and Conversion Rules](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenconversion_rules.htm) in the ABAP Keyword Documentation.

View File

@@ -455,7 +455,7 @@ DATA(msg) = xco_cp=>sy->message( ).
"Using the 'string' and 'as_message' methods to create message object
"based on a random string, and using a default type, id, etc.
"In the example, the created message object is assigned to previous to
"In the example, the created message object is assigned to the previous one
"work with in the example.
msg = xco_cp=>string( `Test message` )->as_message( ).

3295
29_Numeric_Operations.md Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -97,7 +97,7 @@ ABAP cheat sheets[^1] ...
|[ABAP Dictionary](26_ABAP_Dictionary.md)|Covers a selection of repository objects in the ABAP Dictionary (DDIC) that represent global types|- (The cheat sheet includes a copy and paste example class)|
|[Exceptions and Runtime Errors](27_Exceptions.md)|Provides an overview on exceptions and runtime errors|[zcl_demo_abap_error_handling](./src/zcl_demo_abap_error_handling.clas.abap)|
|[Regular Expressions in ABAP](28_Regular_Expressions.md)|Includes an overview of common regular expressions and their use in ABAP through statements, built-in functions, and system classes|[zcl_demo_abap_regex](./src/zcl_demo_abap_regex.clas.abap)|
|[Numeric Operations in ABAP](29_Numeric_Operations.md)|Explores various aspects of numeric operations and calculations in ABAP|- (The cheat sheet includes a copy and paste example class)|
<br>