SAP RSSM_MON_CHECK_RNR Function Module for Check request number









RSSM_MON_CHECK_RNR is a standard rssm mon check rnr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Check request number 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 mon check rnr FM, simply by entering the name RSSM_MON_CHECK_RNR into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSM1
Program Name: SAPLRSM1
Main Program: SAPLRSM1
Appliation area: B
Release date: 24-Oct-1997
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSSM_MON_CHECK_RNR 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_MON_CHECK_RNR'"Check request number
EXPORTING
I_RNR = "
* I_IDOCNUM = "
* I_DATAPAKID = "
* I_IDOCTYP = 'D' "
* I_NO_CHECK = ' ' "
* I_REQNEWSTORNO = ' ' "
* I_S_MINFO = "
* I_CHECK_PSA = ' ' "
* I_NO_PROCESS_WHEN_RED = ' ' "

IMPORTING
E_S_INFOLIST = "
E_S_MINFO = "
E_T_MSG = "

TABLES
* L_T_ICUBES_EXT = "

EXCEPTIONS
NO_REQUEST_NUMBER = 1 PREVIOUS_WRONG = 10 SID_TO_LOW_FOR_CUBE = 11 CANT_DROP_INDEX = 12 ENQUEUE_NOT_POSSIBLE = 13 BAD_INDEX = 14 DP_READY = 15 CUBE_LOCKED_BY_COMPRESSION = 16 LOAD_LOCKED_BY_MDDEL = 17 WRONG_CHECK = 18 LOCKED_BY_ENQUEUEMANAGER = 19 REQUEST_NUMBER_NOT_FOUND = 2 PACKAGE_IN_PSA_CONFIRM_IT = 20 DTP_IS_ACTIVE_FOR_PATH = 21 WRONG_DATAPAKID = 3 ALREDY_BEEN_PROCESSED = 4 REQUEST_IN_ARCHIVE = 5 NOW_IN_PROCESS = 6 HOLD_IT = 7 LOCKED_BY_STRUCTURE_CHANGE = 8 REQUEST_READY_AND_FINISHED = 9
.



IMPORTING Parameters details for RSSM_MON_CHECK_RNR

I_RNR -

Data type: RSMONFACT-RNR
Optional: No
Call by Reference: No ( called with pass by value option)

I_IDOCNUM -

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

I_DATAPAKID -

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

I_IDOCTYP -

Data type: C
Default: 'D'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NO_CHECK -

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

I_REQNEWSTORNO -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_S_MINFO -

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

I_CHECK_PSA -

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

I_NO_PROCESS_WHEN_RED -

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

EXPORTING Parameters details for RSSM_MON_CHECK_RNR

E_S_INFOLIST -

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

E_S_MINFO -

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

E_T_MSG -

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

TABLES Parameters details for RSSM_MON_CHECK_RNR

L_T_ICUBES_EXT -

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

EXCEPTIONS details

NO_REQUEST_NUMBER -

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

PREVIOUS_WRONG -

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

SID_TO_LOW_FOR_CUBE - already further processed up to a higher SID

Data type:
Optional: No
Call by Reference: Yes

CANT_DROP_INDEX -

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

ENQUEUE_NOT_POSSIBLE -

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

BAD_INDEX -

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

DP_READY -

Data type:
Optional: No
Call by Reference: Yes

CUBE_LOCKED_BY_COMPRESSION -

Data type:
Optional: No
Call by Reference: Yes

LOAD_LOCKED_BY_MDDEL -

Data type:
Optional: No
Call by Reference: Yes

WRONG_CHECK -

Data type:
Optional: No
Call by Reference: Yes

LOCKED_BY_ENQUEUEMANAGER -

Data type:
Optional: No
Call by Reference: Yes

REQUEST_NUMBER_NOT_FOUND -

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

PACKAGE_IN_PSA_CONFIRM_IT -

Data type:
Optional: No
Call by Reference: Yes

DTP_IS_ACTIVE_FOR_PATH - A DTP is already active in this path

Data type:
Optional: No
Call by Reference: Yes

WRONG_DATAPAKID -

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

ALREDY_BEEN_PROCESSED -

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

REQUEST_IN_ARCHIVE -

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

NOW_IN_PROCESS -

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

HOLD_IT -

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

LOCKED_BY_STRUCTURE_CHANGE -

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

REQUEST_READY_AND_FINISHED -

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

