diff --git a/03_ABAP_SQL.md b/03_ABAP_SQL.md index 918bcce..9d48ffe 100644 --- a/03_ABAP_SQL.md +++ b/03_ABAP_SQL.md @@ -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) @@ -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) @@ -448,7 +448,7 @@ SELECT FROM dbtab

(back to top)

-### 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 @@ -1473,7 +1473,7 @@ DELETE dbtab FROM TABLE @( VALUE #( ( comp1 = ... )

(back to top)

-## 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'. diff --git a/04_ABAP_Object_Orientation.md b/04_ABAP_Object_Orientation.md index 6fc7b3f..26f82e4 100644 --- a/04_ABAP_Object_Orientation.md +++ b/04_ABAP_Object_Orientation.md @@ -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) @@ -1045,7 +1045,7 @@ i_ref = NEW class( ).

(back to top)

-## Further Notes +## Additional Notes ### Friendship diff --git a/06_Dynamic_Programming.md b/06_Dynamic_Programming.md index 83f653a..e2d8d12 100644 --- a/06_Dynamic_Programming.md +++ b/06_Dynamic_Programming.md @@ -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 @@ -769,7 +769,7 @@ CREATE DATA ref_tab TYPE HANDLE table_type.

(back to top)

-## 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) diff --git a/08_EML_ABAP_for_RAP.md b/08_EML_ABAP_for_RAP.md index cf1f6ea..0cc5d26 100644 --- a/08_EML_ABAP_for_RAP.md +++ b/08_EML_ABAP_for_RAP.md @@ -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 @@ -1227,7 +1227,7 @@ The following restrictions apply to operations and/or statements in the individu

(back to top)

-## 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) diff --git a/10_ABAP_SQL_Hierarchies.md b/10_ABAP_SQL_Hierarchies.md index 9febe82..3ce8fc0 100644 --- a/10_ABAP_SQL_Hierarchies.md +++ b/10_ABAP_SQL_Hierarchies.md @@ -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 @@ -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). diff --git a/12_AMDP.md b/12_AMDP.md index 53bf9d3..6eeb9df 100644 --- a/12_AMDP.md +++ b/12_AMDP.md @@ -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) @@ -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): diff --git a/README.md b/README.md index 8964cef..5118cff 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,7 @@ Use the standalone version of the abapGit report to import the demo examples of
-## ℹī¸ 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. @@ -213,7 +213,7 @@ There is no guarantee for either the correctness or the completeness of the code
-## 📟 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.
diff --git a/src/zbp_demo_abap_rap_draft_m.clas.locals_imp.abap b/src/zbp_demo_abap_rap_draft_m.clas.locals_imp.abap index 3d2210b..8533943 100644 --- a/src/zbp_demo_abap_rap_draft_m.clas.locals_imp.abap +++ b/src/zbp_demo_abap_rap_draft_m.clas.locals_imp.abap @@ -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. diff --git a/src/zbp_demo_abap_rap_ro_m.clas.locals_imp.abap b/src/zbp_demo_abap_rap_ro_m.clas.locals_imp.abap index fac796e..9a8af2b 100644 --- a/src/zbp_demo_abap_rap_ro_m.clas.locals_imp.abap +++ b/src/zbp_demo_abap_rap_ro_m.clas.locals_imp.abap @@ -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. diff --git a/src/zbp_demo_abap_rap_ro_u.clas.locals_imp.abap b/src/zbp_demo_abap_rap_ro_u.clas.locals_imp.abap index ea0690b..75c4cbd 100644 --- a/src/zbp_demo_abap_rap_ro_u.clas.locals_imp.abap +++ b/src/zbp_demo_abap_rap_ro_u.clas.locals_imp.abap @@ -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. +* *********************************************************************** *********************************************************************** diff --git a/src/zcl_demo_abap_amdp.clas.abap b/src/zcl_demo_abap_amdp.clas.abap index 712ebe4..3259e60 100644 --- a/src/zcl_demo_abap_amdp.clas.abap +++ b/src/zcl_demo_abap_amdp.clas.abap @@ -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. * *********************************************************************** "!

ABAP cheat sheet: AMDP

