Skip to content

Commit

Permalink
Clarify RAISE EXCEPTION NEW only from 7.52 (SAP#80)
Browse files Browse the repository at this point in the history
This didn't work on a 7.50 system. The documentation indicates this was changed in 7.52 where "oref is a general expression position". See:
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abapraise_exception_class.htm
https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abapraise_exception_class.htm
  • Loading branch information
pokrakam authored and HrFlorianHoffmann committed Jul 28, 2019
1 parent 428c56f commit f4b68f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clean-abap/CleanABAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -3170,6 +3170,7 @@ Use this only if you are sure about that.

> [Clean ABAP](#clean-abap) > [Content](#content) > [Error Handling](#error-handling) > [Throwing](#throwing) > [This section](#prefer-raise-exception-new-to-raise-exception-type)
Note: Available from NW 7.52 onwards.
```ABAP
RAISE EXCEPTION NEW cx_generation_error( previous = exception ).
```
Expand Down

0 comments on commit f4b68f9

Please sign in to comment.