SAP RRSV_GET_EDIT_MASK Function Module for Provides for the characteristic, the (trivial) treatment mask
RRSV_GET_EDIT_MASK is a standard rrsv get edit mask SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Provides for the characteristic, the (trivial) treatment mask 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 rrsv get edit mask FM, simply by entering the name RRSV_GET_EDIT_MASK into the relevant SAP transaction such as SE37 or SE38.
Function Group: RRSV
Program Name: SAPLRRSV
Main Program: SAPLRRSV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RRSV_GET_EDIT_MASK 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 'RRSV_GET_EDIT_MASK'"Provides for the characteristic, the (trivial) treatment mask.
EXPORTING
* I_INFOPROV = "InfoProvider
I_CHANM = "Characteristic
* I_S_COB_PRO = "
* I_DELIMITER = RRSV_C_DELI-SLASH "
IMPORTING
E_MASK_NO = "
E_MASK_NORMAL = "
E_MASK_WITH_CONST = "
EXCEPTIONS
UNKNOWN_CHANM = 1 INHERITED_ERROR = 2 X_MESSAGE = 3
IMPORTING Parameters details for RRSV_GET_EDIT_MASK
I_INFOPROV - InfoProvider
Data type: RSINFOPROVOptional: Yes
Call by Reference: Yes
I_CHANM - Characteristic
Data type: RSCHANMOptional: No
Call by Reference: Yes
I_S_COB_PRO -
Data type: RSD_S_COB_PROOptional: Yes
Call by Reference: No ( called with pass by value option)
I_DELIMITER -
Data type: RRSV_DELIDefault: RRSV_C_DELI-SLASH
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RRSV_GET_EDIT_MASK
E_MASK_NO -
Data type: RSD_CHAVL_EXTOptional: No
Call by Reference: No ( called with pass by value option)
E_MASK_NORMAL -
Data type: RSD_CHAVL_EXTOptional: No
Call by Reference: No ( called with pass by value option)
E_MASK_WITH_CONST -
Data type: RSD_CHAVL_EXTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
UNKNOWN_CHANM -
Data type:Optional: No
Call by Reference: Yes
INHERITED_ERROR -
Data type:Optional: No
Call by Reference: Yes
X_MESSAGE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RRSV_GET_EDIT_MASK 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_mask_no | TYPE RSD_CHAVL_EXT, " | |||
| lv_i_infoprov | TYPE RSINFOPROV, " | |||
| lv_unknown_chanm | TYPE RSINFOPROV, " | |||
| lv_i_chanm | TYPE RSCHANM, " | |||
| lv_e_mask_normal | TYPE RSD_CHAVL_EXT, " | |||
| lv_inherited_error | TYPE RSD_CHAVL_EXT, " | |||
| lv_x_message | TYPE RSD_CHAVL_EXT, " | |||
| lv_i_s_cob_pro | TYPE RSD_S_COB_PRO, " | |||
| lv_e_mask_with_const | TYPE RSD_CHAVL_EXT, " | |||
| lv_i_delimiter | TYPE RRSV_DELI. " RRSV_C_DELI-SLASH |
|   CALL FUNCTION 'RRSV_GET_EDIT_MASK' "Provides for the characteristic, the (trivial) treatment mask |
| EXPORTING | ||
| I_INFOPROV | = lv_i_infoprov | |
| I_CHANM | = lv_i_chanm | |
| I_S_COB_PRO | = lv_i_s_cob_pro | |
| I_DELIMITER | = lv_i_delimiter | |
| IMPORTING | ||
| E_MASK_NO | = lv_e_mask_no | |
| E_MASK_NORMAL | = lv_e_mask_normal | |
| E_MASK_WITH_CONST | = lv_e_mask_with_const | |
| EXCEPTIONS | ||
| UNKNOWN_CHANM = 1 | ||
| INHERITED_ERROR = 2 | ||
| X_MESSAGE = 3 | ||
| . " RRSV_GET_EDIT_MASK | ||
ABAP code using 7.40 inline data declarations to call FM RRSV_GET_EDIT_MASK
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_delimiter) | = RRSV_C_DELI-SLASH. | |||
Search for further information about these or an SAP related objects