GET_DYNAMIC_LINKS SAP Method Determine links between two dynamical tables
Below is documentation, parameters and attributes of ABAP Method GET_DYNAMIC_LINKS 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_DYNAMIC_LINKS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_DYNAMIC_LINKS
.| Name | Type | Data Type | Description | Default Value |
| IT_COMPONENT | Importing | TYPE CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE | ABAP Component | |
| IT_KEY_FIELD_LIST | Importing | TYPE DTINF_TT_TABLE_FIELD_INFOS | Table of key fields | |
| IT_SEARCH_AREA | Importing | TYPE GSS_T_SEARCH_AREA | GSS: Table Type for GSS_S_SEARCH_AREA | |
| IV_CHECK_STRING_LENGTH | Importing | TYPE BOOLEAN | Check length of string in a found field | |
| IV_MAX_DB_ENTRIES | Importing | TYPE I | Number of entries to read from the DB | |
| IV_TABLE | Importing | TYPE STRING | Table name | |
| CT_FIELD_LINKS | Changing | TYPE DTINF_TT_FIELD_LINKS | Table of fields linking tables |
Exceptions of Method GET_DYNAMIC_LINKS
This method does not have any exceptionsExample 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_CT_FIELD_LINKS TYPE DTINF_TT_FIELD_LINKS,
lv_IT_COMPONENT TYPE CL_ABAP_STRUCTDESCR=>COMPONENT_TABLE,
lv_IT_KEY_FIELD_LIST TYPE DTINF_TT_TABLE_FIELD_INFOS,
lv_IT_SEARCH_AREA TYPE GSS_T_SEARCH_AREA,
lv_IV_CHECK_STRING_LENGTH TYPE BOOLEAN,
lv_IV_MAX_DB_ENTRIES TYPE I,
lv_IV_TABLE TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>GET_DYNAMIC_LINKS(
EXPORTING
IT_COMPONENT = lv_IT_COMPONENT
IT_KEY_FIELD_LIST = lv_IT_KEY_FIELD_LIST
IT_SEARCH_AREA = lv_IT_SEARCH_AREA
IV_CHECK_STRING_LENGTH = lv_IV_CHECK_STRING_LENGTH
IV_MAX_DB_ENTRIES = lv_IV_MAX_DB_ENTRIES
IV_TABLE = lv_IV_TABLE
CHANGING
CT_FIELD_LINKS = lv_CT_FIELD_LINKS ).
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