SAP COM_DDIC_TTYPE_CREATE Function Module for









COM_DDIC_TTYPE_CREATE is a standard com ddic ttype create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 com ddic ttype create FM, simply by entering the name COM_DDIC_TTYPE_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: COM_SETTYPE_TECH
Program Name: SAPLCOM_SETTYPE_TECH
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function COM_DDIC_TTYPE_CREATE 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 'COM_DDIC_TTYPE_CREATE'"
EXPORTING
IV_OBJECTTYPE_ID = "Name of an ABAP Dictionary Object
IV_SETTYPE_TEXT = "Set Type Description
IV_ROWTYPE = "Name of row type for table types
IV_LANGU = "SAP R/3 System, Current Language
IV_REPLACE_PATTERN = "
IV_TEMPLATE = "
IV_NAME_SUFFIX = "
IV_DEVCLASS = "

IMPORTING
EV_SUBRC = "Return Value, Return Value After ABAP Statements

CHANGING
* CT_TRANSPORT = "Table with Entries for Transport
.



IMPORTING Parameters details for COM_DDIC_TTYPE_CREATE

IV_OBJECTTYPE_ID - Name of an ABAP Dictionary Object

Data type: DDOBJNAME
Optional: No
Call by Reference: Yes

IV_SETTYPE_TEXT - Set Type Description

Data type: COMT_FRGTYPE_TEXT
Optional: No
Call by Reference: Yes

IV_ROWTYPE - Name of row type for table types

Data type: TTROWTYPE
Optional: No
Call by Reference: Yes

IV_LANGU - SAP R/3 System, Current Language

Data type: SYLANGU
Optional: No
Call by Reference: Yes

IV_REPLACE_PATTERN -

Data type: COMT_REPLACE_PATTERN
Optional: No
Call by Reference: Yes

IV_TEMPLATE -

Data type: COMT_SETTYPE_TEMPLATE
Optional: No
Call by Reference: Yes

IV_NAME_SUFFIX -

Data type:
Optional: No
Call by Reference: Yes

IV_DEVCLASS -

Data type: DEVCLASS
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for COM_DDIC_TTYPE_CREATE

EV_SUBRC - Return Value, Return Value After ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

CHANGING Parameters details for COM_DDIC_TTYPE_CREATE

CT_TRANSPORT - Table with Entries for Transport

Data type: COMT_GOX_TRANS_OBJECT
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for COM_DDIC_TTYPE_CREATE 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_ev_subrc  TYPE SY-SUBRC, "   
lv_ct_transport  TYPE COMT_GOX_TRANS_OBJECT, "   
lv_iv_objecttype_id  TYPE DDOBJNAME, "   
lv_iv_settype_text  TYPE COMT_FRGTYPE_TEXT, "   
lv_iv_rowtype  TYPE TTROWTYPE, "   
lv_iv_langu  TYPE SYLANGU, "   
lv_iv_replace_pattern  TYPE COMT_REPLACE_PATTERN, "   
lv_iv_template  TYPE COMT_SETTYPE_TEMPLATE, "   
lv_iv_name_suffix  TYPE COMT_SETTYPE_TEMPLATE, "   
lv_iv_devclass  TYPE DEVCLASS. "   

  CALL FUNCTION 'COM_DDIC_TTYPE_CREATE'  "
    EXPORTING
         IV_OBJECTTYPE_ID = lv_iv_objecttype_id
         IV_SETTYPE_TEXT = lv_iv_settype_text
         IV_ROWTYPE = lv_iv_rowtype
         IV_LANGU = lv_iv_langu
         IV_REPLACE_PATTERN = lv_iv_replace_pattern
         IV_TEMPLATE = lv_iv_template
         IV_NAME_SUFFIX = lv_iv_name_suffix
         IV_DEVCLASS = lv_iv_devclass
    IMPORTING
         EV_SUBRC = lv_ev_subrc
    CHANGING
         CT_TRANSPORT = lv_ct_transport
. " COM_DDIC_TTYPE_CREATE




ABAP code using 7.40 inline data declarations to call FM COM_DDIC_TTYPE_CREATE

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.

"SELECT single SUBRC FROM SY INTO @DATA(ld_ev_subrc).
 
 
 
 
 
 
 
 
 
 


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!