Use NEW

 home quick fix upport styleguide  single file   example  edit

use_new

Description

Checks for deprecated CREATE OBJECT statements.

Extended Information

https://github.com/SAP/styleguides/blob/main/clean-abap/CleanABAP.md#prefer-new-to-create-object

If the target variable is referenced in the CREATE OBJECT statement, no errors are issued

Applicable from v740sp02 and up

Default Configuration

Hover to see descriptions, Ctrl+Space for suggestions

Examples