CONSTRUCTOR SAP Method Constructor









Below is documentation, parameters and attributes of ABAP Method CONSTRUCTOR within SAP class /SCMB/CL_MD_EEW_ENH. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is a Class Constructor so it is called automatically when the class is accessed for the first time.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_MD_EEW_ENH into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method CONSTRUCTOR can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CONSTRUCTOR

.

NameTypeData TypeDescriptionDefault Value
IT_FLD_EXTENSIONImportingTYPE
/SCMB/MD_EEW_FLD_EXT_T
EEW Field Enhancement
IT_GOX_HEADER_OLDImportingTYPE
COMT_GOX_DEF_HEADER
Table for Generic Object Extension (Header)
IV_BWEXTR_SRCImportingTYPE
ROOSOURCER
BW Extractor Source
IV_BWEXTR_STRImportingTYPE
DDOBJNAME
BW Extractor Structure
IV_CDOBJImportingTYPE
CDOBJECTCL
Change Document Object
IV_CISTRDImportingTYPE
DDOBJNAME
Data CI Include
IV_CISTRXImportingTYPE
DDOBJNAME
X CI Include
IV_ENH_APPLGRPImportingTYPE
EEW_APPLGROUP
Application Group
IV_GENFGRImportingTYPE
RS38L_AREA
Function Group
IV_GENPRGImportingTYPE
SCRAPROG
Generated Program
IV_GENPRG_CONTAINERImportingTYPE
SCRHPROG
Program Subscreen Container
IV_GENPRG_DUMMYImportingTYPE
SCRHPROG
Dummy Program if CI not Used
IV_GENPRG_TEMPLATEImportingTYPE
SCRHPROG
Pattern Program General
IV_GENSCRImportingTYPE
SCRFDYNNR
Generated Screen
IV_GENSCR_CONTAINERImportingTYPE
SCRFDYNNR
Subscreen Container
IV_GENSCR_DUMMYImportingTYPE
SCRFDYNNR
Dummy Screen if CI not Used
IV_GENSCR_TEMPLATEImportingTYPE
SCRFDYNNR
Pattern Dynpro General
IV_MODEImportingTYPE
CHAR1
Mode
IV_NAMESPACEImportingTYPE
NAMESPACE
Namespace
IV_SCRCHK_SKYFLD1ImportingTYPE
FIELDNAME
Semantic Key Field
IV_SCRCHK_SKYFLD2ImportingTYPE
FIELDNAME
Semantic Key Field
IV_SCRCHK_SKYFLD3ImportingTYPE
FIELDNAME
Semantic Key Field
IV_SCRCHK_SKYFLD4ImportingTYPE
FIELDNAME
Semantic Key Field
IV_SCRCHK_SKYFLD5ImportingTYPE
FIELDNAME
Semantic Key Field
IV_SCRFLD_IOSTRImportingTYPE
DDOBJNAME
I/O Structure
IV_SUBOBJImportingTYPE
OXT_SUBOBJ
EEW Subobject



Exceptions of Method CONSTRUCTOR

/SCMB/CX_MD_EEW_TECH_ERR - Technical Error

Example ABAP coding

As the method is a Class Constructor the below code doesnt really make sense as it cant be executed as a stand alone method but this is how it would look if it was a normal static method.

DATA: lo_class TYPE REF TO /SCMB/CL_MD_EEW_ENH.
DATA: lv_IT_FLD_EXTENSION TYPE /SCMB/MD_EEW_FLD_EXT_T,
lv_IT_GOX_HEADER_OLD TYPE COMT_GOX_DEF_HEADER,
lv_IV_BWEXTR_SRC TYPE ROOSOURCER,
lv_IV_BWEXTR_STR TYPE DDOBJNAME,
lv_IV_CDOBJ TYPE CDOBJECTCL,
lv_IV_CISTRD TYPE DDOBJNAME,
lv_IV_CISTRX TYPE DDOBJNAME,
lv_IV_ENH_APPLGRP TYPE EEW_APPLGROUP,
lv_IV_GENFGR TYPE RS38L_AREA,
lv_IV_GENPRG TYPE SCRAPROG,
lv_IV_GENPRG_CONTAINER TYPE SCRHPROG,
lv_IV_GENPRG_DUMMY TYPE SCRHPROG,
lv_IV_GENPRG_TEMPLATE TYPE SCRHPROG,
lv_IV_GENSCR TYPE SCRFDYNNR,
lv_IV_GENSCR_CONTAINER TYPE SCRFDYNNR,
lv_IV_GENSCR_DUMMY TYPE SCRFDYNNR,
lv_IV_GENSCR_TEMPLATE TYPE SCRFDYNNR,
lv_IV_MODE TYPE CHAR1,
lv_IV_NAMESPACE TYPE NAMESPACE,
lv_IV_SCRCHK_SKYFLD1 TYPE FIELDNAME,
lv_IV_SCRCHK_SKYFLD2 TYPE FIELDNAME,
lv_IV_SCRCHK_SKYFLD3 TYPE FIELDNAME,
lv_IV_SCRCHK_SKYFLD4 TYPE FIELDNAME,
lv_IV_SCRCHK_SKYFLD5 TYPE FIELDNAME,
lv_IV_SCRFLD_IOSTR TYPE DDOBJNAME,
lv_IV_SUBOBJ TYPE OXT_SUBOBJ,
lv_other TYPE c.

CALL METHOD lo_class=>CONSTRUCTOR(
EXPORTING
IT_FLD_EXTENSION = lv_IT_FLD_EXTENSION
IT_GOX_HEADER_OLD = lv_IT_GOX_HEADER_OLD
IV_BWEXTR_SRC = lv_IV_BWEXTR_SRC
IV_BWEXTR_STR = lv_IV_BWEXTR_STR
IV_CDOBJ = lv_IV_CDOBJ
IV_CISTRD = lv_IV_CISTRD
IV_CISTRX = lv_IV_CISTRX
IV_ENH_APPLGRP = lv_IV_ENH_APPLGRP
IV_GENFGR = lv_IV_GENFGR
IV_GENPRG = lv_IV_GENPRG
IV_GENPRG_CONTAINER = lv_IV_GENPRG_CONTAINER
IV_GENPRG_DUMMY = lv_IV_GENPRG_DUMMY
IV_GENPRG_TEMPLATE = lv_IV_GENPRG_TEMPLATE
IV_GENSCR = lv_IV_GENSCR
IV_GENSCR_CONTAINER = lv_IV_GENSCR_CONTAINER
IV_GENSCR_DUMMY = lv_IV_GENSCR_DUMMY
IV_GENSCR_TEMPLATE = lv_IV_GENSCR_TEMPLATE
IV_MODE = lv_IV_MODE
IV_NAMESPACE = lv_IV_NAMESPACE
IV_SCRCHK_SKYFLD1 = lv_IV_SCRCHK_SKYFLD1
IV_SCRCHK_SKYFLD2 = lv_IV_SCRCHK_SKYFLD2
IV_SCRCHK_SKYFLD3 = lv_IV_SCRCHK_SKYFLD3
IV_SCRCHK_SKYFLD4 = lv_IV_SCRCHK_SKYFLD4
IV_SCRCHK_SKYFLD5 = lv_IV_SCRCHK_SKYFLD5
IV_SCRFLD_IOSTR = lv_IV_SCRFLD_IOSTR
IV_SUBOBJ = lv_IV_SUBOBJ ).

Links to Related Class(s)

/SCMB/CL...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!