SAP /SDF/CONVERT_OBJ_TYPES Function Module for Convert include names to real names and types
/SDF/CONVERT_OBJ_TYPES is a standard /sdf/convert obj types SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Convert include names to real names and types 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 /sdf/convert obj types FM, simply by entering the name /SDF/CONVERT_OBJ_TYPES into the relevant SAP transaction such as SE37 or SE38.
Function Group: /SDF/CCM_FUNCTIONS
Program Name: /SDF/SAPLCCM_FUNCTIONS
Main Program: /SDF/SAPLCCM_FUNCTIONS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /SDF/CONVERT_OBJ_TYPES 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 '/SDF/CONVERT_OBJ_TYPES'"Convert include names to real names and types.
EXPORTING
* I_OBJTYPE = "Object Type
* I_OBJNAME = "Object Name
* I_SOBJTYPE = "Sub-object Type
* I_SOBJNAME = "Sub-object Name
IMPORTING
E_OBJTYPE = "Object Type
E_OBJNAME = "Object Name
E_SOBJTYPE = "Sub-object Type
E_SOBJNAME = "Sub-object Name
E_FOUND = "Checkbox
CHANGING
* CT_OBJECTS = "Code Inspector: Results Structure
* CT_METH = "Internal Table for ENHINCLUDE
IMPORTING Parameters details for /SDF/CONVERT_OBJ_TYPES
I_OBJTYPE - Object Type
Data type: TROBJTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_OBJNAME - Object Name
Data type: SOBJ_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SOBJTYPE - Sub-object Type
Data type: TROBJTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_SOBJNAME - Sub-object Name
Data type: SOBJ_NAMEOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /SDF/CONVERT_OBJ_TYPES
E_OBJTYPE - Object Type
Data type: TROBJTYPEOptional: No
Call by Reference: No ( called with pass by value option)
E_OBJNAME - Object Name
Data type: SOBJ_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_SOBJTYPE - Sub-object Type
Data type: TROBJTYPEOptional: No
Call by Reference: No ( called with pass by value option)
E_SOBJNAME - Sub-object Name
Data type: SOBJ_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
E_FOUND - Checkbox
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for /SDF/CONVERT_OBJ_TYPES
CT_OBJECTS - Code Inspector: Results Structure
Data type: SCIT_RESTOptional: Yes
Call by Reference: No ( called with pass by value option)
CT_METH - Internal Table for ENHINCLUDE
Data type: ENHINCLUDE_ITOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /SDF/CONVERT_OBJ_TYPES 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_e_objtype | TYPE TROBJTYPE, " | |||
| lv_i_objtype | TYPE TROBJTYPE, " | |||
| lv_ct_objects | TYPE SCIT_REST, " | |||
| lv_ct_meth | TYPE ENHINCLUDE_IT, " | |||
| lv_e_objname | TYPE SOBJ_NAME, " | |||
| lv_i_objname | TYPE SOBJ_NAME, " | |||
| lv_e_sobjtype | TYPE TROBJTYPE, " | |||
| lv_i_sobjtype | TYPE TROBJTYPE, " | |||
| lv_e_sobjname | TYPE SOBJ_NAME, " | |||
| lv_i_sobjname | TYPE SOBJ_NAME, " | |||
| lv_e_found | TYPE XFELD. " |
|   CALL FUNCTION '/SDF/CONVERT_OBJ_TYPES' "Convert include names to real names and types |
| EXPORTING | ||
| I_OBJTYPE | = lv_i_objtype | |
| I_OBJNAME | = lv_i_objname | |
| I_SOBJTYPE | = lv_i_sobjtype | |
| I_SOBJNAME | = lv_i_sobjname | |
| IMPORTING | ||
| E_OBJTYPE | = lv_e_objtype | |
| E_OBJNAME | = lv_e_objname | |
| E_SOBJTYPE | = lv_e_sobjtype | |
| E_SOBJNAME | = lv_e_sobjname | |
| E_FOUND | = lv_e_found | |
| CHANGING | ||
| CT_OBJECTS | = lv_ct_objects | |
| CT_METH | = lv_ct_meth | |
| . " /SDF/CONVERT_OBJ_TYPES | ||
ABAP code using 7.40 inline data declarations to call FM /SDF/CONVERT_OBJ_TYPES
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