Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

ABAPCREATE_OBJECT_IMPLICIT - CREATE OBJECT IMPLICIT

ABAPCREATE_OBJECT_IMPLICIT - CREATE OBJECT IMPLICIT

General Data in Customer Master   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
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.






Fill RESBD Structure from EBP Component Structure   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1468 Date: 20221127 Time: 025428     sap01-206 ( 32 ms )