CONSTRUCTOR SAP Method CONSTRUCTOR
Below is documentation, parameters and attributes of ABAP Method CONSTRUCTOR within SAP class /SCMB/CL_MAP_SP_SCMB_GENERIC. 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_MAP_SP_SCMB_GENERIC 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
.| Name | Type | Data Type | Description | Default Value |
| IO_AD_GENERIC | Importing | TYPE REF TO /SCMB/IF_MAP_AD_SCMB_GENERIC | Map Adapter Interface generic map | |
| IO_CMP_SCMB_GENERIC | Importing | TYPE REF TO /SCMB/IF_MAP_CMP | SCMB Geo-Map: Context Menu Provider | |
| IO_DP_SCMB_GENERIC | Importing | TYPE REF TO /SCMB/IF_MAP_DP | Map Dialog Provider Interface generic map SCMB | |
| IO_MDP_SCMB_GENERIC | Importing | TYPE REF TO /SCMB/IF_MAP_MDP | SCMB Geo-Map: Object Details Provider | |
| IV_BE_QUIET | Importing | TYPE ABAP_BOOL | Flag: Display no messages | |
| IV_MAP_APPLICATION | Importing | TYPE VBC_GEOMAP_APPLICATION | Geo-Map: Application |
Exceptions of Method CONSTRUCTOR
This method does not have any exceptionsExample 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_MAP_SP_SCMB_GENERIC.
DATA: lv_IO_AD_GENERIC TYPE /SCMB/IF_MAP_AD_SCMB_GENERIC,
lv_IO_CMP_SCMB_GENERIC TYPE /SCMB/IF_MAP_CMP,
lv_IO_DP_SCMB_GENERIC TYPE /SCMB/IF_MAP_DP,
lv_IO_MDP_SCMB_GENERIC TYPE /SCMB/IF_MAP_MDP,
lv_IV_BE_QUIET TYPE ABAP_BOOL,
lv_IV_MAP_APPLICATION TYPE VBC_GEOMAP_APPLICATION,
lv_other TYPE c.
CALL METHOD lo_class=>CONSTRUCTOR(
EXPORTING
IO_AD_GENERIC = lv_IO_AD_GENERIC
IO_CMP_SCMB_GENERIC = lv_IO_CMP_SCMB_GENERIC
IO_DP_SCMB_GENERIC = lv_IO_DP_SCMB_GENERIC
IO_MDP_SCMB_GENERIC = lv_IO_MDP_SCMB_GENERIC
IV_BE_QUIET = lv_IV_BE_QUIET
IV_MAP_APPLICATION = lv_IV_MAP_APPLICATION ).
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