INSTANCIATE_VERSION_CLASS SAP Method Instantiates the class specific to the version
Below is documentation, parameters and attributes of ABAP Method INSTANCIATE_VERSION_CLASS within SAP class IF_HRPAYFR_N4DS. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_HRPAYFR_N4DS 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 INSTANCIATE_VERSION_CLASS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method INSTANCIATE_VERSION_CLASS
.Name | Type | Data Type | Description | Default Value |
IV_VERSN | Importing | TYPE P99SD_FOATR-FOVER | Version of the DAQ form | |
EO_VCLAS | Exporting | TYPE REF TO IF_HRPAYFR_N4DS | Instance of version class | |
EV_CLNAM | Exporting | TYPE FIELDNAME | Name of class version |
Exceptions of Method INSTANCIATE_VERSION_CLASS
CLASS_NOT_FOUND - Version class not foundExample ABAP coding
DATA: lo_class TYPE REF TO IF_HRPAYFR_N4DS.
DATA: lv_EO_VCLAS TYPE IF_HRPAYFR_N4DS,
lv_EV_CLNAM TYPE FIELDNAME,
lv_IV_VERSN TYPE P99SD_FOATR-FOVER,
lv_other TYPE c.
CALL METHOD lo_class=>INSTANCIATE_VERSION_CLASS(
EXPORTING
IV_VERSN = lv_IV_VERSN
IMPORTING
EO_VCLAS = lv_EO_VCLAS
EV_CLNAM = lv_EV_CLNAM ).
Links to Related Class(s)
IF_HRPAY...Full list of available SAP object classes
Search for further information about these or an SAP related objects