SAP RSSM_EQUAL_HASHS_BY_VALUES Function Module for Compare values with the same hash









RSSM_EQUAL_HASHS_BY_VALUES is a standard rssm equal hashs by values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Compare values with the same hash 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 rssm equal hashs by values FM, simply by entering the name RSSM_EQUAL_HASHS_BY_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSM_EQUAL_HASHS_BY_VALUES 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 'RSSM_EQUAL_HASHS_BY_VALUES'"Compare values with the same hash
EXPORTING
I_HASH_TYP = "Character Field Length = 10
I_HASH = "Hash Value (160 Bits)
I_IDENT1 = "10 Digit Number
I_TYPE_VERS1 = "
* I_IDENT2 = "Numeric character field, length 10
* I_TYPE_VERS2 = "Numc3, internal use
* I_T_VALUES = "
* I_STRUCTURE = "Field Length: 40 Characters

IMPORTING
E_EQUAL = "Boolean
.



IMPORTING Parameters details for RSSM_EQUAL_HASHS_BY_VALUES

I_HASH_TYP - Character Field Length = 10

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

I_HASH - Hash Value (160 Bits)

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

I_IDENT1 - 10 Digit Number

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

I_TYPE_VERS1 -

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

I_IDENT2 - Numeric character field, length 10

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

I_TYPE_VERS2 - Numc3, internal use

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

I_T_VALUES -

Data type: ANY TABLE
Optional: Yes
Call by Reference: Yes

I_STRUCTURE - Field Length: 40 Characters

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

EXPORTING Parameters details for RSSM_EQUAL_HASHS_BY_VALUES

E_EQUAL - Boolean

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

Copy and paste ABAP code example for RSSM_EQUAL_HASHS_BY_VALUES 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_equal  TYPE RS_BOOL, "   
lv_i_hash_typ  TYPE CHAR10, "   
lv_i_hash  TYPE HASH160, "   
lv_i_ident1  TYPE NUMC10, "   
lv_i_type_vers1  TYPE NUMC3, "   
lv_i_ident2  TYPE NUMC10, "   
lv_i_type_vers2  TYPE NUMC3, "   
lv_i_t_values  TYPE ANY TABLE, "   
lv_i_structure  TYPE CHAR40. "   

  CALL FUNCTION 'RSSM_EQUAL_HASHS_BY_VALUES'  "Compare values with the same hash
    EXPORTING
         I_HASH_TYP = lv_i_hash_typ
         I_HASH = lv_i_hash
         I_IDENT1 = lv_i_ident1
         I_TYPE_VERS1 = lv_i_type_vers1
         I_IDENT2 = lv_i_ident2
         I_TYPE_VERS2 = lv_i_type_vers2
         I_T_VALUES = lv_i_t_values
         I_STRUCTURE = lv_i_structure
    IMPORTING
         E_EQUAL = lv_e_equal
. " RSSM_EQUAL_HASHS_BY_VALUES




ABAP code using 7.40 inline data declarations to call FM RSSM_EQUAL_HASHS_BY_VALUES

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!