Update examples

This commit is contained in:
Daniel Reger
2022-12-05 13:13:56 +01:00
parent 75587a904b
commit cdffaf86df
11 changed files with 25 additions and 28 deletions

View File

@@ -17,7 +17,7 @@
* and data exchange between a RAP BO consumer, which is a class * and data exchange between a RAP BO consumer, which is a class
* in this case, and RAP BO provider can work. Additionally, it shows * in this case, and RAP BO provider can work. Additionally, it shows
* how the methods for non-standard RAP BO operations might be * how the methods for non-standard RAP BO operations might be
* self-implemented in an ABP. The example is is intentionally kept * self-implemented in an ABP. The example is intentionally kept
* short and simple and focuses on specific RAP aspects. For this reason, * 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 example might not fully meet the requirements of the RAP BO contract.
* *

View File

@@ -3,11 +3,10 @@
* ABAP cheat sheet: Constructor expressions * ABAP cheat sheet: Constructor expressions
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate the use of constructor expressions as outlined * - Example to demonstrate the use of constructor expressions.
* in the respective ABAP cheat sheet.
* - Topics covered: Operators VALUE, CORRESPONDING, NEW, CONV, EXACT, REF, * - Topics covered: Operators VALUE, CORRESPONDING, NEW, CONV, EXACT, REF,
* CAST, COND, SWITCH, FILTER, REDUCE, Iteration Expressions with FOR, * CAST, COND, SWITCH, FILTER, REDUCE, iteration expressions with FOR,
* LET Expressions * LET expressions
* *
* ----------------------- GETTING STARTED ----------------------------- * ----------------------- GETTING STARTED -----------------------------
* - Open the class with the ABAP Development Tools (ADT). * - Open the class with the ABAP Development Tools (ADT).

View File

@@ -4,8 +4,8 @@
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate various syntactical options and concepts related * - Example to demonstrate various syntactical options and concepts related
* to dynamic programming as outlined in the respective ABAP cheat sheet. * to dynamic programming.
* - Topics covered: field symbols and data references (both as supporting * - Topics covered: Field symbols and data references (both as supporting
* elements for dynamic programming), dynamic ABAP syntax components, * elements for dynamic programming), dynamic ABAP syntax components,
* runtime type services (RTTS), i. e. runtime type identification (RTTI) * runtime type services (RTTS), i. e. runtime type identification (RTTI)
* and runtime type creation (RTTC) * and runtime type creation (RTTC)
@@ -13,7 +13,7 @@
* includes local classes in the CCIMP include (local types tab in ADT) * includes local classes in the CCIMP include (local types tab in ADT)
* whose methods return character-like content to be used in the tokens * whose methods return character-like content to be used in the tokens
* of ABAP statements. The content is predefined in these classes but * of ABAP statements. The content is predefined in these classes but
* the content that is actually used in the end is completely random. * the content that is actually used in the end is random.
* *
* ----------------------- GETTING STARTED ----------------------------- * ----------------------- GETTING STARTED -----------------------------
* - Open the class with the ABAP Development Tools (ADT). * - Open the class with the ABAP Development Tools (ADT).

View File

@@ -4,8 +4,8 @@
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate various syntactical options for working with * - Example to demonstrate various syntactical options for working with
* internal tables as outlined in the respective ABAP cheat sheet. * internal tables.
* - Topics covered: creating, filling, reading from, sorting, modifying * - Topics covered: Creating, filling, reading from, sorting, modifying
* internal tables * internal tables
* *
* ----------------------- GETTING STARTED ----------------------------- * ----------------------- GETTING STARTED -----------------------------

View File

@@ -4,16 +4,17 @@
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate various syntactical options and concepts related * - Example to demonstrate various syntactical options and concepts related
* to ABAP object orientation as outlined in the related ABAP cheat sheet. * to ABAP object orientation.
* - Topics covered: "orking with objects and components, method redefinition
* in inheritance, working with interfaces, upcast and downcast, concepts
* like factory methods, singleton and abstract classes, using events.
* - The CCIMP include (local types tab in ADT) includes multiple local * - The CCIMP include (local types tab in ADT) includes multiple local
* classes to support the example. * classes to support the example.
* - A separate global interface is used to demonstrate working with * - Artifacts related to this example:
* interfaces: zdemo_abap_objects_interface * - zdemo_abap_objects_interface: Separate global interface to demonstrate
* - Another global class is used to demonstrate the concept of friendship: * working with
* zcl_demo_abap_objects_friend * - zcl_demo_abap_objects_friend: Another global class used to demonstrate
* - Topics covered: working with objects and components, method redefinition * the concept of friendship
* in inheritance, working with interfaces, upcast and downcast, concepts
* like factory methods, singleton and abstract classes, using events
* *
* ----------------------- GETTING STARTED ----------------------------- * ----------------------- GETTING STARTED -----------------------------
* - Open the class with the ABAP Development Tools (ADT). * - Open the class with the ABAP Development Tools (ADT).

