SAP RM_RS_UPLOAD Function Module for Uploading backflush info from RS headers









RM_RS_UPLOAD is a standard rm rs upload SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Uploading backflush info from RS headers 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 rm rs upload FM, simply by entering the name RM_RS_UPLOAD into the relevant SAP transaction such as SE37 or SE38.

Function Group: RMRF
Program Name: SAPLRMRF
Main Program:
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RM_RS_UPLOAD 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 'RM_RS_UPLOAD'"Uploading backflush info from RS headers
EXPORTING
* I_KZWDH = ' ' "Ind.: Repeat run yes ('X') / no (' ')
* I_KZAFP = ' ' "Ind.: Detailed error log yes ('X') / no (' ')

TABLES
I_SBBDE = "Table for backflush data
I_SSBDE = "Table for serial numbers
E_SVBDE = "Table for posting status
E_SFBDE = "
.



IMPORTING Parameters details for RM_RS_UPLOAD

I_KZWDH - Ind.: Repeat run yes ('X') / no (' ')

Data type: RM61F-SELEKT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_KZAFP - Ind.: Detailed error log yes ('X') / no (' ')

Data type: RM61F-SELEKT
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RM_RS_UPLOAD

I_SBBDE - Table for backflush data

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

I_SSBDE - Table for serial numbers

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

E_SVBDE - Table for posting status

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

E_SFBDE -

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

Copy and paste ABAP code example for RM_RS_UPLOAD 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_kzwdh  TYPE RM61F-SELEKT, "   ' '
lt_i_sbbde  TYPE STANDARD TABLE OF SBBDE, "   
lv_i_kzafp  TYPE RM61F-SELEKT, "   ' '
lt_i_ssbde  TYPE STANDARD TABLE OF SSBDE, "   
lt_e_svbde  TYPE STANDARD TABLE OF SVBDE, "   
lt_e_sfbde  TYPE STANDARD TABLE OF SFBDE. "   

  CALL FUNCTION 'RM_RS_UPLOAD'  "Uploading backflush info from RS headers
    EXPORTING
         I_KZWDH = lv_i_kzwdh
         I_KZAFP = lv_i_kzafp
    TABLES
         I_SBBDE = lt_i_sbbde
         I_SSBDE = lt_i_ssbde
         E_SVBDE = lt_e_svbde
         E_SFBDE = lt_e_sfbde
. " RM_RS_UPLOAD




ABAP code using 7.40 inline data declarations to call FM RM_RS_UPLOAD

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 SELEKT FROM RM61F INTO @DATA(ld_i_kzwdh).
DATA(ld_i_kzwdh) = ' '.
 
 
"SELECT single SELEKT FROM RM61F INTO @DATA(ld_i_kzafp).
DATA(ld_i_kzafp) = ' '.
 
 
 
 


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!