Update content
This commit is contained in:
@@ -15,7 +15,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.
|
||||
*
|
||||
@@ -738,7 +738,7 @@ CLASS lhc_root IMPLEMENTATION.
|
||||
<f>-%action-multiply_by_3 = if_abap_behv=>mk-on.
|
||||
ENDLOOP.
|
||||
|
||||
"Multiply integer values by 2
|
||||
"Multiply integer values by 3
|
||||
MODIFY ENTITIES OF zdemo_abap_rap_ro_u IN LOCAL MODE
|
||||
ENTITY root
|
||||
UPDATE FIELDS ( field3 field4 ) WITH VALUE #( FOR key IN result ( %tky = key-%tky
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
@@ -224,7 +224,7 @@ CLASS zcl_demo_abap_amdp IMPLEMENTATION.
|
||||
|
||||
"Note: When commented in, the following code results in a runtime
|
||||
"error since you cannot call an AMDP function in ABAP directly.
|
||||
* NEW ZCL_demo_ABAP_AMDP( )->get_carr_fli(
|
||||
* NEW zcl_demo_abap_amdp( )->get_carr_fli(
|
||||
* EXPORTING carrid = 'LH' ).
|
||||
|
||||
**********************************************************************
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
|
||||
@@ -81,7 +81,7 @@ ENDCLASS.
|
||||
|
||||
|
||||
|
||||
CLASS ZCL_demo_ABAP_OBJECTS IMPLEMENTATION.
|
||||
CLASS zcl_demo_abap_objects IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD hallo_instance_method.
|
||||
|
||||
@@ -552,7 +552,7 @@ CLASS zcl_demo_abap_prog_flow_logic IMPLEMENTATION.
|
||||
"substring. Then, a REPLACE statement is used and that only replaces
|
||||
"the substring according to the values. The condition for WHILE is
|
||||
"tailored in a way that the loop is terminated if there are no more
|
||||
"findings. The number of findings are also output - a number that
|
||||
"findings. The number of findings is also displayed - a number that
|
||||
"corresponds to the number of loop passes.
|
||||
|
||||
DATA(while_string) = `##abap####abap#abap######abap###abapabap##abap`.
|
||||
@@ -1061,7 +1061,7 @@ CLASS zcl_demo_abap_prog_flow_logic IMPLEMENTATION.
|
||||
"specified for the RAISING addition. If an actual parameter has a certain
|
||||
"value, the method raises an exception.
|
||||
"You can comment in the following line of code to see the enforcement.
|
||||
"A syntax warning is displayed since, there is no proper exception handling.
|
||||
"A syntax warning is displayed since there is no proper exception handling.
|
||||
|
||||
"DATA(my_user_a) = whats_my_user( get_name = abap_false ).
|
||||
|
||||
@@ -1362,7 +1362,7 @@ CLASS zcl_demo_abap_prog_flow_logic IMPLEMENTATION.
|
||||
METHOD prep_calc_result.
|
||||
|
||||
FIND PCRE `-$` IN res. "trailing minus
|
||||
|
||||
|
||||
IF sy-subrc = 0.
|
||||
SHIFT res BY 1 PLACES RIGHT CIRCULAR.
|
||||
ENDIF.
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------- GETTING STARTED (2) -------------------------
|
||||
@@ -64,9 +64,9 @@
|
||||
* columns are displayed, choose the 'Settings' button and select the
|
||||
* desired columns.
|
||||
* Choosing the 'Go' button refreshes the list. At first use, there
|
||||
* might not any entry. You can create an entry choosing the 'Create'
|
||||
* might not be any entry. You can create an entry choosing the 'Create'
|
||||
* button.
|
||||
* The late numbering aspects comes into the picture when you, for
|
||||
* The late numbering aspects enters the picture when you, for
|
||||
* example, create a new instance, i. e. create a new calculation, and
|
||||
* you keep a draft version of it instead of saving it to the database.
|
||||
* The calculation ID which represents the key of the instance has an
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
* The code presented in this class is only meant for supporting the ABAP
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
*
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
@@ -1105,7 +1105,7 @@ CLASS ZCL_DEMO_ABAP_STRING_PROC IMPLEMENTATION.
|
||||
output->display( input = count_s name = `count_s` ).
|
||||
output->display( input = findings_s name = `findings_s` ).
|
||||
output->display( input = line_s name = `line_s` ).
|
||||
output->display( input = off_s name = `off_s` ).
|
||||
output->display( input = off_s name = `off_s` ).
|
||||
output->display( input = length_s name = `length_s` ).
|
||||
output->display( input = res_s2 name = `res_s2` ).
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
* 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
|
||||
* search in the console for the number/variable name (CTRL+F in the
|
||||
* console) or use the debugger.
|
||||
* ----------------------------- NOTE -----------------------------------
|
||||
* The code presented in this class is only meant for supporting the ABAP
|
||||
|
||||
Reference in New Issue
Block a user