SAP RSSM_REQUEST_PROTOKOLL Function Module for Extractor for request times









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

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



Function RSSM_REQUEST_PROTOKOLL 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_REQUEST_PROTOKOLL'"Extractor for request times
EXPORTING
* I_RNR = "Request number (space only, if action 200!)
* I_BOOK = 'X' "Write the log to reporting ICube
* I_WITH_COMMIT = 'X' "Boolean

CHANGING
* T_REQPROT = "

EXCEPTIONS
REQUEST_NOT_OK = 1 WRONG_NUMBER_OF_PARAMETERS = 2 NO_PROTOKOLL_WISHED = 3 PROTOKOLLING_ERROR = 4
.



IMPORTING Parameters details for RSSM_REQUEST_PROTOKOLL

I_RNR - Request number (space only, if action 200!)

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

I_BOOK - Write the log to reporting ICube

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

I_WITH_COMMIT - Boolean

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

CHANGING Parameters details for RSSM_REQUEST_PROTOKOLL

T_REQPROT -

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

EXCEPTIONS details

REQUEST_NOT_OK - Request has no overall status ok

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

WRONG_NUMBER_OF_PARAMETERS - Request and table empty

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

NO_PROTOKOLL_WISHED - No protocol for the desired InfoCubes

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

PROTOKOLLING_ERROR - Error during logging

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

Copy and paste ABAP code example for RSSM_REQUEST_PROTOKOLL 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 RSREQDONE-RNR, "   
lv_t_reqprot  TYPE RSSM_T_REQPROT, "   
lv_request_not_ok  TYPE RSSM_T_REQPROT, "   
lv_i_book  TYPE RS_BOOL, "   'X'
lv_wrong_number_of_parameters  TYPE RS_BOOL, "   
lv_i_with_commit  TYPE RS_BOOL, "   'X'
lv_no_protokoll_wished  TYPE RS_BOOL, "   
lv_protokolling_error  TYPE RS_BOOL. "   

  CALL FUNCTION 'RSSM_REQUEST_PROTOKOLL'  "Extractor for request times
    EXPORTING
         I_RNR = lv_i_rnr
         I_BOOK = lv_i_book
         I_WITH_COMMIT = lv_i_with_commit
    CHANGING
         T_REQPROT = lv_t_reqprot
    EXCEPTIONS
        REQUEST_NOT_OK = 1
        WRONG_NUMBER_OF_PARAMETERS = 2
        NO_PROTOKOLL_WISHED = 3
        PROTOKOLLING_ERROR = 4
. " RSSM_REQUEST_PROTOKOLL




ABAP code using 7.40 inline data declarations to call FM RSSM_REQUEST_PROTOKOLL

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_book) = 'X'.
 
 
DATA(ld_i_with_commit) = 'X'.
 
 
 


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!