Update
This commit is contained in:
@@ -62,7 +62,8 @@ Internal Tables ...
|
||||
|`HASHED`|Hash algorithm |<ul><li>Table key</li><li>[Secondary table index](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abensecondary_table_index_glosry.htm)</li></ul>|Always unique|<ul><li>For large internal tables.</li><li>Optimized for key access. Access to table content via table key is the main access method and a unique key can be defined.</li></ul>|<ul><li>The response time for primary key access is constant and independent of the number of entries in the table.</li><li>Hashed tables have the highest administration costs.</li></ul>|
|
||||
|
||||
|
||||
**Key Attributes**
|
||||
|
||||
**Key Attributes**
|
||||
|
||||
- There are two types of table keys: a [primary table key](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenprimary_table_key_glosry.htm) and [secondary table keys](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abensecondary_table_key_glosry.htm).
|
||||
- Table keys ...
|
||||
|
||||
@@ -701,6 +701,7 @@ TYPES BEGIN OF address_type.
|
||||
TYPES END OF address_type.
|
||||
```
|
||||
|
||||
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
@@ -128,6 +128,7 @@ Views](https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm
|
||||
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
|
||||
## Reading Data Using SELECT
|
||||
|
||||
### Basic Syntax
|
||||
|
||||
@@ -66,6 +66,7 @@ Classes ...
|
||||
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
|
||||
### Creating Classes
|
||||
|
||||
You can either create local or global classes:
|
||||
|
||||
@@ -932,6 +932,7 @@ DATA(a) = COND #( LET b = c IN
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_constructor_expr](./src/zcl_demo_abap_constructor_expr.clas.abap)
|
||||
|
||||
Note the steps outlined [here](README.md#-getting-started-with-the-examples) about how to import and run the code.
|
||||
|
||||
@@ -1270,6 +1270,7 @@ CREATE DATA dref_cr TYPE HANDLE tdo_ref.
|
||||
generation or execution of programs at runtime. They are not part of this cheat sheet. Find more details on the related syntax (e. g. `GENERATE SUBROUTINE POOL`, `READ REPORT` and `INSERT REPORT` in the ABAP Keyword Documentation for Standard ABAP: [Dynamic Program Development (F1 docu for standard ABAP)](https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenabap_language_dynamic.htm)
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_dynamic_prog](./src/zcl_demo_abap_dynamic_prog.clas.abap)
|
||||
|
||||
Note the steps outlined [here](README.md#-getting-started-with-the-examples) about how to import and run the code.
|
||||
@@ -1663,6 +1663,7 @@ REPLACE PCRE `(.*?)PP(.*)` IN s1 WITH `$2#$1` IGNORING CASE. "pc app#ab a
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_string_proc](./src/zcl_demo_abap_string_proc.clas.abap)
|
||||
|
||||
Follow the steps outlined [here](README.md#-getting-started-with-the-examples) to import and run the code.
|
||||
|
||||
@@ -1369,6 +1369,7 @@ The following restrictions apply to operations and/or statements in the individu
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Examples
|
||||
|
||||
This cheat sheet is supported by different executable examples demonstrating various scenarios:
|
||||
- Demo RAP scenario with a managed RAP BO, external numbering: [zcl_demo_abap_rap_ext_num_m](./src/zcl_demo_abap_rap_ext_num_m.clas.abap)
|
||||
- Demo RAP scenario with an unmanaged RAP BO, external numbering: [zcl_demo_abap_rap_ext_num_u](./src/zcl_demo_abap_rap_ext_num_u.clas.abap)
|
||||
|
||||
@@ -10,6 +10,7 @@ is usable in its context (procedure, class, program) according to its
|
||||
type. For example, a numeric data object can be assigned the result of a
|
||||
calculation:
|
||||
|
||||
|
||||
> **💡 Note**<br>
|
||||
> For checking out the code snippets in an SAP BTP ABAP environment, you can use the interface `if_oo_adt_classrun` in a class by implementing the method `if_oo_adt_classrun~main`.
|
||||
|
||||
|
||||
@@ -719,5 +719,6 @@ can check that the calculated values are correct.
|
||||
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
|
||||
## More Information
|
||||
For the complete reference documentation about SQL hierarchies, see [`SELECT, FROM hierarchy_data`](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenselect_hierarchy_data.htm).
|
||||
|
||||
@@ -174,6 +174,7 @@ SIZE`](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_sql_group_by](./src/zcl_demo_abap_sql_group_by.clas.abap)
|
||||
|
||||
Note the steps outlined [here](README.md#-getting-started-with-the-examples) about how to import and run the code.
|
||||
@@ -439,6 +439,7 @@ relevant in the executable example.
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_amdp](./src/zcl_demo_abap_amdp.clas.abap)
|
||||
|
||||
Note the steps outlined [here](README.md#-getting-started-with-the-examples) about how to import and run the code.
|
||||
@@ -655,6 +655,7 @@ ASSERT flag = abap_true.
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_prog_flow_logic](./src/zcl_demo_abap_prog_flow_logic.clas.abap)
|
||||
|
||||
Note the steps outlined [here](README.md#-getting-started-with-the-examples) about how to import and run the code.
|
||||
|
||||
@@ -510,6 +510,7 @@ For more information about evaluating ABAP unit test results, see [here](https:/
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_unit_test](./src/zcl_demo_abap_unit_test.clas.abap)
|
||||
|
||||
Note ...
|
||||
|
||||
@@ -19,6 +19,7 @@ Core data services (CDS) are an infrastructure for defining and consuming semant
|
||||
- [ABAP Data Models Guide](https://blogs.sap.com/2023/05/09/abap-data-models-guide/)
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_cds_ve](./src/zcl_demo_abap_cds_ve.clas.abap)
|
||||
|
||||
The example covers the following topics:
|
||||
|
||||
@@ -1278,6 +1278,7 @@ Find more information in the [cheat sheet about dynamic programming](06_Dynamic_
|
||||
|
||||
|
||||
## Executable Example
|
||||
|
||||
[zcl_demo_abap_dtype_dobj](./src/zcl_demo_abap_dtype_dobj.clas.abap)
|
||||
|
||||
> **💡 Note**<br>
|
||||
|
||||
@@ -294,6 +294,7 @@ There are RAP-specific [ABAP EML](https://help.sap.com/doc/abapdocu_latest_index
|
||||
<p align="right">(<a href="#top">⬆️ back to top</a>)
|
||||
|
||||
## Executable Example
|
||||
|
||||
After importing, find the program in ADT using search: Press `CTRL+SHIFT+A` and enter `zdemo_abap_sap_luw`. Open the program and run it by pressing `F8`.
|
||||
|
||||
> **💡 Note**<br>
|
||||
|
||||
@@ -710,6 +710,7 @@ PROCESS AFTER INPUT.
|
||||
<p align="right"><a href="#top">⬆️ back to top</a></p>
|
||||
|
||||
## More Information
|
||||
|
||||
- [SAP GUI User Dialogs](https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenabap_screens.htm) in the ABAP Keyword Documentation as the entry topic for dynpro-related topics
|
||||
- Documentation about the [screen painter in the Help Portal](https://help.sap.com/docs/ABAP_PLATFORM_NEW/bd833c8355f34e96a6e83096b38bf192/d1801b50454211d189710000e8322d00)
|
||||
- Documentation about the [menu painter in the Help Portal](https://help.sap.com/docs/ABAP_PLATFORM_NEW/bd833c8355f34e96a6e83096b38bf192/d1801ce8454211d189710000e8322d00)
|
||||
|
||||
@@ -204,8 +204,6 @@ Use the standalone version of the abapGit report to import the demo examples of
|
||||
- Regarding possible code check warnings, e.g. for the many strings in the code, not using an `ORDER BY` clause, or messages regarding using `SELECT *`, the code deliberately avoids [pragmas](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenpragma_glosry.htm) and [pseudo comments](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenpseudo_comment_glosry.htm) in order to focus on the available ABAP syntax. See also the [Disclaimer](#%EF%B8%8F-disclaimer).
|
||||
- Regarding the examples to be imported into on-premise systems, note the following: The cheat sheet documents cover ABAP syntax regardless of the ABAP release to avoid scattering information and to have the information in one place. Therefore, the lower the release, the fewer syntax options and examples are available. For example, the RAP examples in particular require at least ABAP version 7.56.
|
||||
|
||||
|
||||
|
||||
<br>
|
||||
|
||||
## ℹ️ More Information
|
||||
|
||||
Reference in New Issue
Block a user