View File

@@ -16,7 +16,7 @@
* - Underlying data model: Consists of a root entity alone. * - Underlying data model: Consists of a root entity alone.
* The BDEF defines the behavior for this entity. The definitions in the * The BDEF defines the behavior for this entity. The definitions in the
* BDEF determine which methods must be implemented in the ABAP behavior * BDEF determine which methods must be implemented in the ABAP behavior
* pool (ABP). Note that the view consists many annotations for the SAP * pool (ABP). Note that the view contains many annotations for the SAP
* Fiori UI. * Fiori UI.
* - ABP for this scenario: zbp_demo_abap_rap_draft_m * - ABP for this scenario: zbp_demo_abap_rap_draft_m
* *
@@ -37,7 +37,7 @@
* console) or use the debugger. * console) or use the debugger.
* *
* ----------------------- GETTING STARTED (2) ------------------------- * ----------------------- GETTING STARTED (2) -------------------------
* Using the preview version of an SAP Fiori Elements as RAP BO consumer * Using the preview version of an SAP Fiori Elements UI as RAP BO consumer
* *
* Create a service binding: * Create a service binding:
* 1. Find the service definition ZDEMO_ABAP_RAP_CALC_SD in the imported * 1. Find the service definition ZDEMO_ABAP_RAP_CALC_SD in the imported

View File

@@ -8,7 +8,6 @@
* demonstrates various RAP BO standard operations and non-standard * demonstrates various RAP BO standard operations and non-standard
* operations using ABAP EML in the context of a managed RAP business * operations using ABAP EML in the context of a managed RAP business
* object with RAP external numbering. * object with RAP external numbering.
* See also the ABAP for RAP (EML) ABAP cheat sheet.
* - Topics covered: RAP BO operations like create (including a * - Topics covered: RAP BO operations like create (including a
* determination on save), update, delete, executing an action, validation, * determination on save), update, delete, executing an action, validation,
* create-by-association (parent to child), read (root entity), * create-by-association (parent to child), read (root entity),

View File

@@ -8,7 +8,6 @@
* demonstrates various RAP BO standard operations and non-standard * demonstrates various RAP BO standard operations and non-standard
* operations using ABAP EML in the context of an unmanaged RAP business * operations using ABAP EML in the context of an unmanaged RAP business
* object with RAP external numbering. * object with RAP external numbering.
* See also the ABAP for RAP (EML) ABAP cheat sheet.
* - Topics covered: RAP BO operations like create, update, delete, * - Topics covered: RAP BO operations like create, update, delete,
* executing actions, instance and global feature control, instance * executing actions, instance and global feature control, instance
* authorization, create-by-association (parent to child), read, * authorization, create-by-association (parent to child), read,

View File

@@ -5,8 +5,7 @@
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate various syntactical options for working with * - Example to demonstrate various syntactical options for working with
* persisted data in database tables using ABAP SQL as outlined in the * persisted data in database tables using ABAP SQL.
* respective ABAP cheat sheet.
* - Topics covered: reading from database tables using SELECT, changing * - Topics covered: reading from database tables using SELECT, changing
* data in database tables using INSERT, UPDATE, MODIFY and DELETE * data in database tables using INSERT, UPDATE, MODIFY and DELETE
* *

View File

@@ -4,8 +4,8 @@
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate various syntactical options for processing * - Example to demonstrate various syntactical options for processing
* character strings as outlined in the respective ABAP cheat sheet. * character strings.
* - Topics covered: creating strings and assigning values, chaining strings, * - Topics covered: Creating strings and assigning values, chaining strings,
* string templates, concatenating/splitting/modifying strings, searching * string templates, concatenating/splitting/modifying strings, searching
* and replacing, regular expressions * and replacing, regular expressions
* *

View File

@@ -4,7 +4,7 @@
* *
* -------------------------- PURPOSE ---------------------------------- * -------------------------- PURPOSE ----------------------------------
* - Example to demonstrate various syntactical options for working with * - Example to demonstrate various syntactical options for working with
* structures as outlined in the respective ABAP cheat sheet. * structures.
* - Topics covered: creating structures and structured types, variants * - Topics covered: creating structures and structured types, variants
* of structures, accessing components of structures, filling structures, * of structures, accessing components of structures, filling structures,
* clearing structures, structures in use in the context of tables * clearing structures, structures in use in the context of tables