Functionality This function module reads the runtime information of a table or ingeneral of any type> of the ABAP Dictionary. The runtimeinformation also contains text informaiton. If you do not need textinformation, you should use the more efficient function moduleDDIF_NAMETAB_GET>. This document alsoexplains terms that are used below. This module gets the runtime information for the type whose name isdefined in the IMPORT parameter TABNAME>. If there is no suchtype, the exception NOT_FOUND> is triggered. Caution:> If the IMPORT parameter ALL_TYPES> is not set,only flat structured types are taken into consideration. In this casethe exception is also triggered if the specified type is a dataelement, a deep structure or a table type. If the type in question is a structured type, its field list isreturned in parameter DFIES_TAB>. However, if the IMPORT parameter FIELDNAME> does not have theinitial value, only the fields whose name is the same as the contentsof this parameter are taken into consideration. If there is no suchfield (or if the type is a data element or a table type), the exceptionNOT_FOUND is triggered. If the IMPORT parameter LFIELDNAME> does not have the initialvalue, only those fields whose long name is the same as the contents ofthe parameter are taken into consideration. Since there can be at mostone such field, the information is then returned in the EXPORTparameter DFIES_WA>. DFIES_TAB is undefined in this case. Ifthere is no such field (or if the type is a data element or a tabletype), the exception NOT_FOUND is triggered. If the type is a data element or a table type (and ALL_TYPES is set),the description of the type is also returned in parameter DFIES_WA, butif one of the two parameters FIELDNAME and LFIELDNAME does not have theinitial value, the exception NOT_FOUND is triggered. The text is returned in the language defined in parameter LANGU>.If this parameter is initial, the contents of the text fields areundefined. The contents of the text fields for table types and for thefields that do not have an elementary type are also undefined. Dataelements and fields with elementary type for which there is no text inthe specified language can be recognized by the fact that the fieldDFIES-LANGU has initial value. With this module you can also define the fixed values (including thecorresponding fixed value texts) of elementary types. If the specifiedtype is a data element for which fixed values were defined or if thetype of the field specified by parameter LFIELDNAME is a data element,the module defines these fixed values. The corresponding fixed valuetexts are added in the language defined by LANGU. This information isreturned in TABLES parameter FIXED_VALUES>. (This parameter isempty in all other cases.)Notes This module provides the runtime information> of the table. Ifthe description of the table is required as presented in themaintenance transaction of the ABAP Dictionary, you should use thefunction module DDIF_TABL_GET> (orDDIF_DTEL_GET> orDDIF_TTYP_GET>). This module only gets the data of the defined parameters. You shouldtherefore only define the parameters whose contents are to be definedwhen you execute the call. For example, if you do not need anyinformation about the fixed values of the types that were handled, youshould not define the TABLES parameter FIXED_VALUES in the call. If both IMPORT parameters FIELDNAME and LFIELDNAME do not have initialvalue, both restrictions are analyzed. The results can be found inDFIES_WA. In general you should only use parameter LFIELDNAME. ParameterFIELDNAME is only supported for compatibility reasons. You should not use this module to define the text for a single fixedvalue. Use function module DDUT_TEXT_FOR_VALUE> instead. You should not use this module to read fixed values for this purposeeither. In this case use the function module DDUT_INPUT_CHECK>. Prior to Release 4.0, this function module and the obsolete moduleGET_FIELDTAB returned the wrong ABAP data type 'X' for the Dictionarydata types INT1, INT2, INT4 and PREC. With 4.0, this module alsoreturns the correct ABAP data type for fields of this type. INCLUDE DDIF_DDOBJTYPE OBJECT DOKU ID TX INCLUDE DDDOC_FIELDINFO_LINES_DESCR OBJECT DOKU ID TX INCLUDE DDIF_ALL_TYPES OBJECT DOKU ID TX INCLUDE DDDOC_FIELDINFO_GROUP_NAMES OBJECT DOKU ID TX INCLUDE DDIF_NAMETAB_TABNAME OBJECT DOKU ID TX |