Update examples
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
* and data exchange between a RAP BO consumer, which is a class
|
||||
* in this case, and RAP BO provider can work. Additionally, it shows
|
||||
* 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,
|
||||
* the example might not fully meet the requirements of the RAP BO contract.
|
||||
*
|
||||
|
||||
@@ -3,11 +3,10 @@
|
||||
* ABAP cheat sheet: Constructor expressions
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - Example to demonstrate the use of constructor expressions as outlined
|
||||
* in the respective ABAP cheat sheet.
|
||||
* - Example to demonstrate the use of constructor expressions.
|
||||
* - Topics covered: Operators VALUE, CORRESPONDING, NEW, CONV, EXACT, REF,
|
||||
* CAST, COND, SWITCH, FILTER, REDUCE, Iteration Expressions with FOR,
|
||||
* LET Expressions
|
||||
* CAST, COND, SWITCH, FILTER, REDUCE, iteration expressions with FOR,
|
||||
* LET expressions
|
||||
*
|
||||
* ----------------------- GETTING STARTED -----------------------------
|
||||
* - Open the class with the ABAP Development Tools (ADT).
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - Example to demonstrate various syntactical options and concepts related
|
||||
* to dynamic programming as outlined in the respective ABAP cheat sheet.
|
||||
* - Topics covered: field symbols and data references (both as supporting
|
||||
* to dynamic programming.
|
||||
* - Topics covered: Field symbols and data references (both as supporting
|
||||
* elements for dynamic programming), dynamic ABAP syntax components,
|
||||
* runtime type services (RTTS), i. e. runtime type identification (RTTI)
|
||||
* and runtime type creation (RTTC)
|
||||
@@ -13,7 +13,7 @@
|
||||
* includes local classes in the CCIMP include (local types tab in ADT)
|
||||
* whose methods return character-like content to be used in the tokens
|
||||
* 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 -----------------------------
|
||||
* - Open the class with the ABAP Development Tools (ADT).
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - Example to demonstrate various syntactical options for working with
|
||||
* internal tables as outlined in the respective ABAP cheat sheet.
|
||||
* - Topics covered: creating, filling, reading from, sorting, modifying
|
||||
* internal tables.
|
||||
* - Topics covered: Creating, filling, reading from, sorting, modifying
|
||||
* internal tables
|
||||
*
|
||||
* ----------------------- GETTING STARTED -----------------------------
|
||||
|
||||
@@ -4,16 +4,17 @@
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - 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
|
||||
* classes to support the example.
|
||||
* - A separate global interface is used to demonstrate working with
|
||||
* interfaces: zdemo_abap_objects_interface
|
||||
* - Another global class is used to demonstrate the concept of friendship:
|
||||
* zcl_demo_abap_objects_friend
|
||||
* - Topics covered: working with objects and components, method redefinition
|
||||
* in inheritance, working with interfaces, upcast and downcast, concepts
|
||||
* like factory methods, singleton and abstract classes, using events
|
||||
* - Artifacts related to this example:
|
||||
* - zdemo_abap_objects_interface: Separate global interface to demonstrate
|
||||
* working with
|
||||
* - zcl_demo_abap_objects_friend: Another global class used to demonstrate
|
||||
* the concept of friendship
|
||||
*
|
||||
* ----------------------- GETTING STARTED -----------------------------
|
||||
* - Open the class with the ABAP Development Tools (ADT).
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
***********************************************************************
|
||||
*
|
||||
* RAP BO consumer for a RAP demo scenario
|
||||
* RAP BO consumer for a RAP demo scenario
|
||||
* ABAP EML in use: RAP calculator (managed, draft-enabled RAP BO with
|
||||
* late numbering
|
||||
*
|
||||
@@ -16,7 +16,7 @@
|
||||
* - Underlying data model: Consists of a root entity alone.
|
||||
* The BDEF defines the behavior for this entity. The definitions in the
|
||||
* 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.
|
||||
* - ABP for this scenario: zbp_demo_abap_rap_draft_m
|
||||
*
|
||||
@@ -37,7 +37,7 @@
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------- 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:
|
||||
* 1. Find the service definition ZDEMO_ABAP_RAP_CALC_SD in the imported
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* demonstrates various RAP BO standard operations and non-standard
|
||||
* operations using ABAP EML in the context of a managed RAP business
|
||||
* object with RAP external numbering.
|
||||
* See also the ABAP for RAP (EML) ABAP cheat sheet.
|
||||
* - Topics covered: RAP BO operations like create (including a
|
||||
* determination on save), update, delete, executing an action, validation,
|
||||
* create-by-association (parent to child), read (root entity),
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* demonstrates various RAP BO standard operations and non-standard
|
||||
* operations using ABAP EML in the context of an unmanaged RAP business
|
||||
* object with RAP external numbering.
|
||||
* See also the ABAP for RAP (EML) ABAP cheat sheet.
|
||||
* - Topics covered: RAP BO operations like create, update, delete,
|
||||
* executing actions, instance and global feature control, instance
|
||||
* authorization, create-by-association (parent to child), read,
|
||||
|
||||
@@ -5,8 +5,7 @@
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - Example to demonstrate various syntactical options for working with
|
||||
* persisted data in database tables using ABAP SQL as outlined in the
|
||||
* respective ABAP cheat sheet.
|
||||
* persisted data in database tables using ABAP SQL.
|
||||
* - Topics covered: reading from database tables using SELECT, changing
|
||||
* data in database tables using INSERT, UPDATE, MODIFY and DELETE
|
||||
*
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - Example to demonstrate various syntactical options for processing
|
||||
* character strings as outlined in the respective ABAP cheat sheet.
|
||||
* - Topics covered: creating strings and assigning values, chaining strings,
|
||||
* character strings.
|
||||
* - Topics covered: Creating strings and assigning values, chaining strings,
|
||||
* string templates, concatenating/splitting/modifying strings, searching
|
||||
* and replacing, regular expressions
|
||||
*
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* -------------------------- PURPOSE ----------------------------------
|
||||
* - 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
|
||||
* of structures, accessing components of structures, filling structures,
|
||||
* clearing structures, structures in use in the context of tables
|
||||
|
||||
Reference in New Issue
Block a user