CREATE_FROM_CLASS SAP Method Generate Object Reference Depending on Class
Below is documentation, parameters and attributes of ABAP Method CREATE_FROM_CLASS within SAP class CL_ISU_BILL_SIM_SCEN. 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 CL_ISU_BILL_SIM_SCEN into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method CREATE_FROM_CLASS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_FROM_CLASS
.| Name | Type | Data Type | Description | Default Value |
| IM_REF_CONTR | Importing | TYPE REF TO CL_ISU_BILL_SIM_DATA_CONTR | Simulation Data for Contract | |
| IM_SIMSCEN | Importing | TYPE EA_SIMSCEN | Simulation Scenario | |
| IM_SIMSCENCLASS | Importing | TYPE EA_SIMSCENCLASS | Simulation Scenario Class | |
| IM_VERTRAG | Importing | TYPE VERTRAG | Contract | |
| IM_APPLLOG | Importing | TYPE BALOBJ_D | Application Log: Object Name (Application Code) | |
| IM_MSGHANDLE | Importing | TYPE EMSG_HANDL | Message object identification | |
| IM_MSGSAVE | Importing | TYPE KENNZ | 'X': Application Log Is Saved | |
| IM_MSGXNUM | Importing | TYPE BALNREXT | Application Log: External Identification | |
| EX_REF | Exporting | TYPE REF TO CL_ISU_BILL_SIM_SCEN | Simulation Scenario |
Exceptions of Method CREATE_FROM_CLASS
CL_ISU_BILL_SIM_SCEN
Example ABAP coding
DATA: lv_EX_REF TYPE CL_ISU_BILL_SIM_SCEN,
lv_IM_REF_CONTR TYPE CL_ISU_BILL_SIM_DATA_CONTR,
lv_IM_SIMSCEN TYPE EA_SIMSCEN,
lv_IM_SIMSCENCLASS TYPE EA_SIMSCENCLASS,
lv_IM_VERTRAG TYPE VERTRAG,
lv_IM_APPLLOG TYPE BALOBJ_D,
lv_IM_MSGHANDLE TYPE EMSG_HANDL,
lv_IM_MSGSAVE TYPE KENNZ,
lv_IM_MSGXNUM TYPE BALNREXT,
lv_other TYPE c.
CALL METHOD CL_ISU_BILL_SIM_SCEN=>CREATE_FROM_CLASS(
EXPORTING
IM_REF_CONTR = lv_IM_REF_CONTR
IM_SIMSCEN = lv_IM_SIMSCEN
IM_SIMSCENCLASS = lv_IM_SIMSCENCLASS
IM_VERTRAG = lv_IM_VERTRAG
IM_APPLLOG = lv_IM_APPLLOG
IM_MSGHANDLE = lv_IM_MSGHANDLE
IM_MSGSAVE = lv_IM_MSGSAVE
IM_MSGXNUM = lv_IM_MSGXNUM
IMPORTING
EX_REF = lv_EX_REF ).
Links to Related Class(s)
CL_ISU_B...Full list of available SAP object classes
Search for further information about these or an SAP related objects