ITSAMCG_DDIF_TABL_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ITSAMCG_DDIF_TABL_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
ITSAM_CODEGENERATOR
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'ITSAMCG_DDIF_TABL_GET' "For checking the existence of a structure
EXPORTING
name = " ddobjname Name of ABAP Dictionary Object
state = 'A' " ddobjstate Read status of an ABAP/4 Dictionary object
langu = ' ' " sy-langu Language Key for the Current Text Environment
devclass = " devclass Package
reqno = " trkorr_old Request/task up to and including Release 3.0
masterlang = 'E' " masterlang Original Language in Repository objects
srcsystem = " srcsystem Original System of Object
IMPORTING
gotstate = " ddgotstate Status of an ABAP/4 Dictionary object
dd02v_wa = " dd02v Generated Table for View DD02V
dd09l_wa = " dd09v Interface: Technical Settings Table/View
returncode = " i return code based on sy-subrc value
returndesc = " string error description based on exceptions
* TABLES
* dd03p_tab = " dd03p Structure
* dd05m_tab = " dd05m Interface Structure for DD_TBFK_GET
* dd08v_tab = " dd08v Generated Table for View DD08V
* dd12v_tab = " dd12v Generated Table for View DD12V
* dd17v_tab = " dd17v Secondary index fields with language key
* dd35v_tab = " dd35v Assignment of structure fields and search helps: Headers
* dd36m_tab = " dd36m Interface structure for field assignments table-search help
EXCEPTIONS
ILLEGAL_INPUT = 1 "
. " ITSAMCG_DDIF_TABL_GET
The ABAP code below is a full code listing to execute function module ITSAMCG_DDIF_TABL_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_gotstate | TYPE DDGOTSTATE , |
| ld_dd02v_wa | TYPE DD02V , |
| ld_dd09l_wa | TYPE DD09V , |
| ld_returncode | TYPE I , |
| ld_returndesc | TYPE STRING , |
| it_dd03p_tab | TYPE STANDARD TABLE OF DD03P,"TABLES PARAM |
| wa_dd03p_tab | LIKE LINE OF it_dd03p_tab , |
| it_dd05m_tab | TYPE STANDARD TABLE OF DD05M,"TABLES PARAM |
| wa_dd05m_tab | LIKE LINE OF it_dd05m_tab , |
| it_dd08v_tab | TYPE STANDARD TABLE OF DD08V,"TABLES PARAM |
| wa_dd08v_tab | LIKE LINE OF it_dd08v_tab , |
| it_dd12v_tab | TYPE STANDARD TABLE OF DD12V,"TABLES PARAM |
| wa_dd12v_tab | LIKE LINE OF it_dd12v_tab , |
| it_dd17v_tab | TYPE STANDARD TABLE OF DD17V,"TABLES PARAM |
| wa_dd17v_tab | LIKE LINE OF it_dd17v_tab , |
| it_dd35v_tab | TYPE STANDARD TABLE OF DD35V,"TABLES PARAM |
| wa_dd35v_tab | LIKE LINE OF it_dd35v_tab , |
| it_dd36m_tab | TYPE STANDARD TABLE OF DD36M,"TABLES PARAM |
| wa_dd36m_tab | LIKE LINE OF it_dd36m_tab . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_gotstate | TYPE DDGOTSTATE , |
| ld_name | TYPE DDOBJNAME , |
| it_dd03p_tab | TYPE STANDARD TABLE OF DD03P , |
| wa_dd03p_tab | LIKE LINE OF it_dd03p_tab, |
| ld_dd02v_wa | TYPE DD02V , |
| ld_state | TYPE DDOBJSTATE , |
| it_dd05m_tab | TYPE STANDARD TABLE OF DD05M , |
| wa_dd05m_tab | LIKE LINE OF it_dd05m_tab, |
| ld_dd09l_wa | TYPE DD09V , |
| ld_langu | TYPE SY-LANGU , |
| it_dd08v_tab | TYPE STANDARD TABLE OF DD08V , |
| wa_dd08v_tab | LIKE LINE OF it_dd08v_tab, |
| ld_returncode | TYPE I , |
| ld_devclass | TYPE DEVCLASS , |
| it_dd12v_tab | TYPE STANDARD TABLE OF DD12V , |
| wa_dd12v_tab | LIKE LINE OF it_dd12v_tab, |
| ld_returndesc | TYPE STRING , |
| ld_reqno | TYPE TRKORR_OLD , |
| it_dd17v_tab | TYPE STANDARD TABLE OF DD17V , |
| wa_dd17v_tab | LIKE LINE OF it_dd17v_tab, |
| ld_masterlang | TYPE MASTERLANG , |
| it_dd35v_tab | TYPE STANDARD TABLE OF DD35V , |
| wa_dd35v_tab | LIKE LINE OF it_dd35v_tab, |
| ld_srcsystem | TYPE SRCSYSTEM , |
| it_dd36m_tab | TYPE STANDARD TABLE OF DD36M , |
| wa_dd36m_tab | LIKE LINE OF it_dd36m_tab. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ITSAMCG_DDIF_TABL_GET or its description.
ITSAMCG_DDIF_TABL_GET - For checking the existence of a structure ITSAMCG_DDIF_DTEL_PUT - DD: Interface for writing a data element to the ABAP Dictionary ITSAMCG_DDIF_DOMA_PUT - For creating DataElements for ValueMap ITSAMCG_CREATE_CLASS - Creating Class ITSAMCG_CHECK_REQNO - For checking request number ITOB_WRITE_ERROR_LOG -