GET_DATA_FROM_DB SAP Method Retrieve/Create the model in the DB









Below is documentation, parameters and attributes of ABAP Method GET_DATA_FROM_DB 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 GET_DATA_FROM_DB can also be found below:

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


Parameters of Method GET_DATA_FROM_DB

.

NameTypeData TypeDescriptionDefault Value
IT_APPL_COMP_RANGEImportingTYPE
DTINF_R_POSID_RANGE
Application Component range
IT_BOR_RANGEImportingTYPE
DTINF_R_BOR_RANGE
Archiving Object
IT_DOMAIN_RANGEImportingTYPE
DTINF_R_DOMAIN_RANGE
Domain range
IT_ILM_RANGEImportingTYPE
DTINF_R_ILM_RANGE
ILM Object
IV_CREATE_DBImportingTYPE
BOOLEAN
Create data model
ET_EXISTING_ILMExportingTYPE
DTINF_TT_ILM_OBJ
Table of ILM Objects
ET_ILM_OBJECTSExportingTYPE
DTINF_TT_ILM_OBJ
Table of ILM Objects
ET_INVALID_TABNAMESExportingTYPE
DTINF_TT_TABNAMES
Table of table names
ET_TRANSPORT_ERROR_TEXTSExportingTYPE
DTINF_TT_XML_STRINGS
XML String Table



Exceptions of Method GET_DATA_FROM_DB

ET_EXISTING_ILMExportingTYPE
DTINF_TT_ILM_OBJTable of ILM ObjectsET_ILM_OBJECTSExportingTYPE
DTINF_TT_ILM_OBJTable of ILM ObjectsET_INVALID_TABNAMESExportingTYPE
DTINF_TT_TABNAMESTable of table namesET_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_ILM_OBJECTS TYPE DTINF_TT_ILM_OBJ,
lv_ET_INVALID_TABNAMES TYPE DTINF_TT_TABNAMES,
lv_ET_TRANSPORT_ERROR_TEXTS TYPE DTINF_TT_XML_STRINGS,
lv_IT_APPL_COMP_RANGE TYPE DTINF_R_POSID_RANGE,
lv_IT_BOR_RANGE TYPE DTINF_R_BOR_RANGE,
lv_IT_DOMAIN_RANGE TYPE DTINF_R_DOMAIN_RANGE,
lv_IT_ILM_RANGE TYPE DTINF_R_ILM_RANGE,
lv_IV_CREATE_DB TYPE BOOLEAN,
lv_other TYPE c.

CALL METHOD lo_class=>GET_DATA_FROM_DB(
EXPORTING
IT_APPL_COMP_RANGE = lv_IT_APPL_COMP_RANGE
IT_BOR_RANGE = lv_IT_BOR_RANGE
IT_DOMAIN_RANGE = lv_IT_DOMAIN_RANGE
IT_ILM_RANGE = lv_IT_ILM_RANGE
IV_CREATE_DB = lv_IV_CREATE_DB
IMPORTING
ET_EXISTING_ILM = lv_ET_EXISTING_ILM
ET_ILM_OBJECTS = lv_ET_ILM_OBJECTS
ET_INVALID_TABNAMES = lv_ET_INVALID_TABNAMES
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!