SAP RSSM_MON_START_2ND_PROCESS Function Module for Launching events etc. after a successful or unsuccessful request









RSSM_MON_START_2ND_PROCESS is a standard rssm mon start 2nd process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Launching events etc. after a successful or unsuccessful request 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 start 2nd process FM, simply by entering the name RSSM_MON_START_2ND_PROCESS into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSM_MON_START_2ND_PROCESS 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_START_2ND_PROCESS'"Launching events etc. after a successful or unsuccessful request
EXPORTING
RNR = "
* GROUP_CALL = ' ' "
* DELETE_DONE = ' ' "
TSTATUS = "
SOURCE = "
OLTPSOURCE = "
LOGSYS = "
TYP = "
* GNR = ' ' "
* WRITE_TO_ODS = ' ' "
* WRITE_TO_CUBE = ' ' "
.



IMPORTING Parameters details for RSSM_MON_START_2ND_PROCESS

RNR -

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

GROUP_CALL -

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

DELETE_DONE -

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

TSTATUS -

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

SOURCE -

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

OLTPSOURCE -

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

LOGSYS -

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

TYP -

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

GNR -

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

WRITE_TO_ODS -

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

WRITE_TO_CUBE -

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

Copy and paste ABAP code example for RSSM_MON_START_2ND_PROCESS 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_rnr  TYPE RSREQDONE-RNR, "   
lv_group_call  TYPE CHAR1, "   SPACE
lv_delete_done  TYPE CHAR1, "   SPACE
lv_tstatus  TYPE RSREQDONE-TSTATUS, "   
lv_source  TYPE RSSELDONE-SOURCE, "   
lv_oltpsource  TYPE RSSELDONE-OLTPSOURCE, "   
lv_logsys  TYPE RSSELDONE-LOGSYS, "   
lv_typ  TYPE RSSELDONE-TYP, "   
lv_gnr  TYPE RSREQDONE-GNR, "   SPACE
lv_write_to_ods  TYPE CHAR1, "   SPACE
lv_write_to_cube  TYPE CHAR1. "   SPACE

  CALL FUNCTION 'RSSM_MON_START_2ND_PROCESS'  "Launching events etc. after a successful or unsuccessful request
    EXPORTING
         RNR = lv_rnr
         GROUP_CALL = lv_group_call
         DELETE_DONE = lv_delete_done
         TSTATUS = lv_tstatus
         SOURCE = lv_source
         OLTPSOURCE = lv_oltpsource
         LOGSYS = lv_logsys
         TYP = lv_typ
         GNR = lv_gnr
         WRITE_TO_ODS = lv_write_to_ods
         WRITE_TO_CUBE = lv_write_to_cube
. " RSSM_MON_START_2ND_PROCESS




ABAP code using 7.40 inline data declarations to call FM RSSM_MON_START_2ND_PROCESS

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 RSREQDONE INTO @DATA(ld_rnr).
 
DATA(ld_group_call) = ' '.
 
DATA(ld_delete_done) = ' '.
 
"SELECT single TSTATUS FROM RSREQDONE INTO @DATA(ld_tstatus).
 
"SELECT single SOURCE FROM RSSELDONE INTO @DATA(ld_source).
 
"SELECT single OLTPSOURCE FROM RSSELDONE INTO @DATA(ld_oltpsource).
 
"SELECT single LOGSYS FROM RSSELDONE INTO @DATA(ld_logsys).
 
"SELECT single TYP FROM RSSELDONE INTO @DATA(ld_typ).
 
"SELECT single GNR FROM RSREQDONE INTO @DATA(ld_gnr).
DATA(ld_gnr) = ' '.
 
DATA(ld_write_to_ods) = ' '.
 
DATA(ld_write_to_cube) = ' '.
 


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!