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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IM_REF_CONTRImportingTYPE REF TO
CL_ISU_BILL_SIM_DATA_CONTR
Simulation Data for Contract
IM_SIMSCENImportingTYPE
EA_SIMSCEN
Simulation Scenario
IM_SIMSCENCLASSImportingTYPE
EA_SIMSCENCLASS
Simulation Scenario Class
IM_VERTRAGImportingTYPE
VERTRAG
Contract
IM_APPLLOGImportingTYPE
BALOBJ_D
Application Log: Object Name (Application Code)
IM_MSGHANDLEImportingTYPE
EMSG_HANDL
Message object identification
IM_MSGSAVEImportingTYPE
KENNZ
'X': Application Log Is Saved
IM_MSGXNUMImportingTYPE
BALNREXT
Application Log: External Identification
EX_REFExportingTYPE REF TO
CL_ISU_BILL_SIM_SCEN
Simulation Scenario



Exceptions of Method CREATE_FROM_CLASS

EX_REFExportingTYPE REF TO
CL_ISU_BILL_SIM_SCENSimulation ScenarioGENERAL_FAULT - General Error

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



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!