diff --git a/src/zcl_demo_abap_cds_ve.clas.abap b/src/zcl_demo_abap_cds_ve.clas.abap index 5a0c4fb..4c1bc78 100644 --- a/src/zcl_demo_abap_cds_ve.clas.abap +++ b/src/zcl_demo_abap_cds_ve.clas.abap @@ -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. * @@ -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` ). diff --git a/src/zcl_demo_abap_constructor_expr.clas.abap b/src/zcl_demo_abap_constructor_expr.clas.abap index 8ee194b..b027c18 100644 --- a/src/zcl_demo_abap_constructor_expr.clas.abap +++ b/src/zcl_demo_abap_constructor_expr.clas.abap @@ -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. * @@ -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` ). diff --git a/src/zcl_demo_abap_display.clas.abap b/src/zcl_demo_abap_display.clas.abap index 26ce5e4..bcc1fb7 100644 --- a/src/zcl_demo_abap_display.clas.abap +++ b/src/zcl_demo_abap_display.clas.abap @@ -1,23 +1,24 @@ *********************************************************************** * -* Class for ABAP cheat sheet examples +* Class for ABAP cheat sheet examples designed to support displaying +* output in the ADT console * * -------------------------- 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. * *********************************************************************** -"!

Class for ABAP cheat sheet examples

-"! The class supports the displaying of output of the ABAP cheat sheet examples. +"!

Class supporting ABAP cheat sheet examples

