CREATE_MODEL SAP Method Generate links between ILM Objects and store in database









Below is documentation, parameters and attributes of ABAP Method CREATE_MODEL within SAP class DTINF_CL_INFORMATION. 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 DTINF_CL_INFORMATION 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_MODEL can also be found below:

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


Parameters of Method CREATE_MODEL

.

NameTypeData TypeDescriptionDefault Value
IT_EXTRA_TABLESImportingTYPE
DTINF_TT_TAB_FIELD
Table of table names
IT_OBJECTSImportingTYPE
DTINF_TT_OBJ_DEFINITIONS
Table of Object specific definitions
IV_SIMULATEImportingTYPE
BOOLEAN
Single-Character Flag
ET_EXISTING_ILMExportingTYPE
DTINF_TT_ILM_OBJ
Table of ILM Objects
ET_FOUND_LINKSExportingTYPE
DTINF_TT_FOUND_LINKS
All found links from the data model database table
ET_FOUND_LINKS_ALLExportingTYPE
DTINF_TT_MODEL_LINK
Table Type for filling the type of table relationship
ET_LINKS_ADDExportingTYPE
DTINF_TT_ILM_MODEL
Table type for model details to support model boundary
ET_LINKS_DELETEExportingTYPE
DTINF_TT_ILM_MODEL
Table type for model details to support model boundary
ET_TABLES_DELETEExportingTYPE
DTINF_TT_ILM_MODEL
Table type for model details to support model boundary
ET_TRANSPORT_ERROR_TEXTSExportingTYPE
DTINF_TT_XML_STRINGS
XML String Table



Exceptions of Method CREATE_MODEL

ET_EXISTING_ILMExportingTYPE
DTINF_TT_ILM_OBJTable of ILM ObjectsET_FOUND_LINKSExportingTYPE
DTINF_TT_FOUND_LINKSAll found links from the data model database tableET_FOUND_LINKS_ALLExportingTYPE
DTINF_TT_MODEL_LINKTable Type for filling the type of table relationshipET_LINKS_ADDExportingTYPE
DTINF_TT_ILM_MODELTable type for model details to support model boundaryET_LINKS_DELETEExportingTYPE
DTINF_TT_ILM_MODELTable type for model details to support model boundaryET_TABLES_DELETEExportingTYPE
DTINF_TT_ILM_MODELTable type for model details to support model boundaryET_TRANSPORT_ERROR_TEXTSExportingTYPE
DTINF_TT_XML_STRINGSXML String TableTRANSPORT_ERROR -

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 DTINF_CL_INFORMATION.
DATA: lv_ET_EXISTING_ILM TYPE DTINF_TT_ILM_OBJ,
lv_ET_FOUND_LINKS TYPE DTINF_TT_FOUND_LINKS,
lv_ET_FOUND_LINKS_ALL TYPE DTINF_TT_MODEL_LINK,
lv_ET_LINKS_ADD TYPE DTINF_TT_ILM_MODEL,
lv_ET_LINKS_DELETE TYPE DTINF_TT_ILM_MODEL,
lv_ET_TABLES_DELETE TYPE DTINF_TT_ILM_MODEL,
lv_ET_TRANSPORT_ERROR_TEXTS TYPE DTINF_TT_XML_STRINGS,
lv_IT_EXTRA_TABLES TYPE DTINF_TT_TAB_FIELD,
lv_IT_OBJECTS TYPE DTINF_TT_OBJ_DEFINITIONS,
lv_IV_SIMULATE TYPE BOOLEAN,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE_MODEL(
EXPORTING
IT_EXTRA_TABLES = lv_IT_EXTRA_TABLES
IT_OBJECTS = lv_IT_OBJECTS
IV_SIMULATE = lv_IV_SIMULATE
IMPORTING
ET_EXISTING_ILM = lv_ET_EXISTING_ILM
ET_FOUND_LINKS = lv_ET_FOUND_LINKS
ET_FOUND_LINKS_ALL = lv_ET_FOUND_LINKS_ALL
ET_LINKS_ADD = lv_ET_LINKS_ADD
ET_LINKS_DELETE = lv_ET_LINKS_DELETE
ET_TABLES_DELETE = lv_ET_TABLES_DELETE
ET_TRANSPORT_ERROR_TEXTS = lv_ET_TRANSPORT_ERROR_TEXTS ).

Links to Related Class(s)

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