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_CI. 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_CI 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_EXTRA_TABLESImportingTYPE
DTINF_TT_TABNAMES
Table of table names
IT_ILM_RANGEImportingTYPE
DTINF_R_ILM_RANGE
ILM Object
IV_CREATE_DBImportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)



Exceptions of Method GET_DATA_FROM_DB

NO_DATA_FOUND - No data matching search request was found

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_CI.
DATA: 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_EXTRA_TABLES TYPE DTINF_TT_TABNAMES,
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_EXTRA_TABLES = lv_IT_EXTRA_TABLES
IT_ILM_RANGE = lv_IT_ILM_RANGE
IV_CREATE_DB = lv_IV_CREATE_DB ).

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!