Documentation View

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

ABAPCREATE_OBJECT_SHORTREF - CREATE OBJECT SHORTREF

ABAPCREATE_OBJECT_SHORTREF - CREATE OBJECT SHORTREF

Fill RESBD Structure from EBP Component Structure   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

CREATE OBJECT

Reference



Syntax

CREATE OBJECT oref [AREA HANDLE handle]
                   [ [TYPE class]
                      [EXPORTING p1 = a1 p2 = a2 ...]
                      [EXCEPTIONS exc1 = n1 exc2 = n2 ... [OTHERS = n_others]] ]
                 | [ TYPE (name)
                     {[EXPORTING p1 = a1 p2 = a2 ...]
                      [EXCEPTIONS exc1 = n1 exc2 = n2 ... [OTHERS = n_others]]}
                   | {[PARAMETER-TABLE ptab]
                      [EXCEPTION-TABLE etab]} ].


Effect

Creates an instance of a class and sets the object reference in oref to the object. If the addition TYPE is not specified, oref must be typed with reference to a concrete class and this class is instantiated.

Additions

  • PARAMETER-TABLE ptab
    Assigns dynamic actual parameters to the formal parameters of the instance constructor using an internal table ptab of type abap_parmbind_tab.
  • EXCEPTION-TABLE etab
    Assigns dynamic return codes to non-class-based exceptions using an internal table etab of type abap_excpbind_tab.





ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3758 Date: 20221203 Time: 164430     sap01-206 ( 36 ms )