CREATE_OBJECT_OIF SAP Method Create Project









Below is documentation, parameters and attributes of ABAP Method CREATE_OBJECT_OIF within SAP class CL_DPR_UI_LOG_ENTRY. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_DPR_UI_LOG_ENTRY 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_OBJECT_OIF can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CREATE_OBJECT_OIF

.

NameTypeData TypeDescriptionDefault Value
IS_OBJ_EVENT_CREATEImportingTYPE
DPR_TS_OBJ_EVENT_CREATE
cProjects create fields for OBN
I_CHECKLIST_TYPEImportingTYPE
STRING
I_CHECKLIST_VALUEImportingTYPE
DPR_TV_CHECKLIST_ID
Number of Checklist
I_COPY_CHECKLISTSImportingTYPE
C
I_CP_TEMPLATE_VALUEImportingTYPE
DPR_TV_CP_TEMPLATE_NAME
Control Plan Template Name
I_KEY_GUIDImportingTYPE
DPR_TV_OBJECT_GUID_CHAR
Unique Object Key
I_LANGUImportingTYPE
DPR_TV_LANGU
Language Key
I_PROJECT_VALUEImportingTYPE
DPR_TV_PROJECT_ID
Project Number
I_PROTYPEImportingTYPE
DPR_TV_PRO_TYPE
Project Type
I_TEMPNOImportingTYPE
DPR_TV_OBJECT_GUID_CHAR
Unique Object Key
I_TEMPTYPEImportingTYPE
STRING
I_TEMP_PROJECT_VALUEImportingTYPE
DPR_TV_PROJECT_ID
Project Number
I_TEMP_VERSION_VALUEImportingTYPE
CGPL_TV_VERSION
Version Number
I_USER_GROUP_VALUEImportingTYPE
STRING
I_VERSION_VALUEImportingTYPE
CGPL_TV_VERSION
Version Number
ES_CPT_EVENTExportingTYPE
DPR_TS_CPT_EVENT
Special: Create Control Plan
ET_SEL_ELEMENTExportingTYPE
DPR_TT_OBJ_EVENT
Table with Object Selection
EV_FAILEDExportingTYPE
ABAP_BOOL
Error While Creating



Exceptions of Method CREATE_OBJECT_OIF

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_DPR_UI_LOG_ENTRY.
DATA: lv_ES_CPT_EVENT TYPE DPR_TS_CPT_EVENT,
lv_ET_SEL_ELEMENT TYPE DPR_TT_OBJ_EVENT,
lv_EV_FAILED TYPE ABAP_BOOL,
lv_IS_OBJ_EVENT_CREATE TYPE DPR_TS_OBJ_EVENT_CREATE,
lv_I_CHECKLIST_TYPE TYPE STRING,
lv_I_CHECKLIST_VALUE TYPE DPR_TV_CHECKLIST_ID,
lv_I_COPY_CHECKLISTS TYPE C,
lv_I_CP_TEMPLATE_VALUE TYPE DPR_TV_CP_TEMPLATE_NAME,
lv_I_KEY_GUID TYPE DPR_TV_OBJECT_GUID_CHAR,
lv_I_LANGU TYPE DPR_TV_LANGU,
lv_I_PROJECT_VALUE TYPE DPR_TV_PROJECT_ID,
lv_I_PROTYPE TYPE DPR_TV_PRO_TYPE,
lv_I_TEMPNO TYPE DPR_TV_OBJECT_GUID_CHAR,
lv_I_TEMPTYPE TYPE STRING,
lv_I_TEMP_PROJECT_VALUE TYPE DPR_TV_PROJECT_ID,
lv_I_TEMP_VERSION_VALUE TYPE CGPL_TV_VERSION,
lv_I_USER_GROUP_VALUE TYPE STRING,
lv_I_VERSION_VALUE TYPE CGPL_TV_VERSION,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE_OBJECT_OIF(
EXPORTING
IS_OBJ_EVENT_CREATE = lv_IS_OBJ_EVENT_CREATE
I_CHECKLIST_TYPE = lv_I_CHECKLIST_TYPE
I_CHECKLIST_VALUE = lv_I_CHECKLIST_VALUE
I_COPY_CHECKLISTS = lv_I_COPY_CHECKLISTS
I_CP_TEMPLATE_VALUE = lv_I_CP_TEMPLATE_VALUE
I_KEY_GUID = lv_I_KEY_GUID
I_LANGU = lv_I_LANGU
I_PROJECT_VALUE = lv_I_PROJECT_VALUE
I_PROTYPE = lv_I_PROTYPE
I_TEMPNO = lv_I_TEMPNO
I_TEMPTYPE = lv_I_TEMPTYPE
I_TEMP_PROJECT_VALUE = lv_I_TEMP_PROJECT_VALUE
I_TEMP_VERSION_VALUE = lv_I_TEMP_VERSION_VALUE
I_USER_GROUP_VALUE = lv_I_USER_GROUP_VALUE
I_VERSION_VALUE = lv_I_VERSION_VALUE
IMPORTING
ES_CPT_EVENT = lv_ES_CPT_EVENT
ET_SEL_ELEMENT = lv_ET_SEL_ELEMENT
EV_FAILED = lv_EV_FAILED ).

Links to Related Class(s)

CL_DPR_U...
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!