SAP RRSI_NODE_SID_SINGLE_CONVERT Function Module for Converts a Value (Basic Char./Hierarchy Node) Into the SID
RRSI_NODE_SID_SINGLE_CONVERT is a standard rrsi node sid single convert SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Converts a Value (Basic Char./Hierarchy Node) Into the SID 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 rrsi node sid single convert FM, simply by entering the name RRSI_NODE_SID_SINGLE_CONVERT into the relevant SAP transaction such as SE37 or SE38.
Function Group: RRSI
Program Name: SAPLRRSI
Main Program: SAPLRRSI
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RRSI_NODE_SID_SINGLE_CONVERT 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 'RRSI_NODE_SID_SINGLE_CONVERT'"Converts a Value (Basic Char./Hierarchy Node) Into the SID.
EXPORTING
I_IOBJNM = "InfoObject Name
* I_S_COB_PRO = "
I_HIESID = " or Hierarchy ID
I_NIOBJNM = " and Node
I_NODENAME = "
* I_CHECKFL = RS_C_TRUE "Indicator: Check Against Posted Value
* I_R_HIERARCHY = "Hierarchy Status
* I_ASSUME_LINK = RS_C_FALSE "Boolean
IMPORTING
E_SID = "SID of Characteristic Value or Node
E_OSID = "
E_TA_SID = "SID (or Integer) Table
EXCEPTIONS
NO_SID = 1 CHAVL_NOT_ALLOWED = 2 INTERVAL_NOT_FOUND = 3 INHERITED_ERROR = 4
IMPORTING Parameters details for RRSI_NODE_SID_SINGLE_CONVERT
I_IOBJNM - InfoObject Name
Data type: RSD_IOBJNMOptional: No
Call by Reference: No ( called with pass by value option)
I_S_COB_PRO -
Data type: RSD_S_COB_PROOptional: Yes
Call by Reference: No ( called with pass by value option)
I_HIESID - or Hierarchy ID
Data type: RSD_SIDOptional: No
Call by Reference: No ( called with pass by value option)
I_NIOBJNM - and Node
Data type: RSD_IOBJNMOptional: No
Call by Reference: No ( called with pass by value option)
I_NODENAME -
Data type: RSHI_NODENAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_CHECKFL - Indicator: Check Against Posted Value
Data type: RS_BOOLDefault: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_R_HIERARCHY - Hierarchy Status
Data type: CL_RSR_HIERARCHY_BINCLOptional: Yes
Call by Reference: Yes
I_ASSUME_LINK - Boolean
Data type: RS_BOOLDefault: RS_C_FALSE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RRSI_NODE_SID_SINGLE_CONVERT
E_SID - SID of Characteristic Value or Node
Data type: RSD_SIDOptional: No
Call by Reference: No ( called with pass by value option)
E_OSID -
Data type: RSD_SIDOptional: No
Call by Reference: No ( called with pass by value option)
E_TA_SID - SID (or Integer) Table
Data type: RRSI_TA_SIDOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_SID - SID does not exist (if createfl = false)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CHAVL_NOT_ALLOWED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERVAL_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
INHERITED_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RRSI_NODE_SID_SINGLE_CONVERT 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_sid | TYPE RSD_SID, " | |||
| lv_no_sid | TYPE RSD_SID, " | |||
| lv_i_iobjnm | TYPE RSD_IOBJNM, " | |||
| lv_e_osid | TYPE RSD_SID, " | |||
| lv_i_s_cob_pro | TYPE RSD_S_COB_PRO, " | |||
| lv_chavl_not_allowed | TYPE RSD_S_COB_PRO, " | |||
| lv_e_ta_sid | TYPE RRSI_TA_SID, " | |||
| lv_i_hiesid | TYPE RSD_SID, " | |||
| lv_interval_not_found | TYPE RSD_SID, " | |||
| lv_i_niobjnm | TYPE RSD_IOBJNM, " | |||
| lv_inherited_error | TYPE RSD_IOBJNM, " | |||
| lv_i_nodename | TYPE RSHI_NODENAME, " | |||
| lv_i_checkfl | TYPE RS_BOOL, " RS_C_TRUE | |||
| lv_i_r_hierarchy | TYPE CL_RSR_HIERARCHY_BINCL, " | |||
| lv_i_assume_link | TYPE RS_BOOL. " RS_C_FALSE |
|   CALL FUNCTION 'RRSI_NODE_SID_SINGLE_CONVERT' "Converts a Value (Basic Char./Hierarchy Node) Into the SID |
| EXPORTING | ||
| I_IOBJNM | = lv_i_iobjnm | |
| I_S_COB_PRO | = lv_i_s_cob_pro | |
| I_HIESID | = lv_i_hiesid | |
| I_NIOBJNM | = lv_i_niobjnm | |
| I_NODENAME | = lv_i_nodename | |
| I_CHECKFL | = lv_i_checkfl | |
| I_R_HIERARCHY | = lv_i_r_hierarchy | |
| I_ASSUME_LINK | = lv_i_assume_link | |
| IMPORTING | ||
| E_SID | = lv_e_sid | |
| E_OSID | = lv_e_osid | |
| E_TA_SID | = lv_e_ta_sid | |
| EXCEPTIONS | ||
| NO_SID = 1 | ||
| CHAVL_NOT_ALLOWED = 2 | ||
| INTERVAL_NOT_FOUND = 3 | ||
| INHERITED_ERROR = 4 | ||
| . " RRSI_NODE_SID_SINGLE_CONVERT | ||
ABAP code using 7.40 inline data declarations to call FM RRSI_NODE_SID_SINGLE_CONVERT
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.| DATA(ld_i_checkfl) | = RS_C_TRUE. | |||
| DATA(ld_i_assume_link) | = RS_C_FALSE. | |||
Search for further information about these or an SAP related objects