GET_TC_FOR_TABLES SAP Method Get the TC which contain given table









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

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


Parameters of Method GET_TC_FOR_TABLES

.

NameTypeData TypeDescriptionDefault Value
IV_NO_FIELDSImportingTYPE
BOOLEAN
Ignore fields
IV_ONLY_PRIM_TABImportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)
IV_TABNAME1ImportingTYPE
TABNAME
Table Name
IV_TABNAME2ImportingTYPE
TABNAME
Table Name
ET_RESP_TABExportingTYPE
DTINF_TT_RESP_TAB
Grouping of TC, contained tables and responsibility
ET_TC_FIELDSExportingTYPE
DTINF_TT_TC_FIELDS
Table of TC field links
ET_TC_INFOExportingTYPE
DTINF_TT_TC_INFO
Table type of DTINF_TC_INFO / DTINF_TC_INFO_C
ET_TC_ORDERExportingTYPE
DTINF_TT_TC_ORDER
Table type of TC order for data collection
ET_TC_TABLESExportingTYPE
DTINF_TT_TC_TABLES
Table of TC table links



Exceptions of Method GET_TC_FOR_TABLES

ET_RESP_TABExportingTYPE
DTINF_TT_RESP_TABGrouping of TC, contained tables and responsibilityET_TC_FIELDSExportingTYPE
DTINF_TT_TC_FIELDSTable of TC field linksET_TC_INFOExportingTYPE
DTINF_TT_TC_INFOTable type of DTINF_TC_INFO / DTINF_TC_INFO_CET_TC_ORDERExportingTYPE
DTINF_TT_TC_ORDERTable type of TC order for data collectionET_TC_TABLESExportingTYPE
DTINF_TT_TC_TABLESTable of TC table linksNO_DATA_FOUND -

Example ABAP coding


DATA: lo_class TYPE REF TO DTINF_IF_INFORMATION.
DATA: lv_ET_RESP_TAB TYPE DTINF_TT_RESP_TAB,
lv_ET_TC_FIELDS TYPE DTINF_TT_TC_FIELDS,
lv_ET_TC_INFO TYPE DTINF_TT_TC_INFO,
lv_ET_TC_ORDER TYPE DTINF_TT_TC_ORDER,
lv_ET_TC_TABLES TYPE DTINF_TT_TC_TABLES,
lv_IV_NO_FIELDS TYPE BOOLEAN,
lv_IV_ONLY_PRIM_TAB TYPE BOOLEAN,
lv_IV_TABNAME1 TYPE TABNAME,
lv_IV_TABNAME2 TYPE TABNAME,
lv_other TYPE c.

CALL METHOD lo_class=>GET_TC_FOR_TABLES(
EXPORTING
IV_NO_FIELDS = lv_IV_NO_FIELDS
IV_ONLY_PRIM_TAB = lv_IV_ONLY_PRIM_TAB
IV_TABNAME1 = lv_IV_TABNAME1
IV_TABNAME2 = lv_IV_TABNAME2
IMPORTING
ET_RESP_TAB = lv_ET_RESP_TAB
ET_TC_FIELDS = lv_ET_TC_FIELDS
ET_TC_INFO = lv_ET_TC_INFO
ET_TC_ORDER = lv_ET_TC_ORDER
ET_TC_TABLES = lv_ET_TC_TABLES ).

Links to Related Class(s)

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