SAP RSSM_RSREQDONE_WRITE Function Module for Change RSREQDONE









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

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



Function RSSM_RSREQDONE_WRITE 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_RSREQDONE_WRITE'"Change RSREQDONE
EXPORTING
* I_RNR = "Request number for the data transfer
* I_S_RSREQDONE = "Monitor: Saving of the QM entries
I_METHOD = "Boolean
* I_ALL = "Boolean
* I_T_FIELDS = "
* I_WITH_DBCOMMIT = "Boolean
* I_SECOND_CONNECTION = ' ' "Character Field Length = 10

EXCEPTIONS
ERROR = 1 NOT_RELOADED_FULLY = 2
.



IMPORTING Parameters details for RSSM_RSREQDONE_WRITE

I_RNR - Request number for the data transfer

Data type: RSREQDONE-RNR
Optional: Yes
Call by Reference: Yes

I_S_RSREQDONE - Monitor: Saving of the QM entries

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

I_METHOD - Boolean

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

I_ALL - Boolean

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

I_T_FIELDS -

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

I_WITH_DBCOMMIT - Boolean

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

I_SECOND_CONNECTION - Character Field Length = 10

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

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: Yes

NOT_RELOADED_FULLY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSM_RSREQDONE_WRITE 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_error  TYPE STRING, "   
lv_i_rnr  TYPE RSREQDONE-RNR, "   
lv_i_s_rsreqdone  TYPE RSREQDONE, "   
lv_not_reloaded_fully  TYPE RSREQDONE, "   
lv_i_method  TYPE RS_BOOL, "   
lv_i_all  TYPE RS_BOOL, "   
lv_i_t_fields  TYPE RSSM1_T_FIELD, "   
lv_i_with_dbcommit  TYPE RS_BOOL, "   
lv_i_second_connection  TYPE DBCON_NAME. "   SPACE

  CALL FUNCTION 'RSSM_RSREQDONE_WRITE'  "Change RSREQDONE
    EXPORTING
         I_RNR = lv_i_rnr
         I_S_RSREQDONE = lv_i_s_rsreqdone
         I_METHOD = lv_i_method
         I_ALL = lv_i_all
         I_T_FIELDS = lv_i_t_fields
         I_WITH_DBCOMMIT = lv_i_with_dbcommit
         I_SECOND_CONNECTION = lv_i_second_connection
    EXCEPTIONS
        ERROR = 1
        NOT_RELOADED_FULLY = 2
. " RSSM_RSREQDONE_WRITE




ABAP code using 7.40 inline data declarations to call FM RSSM_RSREQDONE_WRITE

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_i_rnr).
 
 
 
 
 
 
 
DATA(ld_i_second_connection) = ' '.
 


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!