SAP LTR_MODEL_GET_DDIC_INFO Function Module for LTR: Get DDIC table info from remote system
LTR_MODEL_GET_DDIC_INFO is a standard ltr model get ddic info SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for LTR: Get DDIC table info from remote system processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for ltr model get ddic info FM, simply by entering the name LTR_MODEL_GET_DDIC_INFO into the relevant SAP transaction such as SE37 or SE38.
Function Group: LTR_MODEL_DDIC_SELECTIONS
Program Name: SAPLLTR_MODEL_DDIC_SELECTIONS
Main Program: SAPLLTR_MODEL_DDIC_SELECTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function LTR_MODEL_GET_DDIC_INFO pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'LTR_MODEL_GET_DDIC_INFO'"LTR: Get DDIC table info from remote system.
EXPORTING
* IT_DOMAINS = "LTR: List of Domain Names
* IT_TABLES = "Table of Table Names (Char30)
IV_COMPLETE_SCAN = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_DOMAIN_ONLY = "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
TABLES
TT_DESTTYPE_DOM = "LTR: Home Destination Setting (L table)
TT_DESTTYPE_FLD = "LTR: Home Destination Setting (L table)
TT_DESTTYPE_TAB = "LTR: Home Destination Setting (L table)
TT_DESTTYPE_FTX = "LTR: Home Destination Setting (L table)
TT_DESTTYPE_SHP = "LTR: Home Destination Setting (L table)
EXCEPTIONS
NO_AUTHORITY = 1
IMPORTING Parameters details for LTR_MODEL_GET_DDIC_INFO
IT_DOMAINS - LTR: List of Domain Names
Data type: LTR_DOMAIN_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_TABLES - Table of Table Names (Char30)
Data type: TR_TABNAMESOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_COMPLETE_SCAN - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: No
Call by Reference: No ( called with pass by value option)
IV_DOMAIN_ONLY - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for LTR_MODEL_GET_DDIC_INFO
TT_DESTTYPE_DOM - LTR: Home Destination Setting (L table)
Data type: LTR_DESTTYPE_DOMOptional: No
Call by Reference: Yes
TT_DESTTYPE_FLD - LTR: Home Destination Setting (L table)
Data type: LTR_DESTTYPE_FLDOptional: No
Call by Reference: Yes
TT_DESTTYPE_TAB - LTR: Home Destination Setting (L table)
Data type: LTR_DESTTYPE_TABOptional: No
Call by Reference: Yes
TT_DESTTYPE_FTX - LTR: Home Destination Setting (L table)
Data type: LTR_DESTTYPE_FTXOptional: No
Call by Reference: Yes
TT_DESTTYPE_SHP - LTR: Home Destination Setting (L table)
Data type: LTR_DESTTYPE_SHPOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_AUTHORITY -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for LTR_MODEL_GET_DDIC_INFO Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_it_domains | TYPE LTR_DOMAIN_TAB, " | |||
| lv_no_authority | TYPE LTR_DOMAIN_TAB, " | |||
| lt_tt_desttype_dom | TYPE STANDARD TABLE OF LTR_DESTTYPE_DOM, " | |||
| lv_it_tables | TYPE TR_TABNAMES, " | |||
| lt_tt_desttype_fld | TYPE STANDARD TABLE OF LTR_DESTTYPE_FLD, " | |||
| lt_tt_desttype_tab | TYPE STANDARD TABLE OF LTR_DESTTYPE_TAB, " | |||
| lv_iv_complete_scan | TYPE BOOLE_D, " | |||
| lv_iv_domain_only | TYPE BOOLE_D, " | |||
| lt_tt_desttype_ftx | TYPE STANDARD TABLE OF LTR_DESTTYPE_FTX, " | |||
| lt_tt_desttype_shp | TYPE STANDARD TABLE OF LTR_DESTTYPE_SHP. " |
|   CALL FUNCTION 'LTR_MODEL_GET_DDIC_INFO' "LTR: Get DDIC table info from remote system |
| EXPORTING | ||
| IT_DOMAINS | = lv_it_domains | |
| IT_TABLES | = lv_it_tables | |
| IV_COMPLETE_SCAN | = lv_iv_complete_scan | |
| IV_DOMAIN_ONLY | = lv_iv_domain_only | |
| TABLES | ||
| TT_DESTTYPE_DOM | = lt_tt_desttype_dom | |
| TT_DESTTYPE_FLD | = lt_tt_desttype_fld | |
| TT_DESTTYPE_TAB | = lt_tt_desttype_tab | |
| TT_DESTTYPE_FTX | = lt_tt_desttype_ftx | |
| TT_DESTTYPE_SHP | = lt_tt_desttype_shp | |
| EXCEPTIONS | ||
| NO_AUTHORITY = 1 | ||
| . " LTR_MODEL_GET_DDIC_INFO | ||
ABAP code using 7.40 inline data declarations to call FM LTR_MODEL_GET_DDIC_INFO
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects