Lars Hvam
Lars Hvam
```abap DEFINE _foo. WRITE / sy-repid. END-OF-DEFINITION. _foo. ```
`MESSAGE e074(zz) WITH lv_code RAISING zcx_foo.` ``` RAISE EXCEPTION TYPE zcx_foo EXPORTING text = 'Receive failed'. ``` https://syntax.abaplint.org/?filter=message
```abap CATCH cx_salv_not_found INTO DATA(lx_not_found). MESSAGE lx_not_found TYPE 'E'. CATCH cx_salv_data_error INTO DATA(lx_data_error). MESSAGE lx_data_error TYPE 'E'. CATCH cx_salv_existing INTO DATA(lx_existing). MESSAGE lx_existing TYPE 'E'. CATCH cx_salv_wrong_call INTO DATA(lx_wrong_call). MESSAGE...
see https://github.com/abapGit/abapGit/issues/7413
* association cardinality * "as" https://rules.abaplint.org/cds_comment_style/
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abapcontinue.htm https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#avoid-check-in-other-positions ```abap CASE abap_true. WHEN 'X'. CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'. WHEN OTHERS. CONTINUE. ENDCASE. ```
```abap CONSTANTS const TYPE i VALUE 10. DATA: BEGIN OF stru OCCURS const, field TYPE i, END OF stru. ```