+"! The class supports displaying output of the ABAP cheat sheet examples in the ADT console. CLASS zcl_demo_abap_display DEFINITION PUBLIC FINAL @@ -50,12 +51,10 @@ ENDCLASS. CLASS ZCL_DEMO_ABAP_DISPLAY IMPLEMENTATION. - METHOD constructor. mo_out = io_out. ENDMETHOD. - METHOD display. "Checking data type @@ -188,7 +187,6 @@ CLASS ZCL_DEMO_ABAP_DISPLAY IMPLEMENTATION. ENDMETHOD. - METHOD next_section. mo_out->write( `_________________________________________________________________________________` diff --git a/src/zcl_demo_abap_dynamic_prog.clas.abap b/src/zcl_demo_abap_dynamic_prog.clas.abap index 79acb19..8aaa587 100644 --- a/src/zcl_demo_abap_dynamic_prog.clas.abap +++ b/src/zcl_demo_abap_dynamic_prog.clas.abap @@ -19,32 +19,32 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments and refer to the ABAP Keyword -* Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** "!

ABAP cheat sheet: Dynamic programming

-"! Example to demonstrate concepts related to dynamic programming.
Choose F9 in ADT to run the class. +"! Example to demonstrate syntax related to dynamic programming.
Choose F9 in ADT to run the class. CLASS zcl_demo_abap_dynamic_prog DEFINITION PUBLIC FINAL diff --git a/src/zcl_demo_abap_flight_tables.clas.abap b/src/zcl_demo_abap_flight_tables.clas.abap index 2b5c41d..b679b35 100644 --- a/src/zcl_demo_abap_flight_tables.clas.abap +++ b/src/zcl_demo_abap_flight_tables.clas.abap @@ -1,7 +1,7 @@ *********************************************************************** * -* Class for clearing and filling demo database tables used in the -* context of ABAP cheat sheets +* Class for ABAP cheat sheet examples designed to clear and populate +* demo database tables * * -------------------------- NOTE ------------------------------------- * The code presented in this class is only meant for supporting the ABAP @@ -17,8 +17,8 @@ * which occur through the use of the example code. * *********************************************************************** -"!

Class for ABAP cheat sheet examples

-"! The class is meant to clear and fill demo database tables used in the context of ABAP cheat sheet examples. +"!

Class supporting ABAP cheat sheet examples

+"! The class supports the ABAP cheat examples by clearing and populating demo database tables that are used there. "! The demo database tables contain airline and flight information. CLASS zcl_demo_abap_flight_tables DEFINITION PUBLIC @@ -35,7 +35,7 @@ ENDCLASS. -CLASS ZCL_DEMO_ABAP_FLIGHT_TABLES IMPLEMENTATION. +CLASS zcl_demo_abap_flight_tables IMPLEMENTATION. METHOD clear_dbtabs. diff --git a/src/zcl_demo_abap_internal_tables.clas.abap b/src/zcl_demo_abap_internal_tables.clas.abap index 8ac2994..ffe2826 100644 --- a/src/zcl_demo_abap_internal_tables.clas.abap +++ b/src/zcl_demo_abap_internal_tables.clas.abap @@ -12,28 +12,28 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** "!

ABAP cheat sheet: Internal tables

diff --git a/src/zcl_demo_abap_objects.clas.abap b/src/zcl_demo_abap_objects.clas.abap index 234febd..4b36517 100644 --- a/src/zcl_demo_abap_objects.clas.abap +++ b/src/zcl_demo_abap_objects.clas.abap @@ -1,6 +1,6 @@ *********************************************************************** * -* ABAP cheat sheet: ABAP object orientation +* ABAP cheat sheet: ABAP object orientation * * -------------------------- PURPOSE ---------------------------------- * - Example to demonstrate various syntactical options and concepts related @@ -20,31 +20,31 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (STRG+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** -"!

ABAP cheat sheet: ABAP Object Orientation

+"!

ABAP cheat sheet: ABAP object orientation

"! Example to demonstrate concepts related to ABAP object orientation.
Choose F9 in ADT to run the class. CLASS zcl_demo_abap_objects DEFINITION PUBLIC @@ -83,19 +83,16 @@ ENDCLASS. CLASS zcl_demo_abap_objects IMPLEMENTATION. - METHOD hallo_instance_method. string = |Hallo { sy-uname }. | && |I'm an instance method of class zcl_demo_abap_objects.|. ENDMETHOD. - METHOD hallo_static_method. string = |Hallo { sy-uname }. | && |I'm a static method of class zcl_demo_abap_objects.|. ENDMETHOD. - METHOD if_oo_adt_classrun~main. DATA(output) = NEW zcl_demo_abap_display( out ). diff --git a/src/zcl_demo_abap_objects_friend.clas.abap b/src/zcl_demo_abap_objects_friend.clas.abap index 4e624a7..562cc8d 100644 --- a/src/zcl_demo_abap_objects_friend.clas.abap +++ b/src/zcl_demo_abap_objects_friend.clas.abap @@ -1,23 +1,23 @@ *********************************************************************** * -* Class for ABAP cheat sheet example +* Class supporting an ABAP cheat sheet example * * ----------------------------- NOTE ----------------------------------- -* The code presented in this class is only meant for supporting the ABAP -* cheat sheets in this repository. 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 for ABAP cheat sheet example

- "! The class supports the ABAP cheat sheet on object orientation and demonstrates the concept of friendship. + "!

Class supporting ABAP cheat sheet example

+ "! The class supports the ABAP cheat sheet example about object orientation. CLASS zcl_demo_abap_objects_friend DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. diff --git a/src/zcl_demo_abap_prog_flow_logic.clas.abap b/src/zcl_demo_abap_prog_flow_logic.clas.abap index 54fab30..bddacdd 100644 --- a/src/zcl_demo_abap_prog_flow_logic.clas.abap +++ b/src/zcl_demo_abap_prog_flow_logic.clas.abap @@ -1,6 +1,6 @@ *********************************************************************** * -* ABAP cheat sheet: Program Flow Logic +* ABAP cheat sheet: Program flow logic * * -------------------------- PURPOSE ---------------------------------- * - Demonstration example for the topic program flow logic covering @@ -16,32 +16,32 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** -"!

ABAP cheat sheet: Program Flow Logic

-"! Demonstration example for the topic program flow logic.
Choose F9 in ADT to run the class. +"!

ABAP cheat sheet: Program flow logic

+"! Example to demonstrate program flow logic.
Choose F9 in ADT to run the class. CLASS zcl_demo_abap_prog_flow_logic DEFINITION PUBLIC FINAL diff --git a/src/zcl_demo_abap_rap_draft_ln_m.clas.abap b/src/zcl_demo_abap_rap_draft_ln_m.clas.abap index dcf3cf3..82d69b3 100644 --- a/src/zcl_demo_abap_rap_draft_ln_m.clas.abap +++ b/src/zcl_demo_abap_rap_draft_ln_m.clas.abap @@ -83,17 +83,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. +* *********************************************************************** "!

ABAP cheat sheet: ABAP EML in a RAP scenario (draft BO)

"! Example to demonstrate ABAP EML in the context of a RAP demo scenario (managed and draft-enabled RAP business object with RAP late numbering). diff --git a/src/zcl_demo_abap_rap_ext_num_m.clas.abap b/src/zcl_demo_abap_rap_ext_num_m.clas.abap index a6b2c7f..942e084 100644 --- a/src/zcl_demo_abap_rap_ext_num_m.clas.abap +++ b/src/zcl_demo_abap_rap_ext_num_m.clas.abap @@ -43,17 +43,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. +* *********************************************************************** "!

ABAP cheat sheet: ABAP EML in a RAP scenario (managed BO)

"! Example to demonstrate ABAP EML in the context of a RAP demo scenario (managed RAP BO with external numbering). diff --git a/src/zcl_demo_abap_rap_ext_num_u.clas.abap b/src/zcl_demo_abap_rap_ext_num_u.clas.abap index 8b1adec..ce7bc5f 100644 --- a/src/zcl_demo_abap_rap_ext_num_u.clas.abap +++ b/src/zcl_demo_abap_rap_ext_num_u.clas.abap @@ -47,17 +47,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. +* *********************************************************************** "!

ABAP cheat sheet: ABAP EML in a RAP scenario (unmanaged BO)

"! Example to demonstrate ABAP EML in the context of a RAP demo scenario (unmanaged RAP BO with external numbering). @@ -89,16 +90,12 @@ protected section. ENDCLASS. - - -CLASS ZCL_DEMO_ABAP_RAP_EXT_NUM_U IMPLEMENTATION. - +CLASS zcl_demo_abap_rap_ext_num_u IMPLEMENTATION. METHOD class_constructor. initialize_dbtabs( ). ENDMETHOD. - METHOD extract_from_failed. CLEAR errors. diff --git a/src/zcl_demo_abap_sql.clas.abap b/src/zcl_demo_abap_sql.clas.abap index a503e3a..f237d5c 100644 --- a/src/zcl_demo_abap_sql.clas.abap +++ b/src/zcl_demo_abap_sql.clas.abap @@ -12,28 +12,28 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** "!

ABAP cheat sheet: ABAP SQL

diff --git a/src/zcl_demo_abap_sql_group_by.clas.abap b/src/zcl_demo_abap_sql_group_by.clas.abap index 295ef64..48424bd 100644 --- a/src/zcl_demo_abap_sql_group_by.clas.abap +++ b/src/zcl_demo_abap_sql_group_by.clas.abap @@ -3,37 +3,37 @@ * ABAP cheat sheet: ABAP SQL - Grouping Internal Tables * * -------------------------- PURPOSE ---------------------------------- -* - Example to demonstrate syntactical options when grouping internal -* tables. +* Example to demonstrate syntax options when grouping internal tables. * * ----------------------- GETTING STARTED ----------------------------- * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** -"!

ABAP cheat sheet: ABAP SQL - Grouping Internal Tables

+"!

ABAP cheat sheet: ABAP SQL - Grouping internal tables

"! Example to demonstrate grouping internal tables.
Choose F9 in ADT to run the class. CLASS zcl_demo_abap_sql_group_by DEFINITION PUBLIC @@ -56,7 +56,7 @@ ENDCLASS. -CLASS ZCL_DEMO_ABAP_SQL_GROUP_BY IMPLEMENTATION. +CLASS zcl_demo_abap_sql_group_by IMPLEMENTATION. METHOD class_constructor. diff --git a/src/zcl_demo_abap_string_proc.clas.abap b/src/zcl_demo_abap_string_proc.clas.abap index 6437a9a..24c3a65 100644 --- a/src/zcl_demo_abap_string_proc.clas.abap +++ b/src/zcl_demo_abap_string_proc.clas.abap @@ -13,28 +13,28 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** "!

ABAP cheat sheet: String processing

@@ -53,7 +53,6 @@ ENDCLASS. CLASS zcl_demo_abap_string_proc IMPLEMENTATION. - METHOD if_oo_adt_classrun~main. DATA(output) = NEW zcl_demo_abap_display( out ). diff --git a/src/zcl_demo_abap_structures.clas.abap b/src/zcl_demo_abap_structures.clas.abap index 28b8ce1..2ba0c90 100644 --- a/src/zcl_demo_abap_structures.clas.abap +++ b/src/zcl_demo_abap_structures.clas.abap @@ -13,27 +13,28 @@ * - Open the class with the ABAP Development Tools (ADT). * - Choose F9 to run the class. * - Check the console output. -* - To understand the context and the ABAP syntax used, check the notes -* included in the class as comments or refer to the respective topic -* in the ABAP Keyword Documentation. -* - Due to the amount of output in the console, the examples include -* numbers (e. g. 1) ..., 2) ..., 3) ...) for the individual example -* sections. Plus, the variable name is displayed in most cases. Hence, -* to easier and faster find the relevant output in the console, just -* search in the console for the number/variable name (CTRL+F in the -* console) or use the debugger. +* - To understand the context and the ABAP syntax used, refer to the +* notes included in the class as comments or refer to the respective +* topic in the ABAP Keyword Documentation. +* - Due to the amount of console output, the examples contain numbers +* (e.g. 1) ..., 2) ..., 3) ...) for the individual example sections. +* Also, the variable name is displayed in most cases. So to find +* the relevant output in the console easier and faster, just search +* for the number/variable name in the console (CTRL+F in the 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. * *********************************************************************** "!

ABAP cheat sheet: Structures

diff --git a/src/zcl_demo_abap_unit_test.clas.abap b/src/zcl_demo_abap_unit_test.clas.abap index bc4fe7f..65a7b61 100644 --- a/src/zcl_demo_abap_unit_test.clas.abap +++ b/src/zcl_demo_abap_unit_test.clas.abap @@ -37,20 +37,20 @@ * 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. * *********************************************************************** -"!

ABAP cheat sheet: Unit test

+"!

ABAP cheat sheet: Unit tests

"! Example to demonstrate ABAP unit tests.
Choose F9 in ADT to run the class. "! To run all unit tests of the class, choose Ctrl/Cmd + Shift + F10. CLASS zcl_demo_abap_unit_test DEFINITION