Skip to content

Commit

Permalink
Update content
Browse files Browse the repository at this point in the history
  • Loading branch information
danrega committed Apr 5, 2023
1 parent 736091d commit 3fd765c
Show file tree
Hide file tree
Showing 28 changed files with 334 additions and 337 deletions.
8 changes: 4 additions & 4 deletions 03_ABAP_SQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- [Basic Syntax](#basic-syntax)
- [Using SELECT for Multiple Purposes](#using-select-for-multiple-purposes)
- [Clause Variations and Additions in SELECT Statements](#clause-variations-and-additions-in-select-statements)
- [Further Clauses](#further-clauses)
- [More Clauses](#more-clauses)
- [Excursion: Operands and Expressions in ABAP SQL Statements](#excursion-operands-and-expressions-in-abap-sql-statements)
- [Excursion: SQL Conditions](#excursion-sql-conditions)
- [Selecting Data by Evaluating the Content of other Tables](#selecting-data-by-evaluating-the-content-of-other-tables)
Expand All @@ -19,7 +19,7 @@
- [Using `UPDATE`](#using-update)
- [Using `MODIFY`](#using-modify)
- [Using `DELETE`](#using-delete)
- [Further Information](#further-information)
- [More Information](#more-information)
- [Executable Example](#executable-example)


Expand Down Expand Up @@ -448,7 +448,7 @@ SELECT FROM dbtab

<p align="right">(<a href="#top">back to top</a>)</p>

### Further Clauses
### More Clauses

[`GROUP BY`](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abapgroupby_clause.htm)
clause: Combining groups of table rows in the result set. You
Expand Down Expand Up @@ -1473,7 +1473,7 @@ DELETE dbtab FROM TABLE @( VALUE #( ( comp1 = ... )

<p align="right">(<a href="#top">back to top</a>)</p>

## Further Information
## More Information
- Note that ABAP SQL statements offer syntax options for dynamic programming. For example, you can specify the data source to read from dynamically. See more information in the ABAP Keyword Documentation or the [ABAP cheat sheet on dynamic programming](06_Dynamic_Programming.md).
```abap
DATA(dbtab) = 'ZDEMO_ABAP_FLSCH'.
Expand Down
4 changes: 2 additions & 2 deletions 04_ABAP_Object_Orientation.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- [Notes on Inheritance](#notes-on-inheritance)
- [Notes on Polymorphism and Casting](#notes-on-polymorphism-and-casting)
- [Notes on Interfaces](#notes-on-interfaces)
- [Further Notes](#further-notes)
- [Additional Notes](#additional-notes)
- [Friendship](#friendship)
- [Events](#events)
- [Excursion: Factory Methods and Singletons as Design Patterns](#excursion-factory-methods-and-singletons-as-design-patterns)
Expand Down Expand Up @@ -1045,7 +1045,7 @@ i_ref = NEW class( ).

<p align="right">(<a href="#top">back to top</a>)</p>

## Further Notes
## Additional Notes

### Friendship

Expand Down
4 changes: 2 additions & 2 deletions 06_Dynamic_Programming.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- [Data References](#data-references)
- [Dynamic ABAP Statements](#dynamic-abap-statements)
- [Runtime Type Services (RTTS)](#runtime-type-services-rtts)
- [Further Information](#further-information)
- [More Information](#more-information)
- [Executable Example](#executable-example)

## Notes on Dynamic Programming
Expand Down Expand Up @@ -769,7 +769,7 @@ CREATE DATA ref_tab TYPE HANDLE table_type.

<p align="right">(<a href="#top">back to top</a>)</p>

## Further Information
## More Information
- It is recommended that you also consult section [Dynamic Programming Techniques (F1 docu for standard ABAP)](https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abendynamic_prog_technique_gdl.htm) in the ABAP Keyword Documentation since it provides important aspects that should be considered when dealing with dynamic programming in general (e. g. security aspects or runtime error prevention).
- There are even further dynamic programming techniques in the unrestricted language scope like the
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)
Expand Down
4 changes: 2 additions & 2 deletions 08_EML_ABAP_for_RAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- [Using Keys and Identifying RAP BO Instances in a Nutshell](#using-keys-and-identifying-rap-bo-instances-in-a-nutshell)
- [RAP Concepts](#rap-concepts)
- [Ensuring Data Consistency in a RAP Transaction](#ensuring-data-consistency-in-a-rap-transaction)
- [Further Information](#further-information)
- [More Information](#more-information)
- [Executable Examples](#executable-examples)

## Excursion: EML in the Context of RAP
Expand Down Expand Up @@ -1227,7 +1227,7 @@ The following restrictions apply to operations and/or statements in the individu

<p align="right">(<a href="#top">back to top</a>)</p>

## Further Information
## More Information

- Section [ABAP for RAP Business
Objects](https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenabap_for_rap_bos.htm)
Expand Down
4 changes: 2 additions & 2 deletions 10_ABAP_SQL_Hierarchies.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ ancestors of a given hierarchy node or to aggregate values of subtrees.
- [Hierarchy Node Navigator HIERARCHY\_ANCESTORS](#hierarchy-node-navigator-hierarchy_ancestors)
- [Hierarchy Node Navigator HIERARCHY\_SIBLINGS](#hierarchy-node-navigator-hierarchy_siblings)
- [Hierarchy Aggregate Navigators](#hierarchy-aggregate-navigators)
- [Further Information](#further-information)
- [More Information](#more-information)


## Overview
Expand Down Expand Up @@ -699,5 +699,5 @@ Running `CL_DEMO_SQL_HIERARCHIES` shows the
result. It also shows the result of the joined data source, where you
can check that the calculated values are correct.

## Further Information
## 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).
4 changes: 2 additions & 2 deletions 12_AMDP.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
- [AMDP Procedures](#amdp-procedures)
- [AMDP Functions](#amdp-functions)
- [CDS Table Functions](#cds-table-functions)
- [Further Information](#further-information)
- [More Information](#more-information)
- [Executable Example](#executable-example)


Expand Down Expand Up @@ -374,7 +374,7 @@ You can then use the CDS table function as source for a



## Further Information
## More Information

Notes on using AMDP in environments with restricted language version (in
contrast unrestricted language version):
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Use the standalone version of the abapGit report to import the demo examples of
<br>
## ℹ️ Further Information
## ℹ️ More Information
- For the system-internal version of the ABAP Keyword Documentation in your
- ... **on-premise system**: Access the documentation in the SAP GUI via the transactions `ABAPDOCU` (opens the documentation directly) and `ABAPHELP` (opens an input field with which you can search the documentation content, for example, you can search for a keyword such as `SELECT`). Or, of course, choose `F1` on a keyword in your code. If you are in the SAP GUI (e.g. in `SE80`), the system-internal version opens. If you are in ADT, the documentation opens in the *ABAP Language Help* view.
- ... **SAP BTP ABAP environment**: In ADT, the documentation is in the *ABAP Language Help* view, where you can also search. If you choose `F1` on a keyword in your code, the documentation opens there.
Expand All @@ -213,7 +213,7 @@ There is no guarantee for either the correctness or the completeness of the code
<br>
## 📟 How to Obtain Support
## 📟 Support and Contribution
This is not intended to be a contribution repository, so please do not create pull requests. If you like to address issues or suggestions, please create an issue. However, this project is provided "as-is": there is no guarantee that raised issues will be answered or addressed in future releases.
<br>
Expand Down
23 changes: 12 additions & 11 deletions src/zbp_demo_abap_rap_draft_m.clas.locals_imp.abap
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,18 @@
* short and simple and focuses on specific RAP aspects. For this reason,
* the example might not fully meet the requirements of the RAP BO contract.
*
* The code presented in this class is only meant for supporting the ABAP
* cheat sheets. It is not intended for direct use in a
* production system environment. The code examples in the ABAP cheat
* sheets are primarily intended to provide a better explanation and
* visualization of the syntax and semantics of ABAP statements and not to
* solve concrete programming tasks. For production application programs,
* a dedicated solution should therefore always be worked out for each
* individual case. There is no guarantee for either the correctness or
* the completeness of the code. In addition, there is no legal
* responsibility or liability for possible errors or their consequences
* which occur through the use of the example code.
* The code presented in this class is intended only to support the ABAP
* cheat sheets. It is not intended for direct use in a production system
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* errors or their consequences that may occur when using the the example
* code.
*
***********************************************************************

CLASS lhc_calc DEFINITION INHERITING FROM cl_abap_behavior_handler.
Expand Down
23 changes: 12 additions & 11 deletions src/zbp_demo_abap_rap_ro_m.clas.locals_imp.abap
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,18 @@
* short and simple and focuses on specific RAP aspects. For this reason,
* the example might not fully meet the requirements of the RAP BO contract.
*
* The code presented in this class is only meant for supporting the ABAP
* cheat sheets. It is not intended for direct use in a
* production system environment. The code examples in the ABAP cheat
* sheets are primarily intended to provide a better explanation and
* visualization of the syntax and semantics of ABAP statements and not to
* solve concrete programming tasks. For production application programs,
* a dedicated solution should therefore always be worked out for each
* individual case. There is no guarantee for either the correctness or
* the completeness of the code. In addition, there is no legal
* responsibility or liability for possible errors or their consequences
* which occur through the use of the example code.
* The code presented in this class is intended only to support the ABAP
* cheat sheets. It is not intended for direct use in a production system
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* errors or their consequences that may occur when using the the example
* code.
*
***********************************************************************

CLASS lhc_root DEFINITION INHERITING FROM cl_abap_behavior_handler.
Expand Down
23 changes: 12 additions & 11 deletions src/zbp_demo_abap_rap_ro_u.clas.locals_imp.abap
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,18 @@
* impacted by feature controls and instance authorization as specified
* in the BDEF.
*
* The code presented in this class is only meant for supporting the ABAP
* cheat sheets. It is not intended for direct use in a
* production system environment. The code examples in the ABAP cheat
* sheets are primarily intended to provide a better explanation and
* visualization of the syntax and semantics of ABAP statements and not to
* solve concrete programming tasks. For production application programs,
* a dedicated solution should therefore always be worked out for each
* individual case. There is no guarantee for either the correctness or
* the completeness of the code. In addition, there is no legal
* responsibility or liability for possible errors or their consequences
* which occur through the use of the example code.
* The code presented in this class is intended only to support the ABAP
* cheat sheets. It is not intended for direct use in a production system
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* errors or their consequences that may occur when using the the example
* code.
*
***********************************************************************

***********************************************************************
Expand Down
22 changes: 11 additions & 11 deletions src/zcl_demo_abap_amdp.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@
* console) or use the debugger.
*
* ----------------------------- NOTE -----------------------------------
* The code presented in this class is only meant for supporting the ABAP
* cheat sheets. It is not intended for direct use in a
* production system environment. The code examples in the ABAP cheat
* sheets are primarily intended to provide a better explanation and
* visualization of the syntax and semantics of ABAP statements and not to
* solve concrete programming tasks. For production application programs,
* a dedicated solution should therefore always be worked out for each
* individual case. There is no guarantee for either the correctness or
* the completeness of the code. In addition, there is no legal
* responsibility or liability for possible errors or their consequences
* which occur through the use of the example code.
* The code presented in this class is intended only to support the ABAP
* cheat sheets. It is not intended for direct use in a production system
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* errors or their consequences that may occur when using the the example
* code.
*
***********************************************************************
"! <p class="shorttext synchronized">ABAP cheat sheet: AMDP</p>
Expand Down
16 changes: 8 additions & 8 deletions src/zcl_demo_abap_cds_ve.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
* ----------------------------- NOTE -----------------------------------
* The code presented in this class is intended only to support the ABAP
* cheat sheets. It is not intended for direct use in a production system
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* errors or their consequences that may occur when using the the example
* code.
*
Expand Down Expand Up @@ -98,7 +98,7 @@ CLASS zcl_demo_abap_cds_ve IMPLEMENTATION.

DATA(output) = NEW zcl_demo_abap_display( out ).

output->display( `ABAP Cheat Sheet: CDS View Entities` ).
output->display( `ABAP cheat sheet: CDS view entities` ).

output->display( `1) Operands, expressions and built-in functions ` &&
`in a CDS view entity` ).
Expand Down
18 changes: 9 additions & 9 deletions src/zcl_demo_abap_constructor_expr.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
* ----------------------------- NOTE -----------------------------------
* The code presented in this class is intended only to support the ABAP
* cheat sheets. It is not intended for direct use in a production system
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* environment. The code examples in the ABAP cheat sheets are primarily
* intended to provide a better explanation and visualization of the
* syntax and semantics of ABAP statements, not to solve concrete
* programming tasks. For production application programs, you should
* always work out your own solution for each individual case. There is
* no guarantee for the correctness or completeness of the code.
* Furthermore, there is no legal responsibility or liability for any
* errors or their consequences that may occur when using the the example
* code.
*
Expand Down Expand Up @@ -105,13 +105,13 @@ protected section.
ENDCLASS.


CLASS ZCL_DEMO_ABAP_CONSTRUCTOR_EXPR IMPLEMENTATION.
CLASS zcl_demo_abap_constructor_expr IMPLEMENTATION.

METHOD if_oo_adt_classrun~main.

DATA(output) = NEW zcl_demo_abap_display( out ).

output->display( `ABAP Cheat Sheet: Constructor Expressions` ).
output->display( `ABAP cheat sheet: Constructor expressions` ).

output->next_section( `VALUE` ).
output->display( `1) Structures: Populating a flat structure` ).
Expand Down
Loading

0 comments on commit 3fd765c

Please sign in to comment.