Ansicht
Dokumentation

ABAPCREATE_OBJECT_IMPLICIT - CREATE OBJECT IMPLICIT

ABAPCREATE_OBJECT_IMPLICIT - CREATE OBJECT IMPLICIT

ROGBILLS - Synchronize billing plans   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

CREATE OBJECT oref

Short Reference



CREATE OBJECT oref $[area_handle$] $[parameter_list$].

Effect

If the addition TYPE is not specified, the object reference variable oref must be a class reference variable. An instance of the class is created that is the static type of the object reference variable. The static type of the class reference variable must not be an abstract class, and in particular not the root class object.

Note

If the character # is used in an operand position with the operand type of a class reference variable, the instance operator NEW works like the statement CREATE DATA dref.

Example

Creation of an instance of a class cls by implicitly referring to the static type of the reference variables.






ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.

Length: 1468 Date: 20240423 Time: 190354     sap01-206 ( 27 ms )