Copy and paste ABAP code example for RSSM_MON_CHECK_RNR 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_i_rnr  TYPE RSMONFACT-RNR, "   
lv_e_s_infolist  TYPE RSSM_S_ISLGHIELISTBACK, "   
lt_l_t_icubes_ext  TYPE STANDARD TABLE OF RSMINFOICUBE, "   
lv_no_request_number  TYPE RSMINFOICUBE, "   
lv_previous_wrong  TYPE RSMINFOICUBE, "   
lv_sid_to_low_for_cube  TYPE RSMINFOICUBE, "   
lv_cant_drop_index  TYPE RSMINFOICUBE, "   
lv_enqueue_not_possible  TYPE RSMINFOICUBE, "   
lv_bad_index  TYPE RSMINFOICUBE, "   
lv_dp_ready  TYPE RSMINFOICUBE, "   
lv_cube_locked_by_compression  TYPE RSMINFOICUBE, "   
lv_load_locked_by_mddel  TYPE RSMINFOICUBE, "   
lv_wrong_check  TYPE RSMINFOICUBE, "   
lv_locked_by_enqueuemanager  TYPE RSMINFOICUBE, "   
lv_e_s_minfo  TYPE RSSM_S_MINFO, "   
lv_i_idocnum  TYPE RSMONFACT-IDOCNUM, "   
lv_request_number_not_found  TYPE RSMONFACT, "   
lv_package_in_psa_confirm_it  TYPE RSMONFACT, "   
lv_dtp_is_active_for_path  TYPE RSMONFACT, "   
lv_e_t_msg  TYPE RS_T_MSG, "   
lv_i_datapakid  TYPE RSMONFACT-DP_NR, "   
lv_wrong_datapakid  TYPE RSMONFACT, "   
lv_i_idoctyp  TYPE C, "   'D'
lv_alredy_been_processed  TYPE C, "   
lv_i_no_check  TYPE C, "   SPACE
lv_request_in_archive  TYPE C, "   
lv_i_reqnewstorno  TYPE C, "   SPACE
lv_now_in_process  TYPE C, "   
lv_hold_it  TYPE C, "   
lv_i_s_minfo  TYPE RSSM_S_MINFO, "   
lv_i_check_psa  TYPE C, "   SPACE
lv_locked_by_structure_change  TYPE C, "   
lv_i_no_process_when_red  TYPE C, "   SPACE
lv_request_ready_and_finished  TYPE C. "   

  CALL FUNCTION 'RSSM_MON_CHECK_RNR'  "Check request number
    EXPORTING
         I_RNR = lv_i_rnr
         I_IDOCNUM = lv_i_idocnum
         I_DATAPAKID = lv_i_datapakid
         I_IDOCTYP = lv_i_idoctyp
         I_NO_CHECK = lv_i_no_check
         I_REQNEWSTORNO = lv_i_reqnewstorno
         I_S_MINFO = lv_i_s_minfo
         I_CHECK_PSA = lv_i_check_psa
         I_NO_PROCESS_WHEN_RED = lv_i_no_process_when_red
    IMPORTING
         E_S_INFOLIST = lv_e_s_infolist
         E_S_MINFO = lv_e_s_minfo
         E_T_MSG = lv_e_t_msg
    TABLES
         L_T_ICUBES_EXT = lt_l_t_icubes_ext
    EXCEPTIONS
        NO_REQUEST_NUMBER = 1
        PREVIOUS_WRONG = 10
        SID_TO_LOW_FOR_CUBE = 11
        CANT_DROP_INDEX = 12
        ENQUEUE_NOT_POSSIBLE = 13
        BAD_INDEX = 14
        DP_READY = 15
        CUBE_LOCKED_BY_COMPRESSION = 16
        LOAD_LOCKED_BY_MDDEL = 17
        WRONG_CHECK = 18
        LOCKED_BY_ENQUEUEMANAGER = 19
        REQUEST_NUMBER_NOT_FOUND = 2
        PACKAGE_IN_PSA_CONFIRM_IT = 20
        DTP_IS_ACTIVE_FOR_PATH = 21
        WRONG_DATAPAKID = 3
        ALREDY_BEEN_PROCESSED = 4
        REQUEST_IN_ARCHIVE = 5
        NOW_IN_PROCESS = 6
        HOLD_IT = 7
        LOCKED_BY_STRUCTURE_CHANGE = 8
        REQUEST_READY_AND_FINISHED = 9
. " RSSM_MON_CHECK_RNR




ABAP code using 7.40 inline data declarations to call FM RSSM_MON_CHECK_RNR

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.

"SELECT single RNR FROM RSMONFACT INTO @DATA(ld_i_rnr).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single IDOCNUM FROM RSMONFACT INTO @DATA(ld_i_idocnum).
 
 
 
 
 
"SELECT single DP_NR FROM RSMONFACT INTO @DATA(ld_i_datapakid).
 
 
DATA(ld_i_idoctyp) = 'D'.
 
 
DATA(ld_i_no_check) = ' '.
 
 
DATA(ld_i_reqnewstorno) = ' '.
 
 
 
 
DATA(ld_i_check_psa) = ' '.
 
 
DATA(ld_i_no_process_when_red) = ' '.
 
 


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!