CREATE_INSTANCE SAP Method Generate and Store Log Instance
Below is documentation, parameters and attributes of ABAP Method CREATE_INSTANCE within SAP class IF_HRPAY00_LOG_BUILDER. 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_HRPAY00_LOG_BUILDER 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 CREATE_INSTANCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_INSTANCE
.Name | Type | Data Type | Description | Default Value |
I_DERIVATED_CLASSNAME | Importing | TYPE SEOCLSNAME | Name of Class Derived from CL_HRPAY00_LOG | |
I_IDENT | Importing | TYPE P00_LOG_IDENT | Identifier for Logging HCM | |
I_PERNR | Importing | TYPE P_PERNR | Personnel Number | |
E_IS_OK | Exporting | TYPE BOOLE_D | Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ') |
Exceptions of Method CREATE_INSTANCE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_HRPAY00_LOG_BUILDER.
DATA: lv_E_IS_OK TYPE BOOLE_D,
lv_I_DERIVATED_CLASSNAME TYPE SEOCLSNAME,
lv_I_IDENT TYPE P00_LOG_IDENT,
lv_I_PERNR TYPE P_PERNR,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_INSTANCE(
EXPORTING
I_DERIVATED_CLASSNAME = lv_I_DERIVATED_CLASSNAME
I_IDENT = lv_I_IDENT
I_PERNR = lv_I_PERNR
IMPORTING
E_IS_OK = lv_E_IS_OK ).
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