Marc Bernard

Results 464 comments of Marc Bernard

`lo_obj->static( ).` looks bad indeed and a check would be good to have. (other languages like Java allow this notation as well which doesn't make it any good either). Using...

it gives error for `split` which is good. but there's still no error for the `insert` statement. (2.85.50)

@vidyadharg I agree with @AlexandreHT regarding the context. In your example, you set the context once for each customer. The context is then automatically applied to all further messages. This...

Same with CHECK as first statement in LOOP: ```abap LOOP AT ref_scan_manager->get_tokens( ) ASSIGNING FIELD-SYMBOL() FROM statement-from TO statement-to WHERE type = 'I'. CHECK ( -str CS 'CL_GUI_' ). has_redirection...

Unfortunately, `with authority-check` is a 740 SP 02 feature. https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abennews-740-others.htm Using the function module will be quite common since it's mentioned in the docs, for example 702: ![image](https://user-images.githubusercontent.com/59966492/109722618-ed284d00-7b7a-11eb-9a58-c6a22dd34f60.png)

=740sp2 keep error but better description with example Add this function to the rule for replacing functions

I reduced it to a minimum. The real case is actually quite common, I think: ```abap SELECT... IF sy-subrc = 0. UPDATE ... ELSE. INSERT ... ENDIF. IF sy-subrc =...