SAP RSESH_GET_RELATED_OBJECT_TYPES Function Module for Related types of objects to an object









RSESH_GET_RELATED_OBJECT_TYPES is a standard rsesh get related object 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 Related types of objects to an object 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 rsesh get related object types FM, simply by entering the name RSESH_GET_RELATED_OBJECT_TYPES into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSESH_RFC_PROXY
Program Name: SAPLRSESH_RFC_PROXY
Main Program: SAPLRSESH_RFC_PROXY
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RSESH_GET_RELATED_OBJECT_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 'RSESH_GET_RELATED_OBJECT_TYPES'"Related types of objects to an object
EXPORTING
* IV_LOGSYS = "
IV_OBJ_TYPE_ID = "Object Type ID of Search Service Provider
* IV_LANGU = "Language According to ISO 639
* IV_GET_ALL_LANGUAGES = "
* IV_CONFIG_LEVEL = "

IMPORTING
ET_RELATED_OBJ_TYPES = "
ET_RETURN_CODES = "
.



IMPORTING Parameters details for RSESH_GET_RELATED_OBJECT_TYPES

IV_LOGSYS -

Data type: SESH_D_LOGSYS
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_OBJ_TYPE_ID - Object Type ID of Search Service Provider

Data type: SXES_D_OBJECT_TYPE_ID
Optional: No
Call by Reference: No ( called with pass by value option)

IV_LANGU - Language According to ISO 639

Data type: LAISO
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_GET_ALL_LANGUAGES -

Data type: SESH_D_GET_ALL_LANGUAGES
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CONFIG_LEVEL -

Data type: SESH_D_CONFIG_LEVEL
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RSESH_GET_RELATED_OBJECT_TYPES

ET_RELATED_OBJ_TYPES -

Data type: SESH_T_RELATED_OBJ_TYPES
Optional: No
Call by Reference: No ( called with pass by value option)

ET_RETURN_CODES -

Data type: SESH_T_RETURN_CODES
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for RSESH_GET_RELATED_OBJECT_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_iv_logsys  TYPE SESH_D_LOGSYS, "   
lv_et_related_obj_types  TYPE SESH_T_RELATED_OBJ_TYPES, "   
lv_iv_obj_type_id  TYPE SXES_D_OBJECT_TYPE_ID, "   
lv_et_return_codes  TYPE SESH_T_RETURN_CODES, "   
lv_iv_langu  TYPE LAISO, "   
lv_iv_get_all_languages  TYPE SESH_D_GET_ALL_LANGUAGES, "   
lv_iv_config_level  TYPE SESH_D_CONFIG_LEVEL. "   

  CALL FUNCTION 'RSESH_GET_RELATED_OBJECT_TYPES'  "Related types of objects to an object
    EXPORTING
         IV_LOGSYS = lv_iv_logsys
         IV_OBJ_TYPE_ID = lv_iv_obj_type_id
         IV_LANGU = lv_iv_langu
         IV_GET_ALL_LANGUAGES = lv_iv_get_all_languages
         IV_CONFIG_LEVEL = lv_iv_config_level
    IMPORTING
         ET_RELATED_OBJ_TYPES = lv_et_related_obj_types
         ET_RETURN_CODES = lv_et_return_codes
. " RSESH_GET_RELATED_OBJECT_TYPES




ABAP code using 7.40 inline data declarations to call FM RSESH_GET_RELATED_OBJECT_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



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!