SAP RM_ALM_GLOBAL_MEMORY_WRITE Function Module for RM: Writing of Data in Global Memory









RM_ALM_GLOBAL_MEMORY_WRITE is a standard rm alm global memory 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 RM: Writing of Data in Global Memory 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 alm global memory write FM, simply by entering the name RM_ALM_GLOBAL_MEMORY_WRITE into the relevant SAP transaction such as SE37 or SE38.

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



Function RM_ALM_GLOBAL_MEMORY_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 'RM_ALM_GLOBAL_MEMORY_WRITE'"RM: Writing of Data in Global Memory
EXPORTING
* I_G_RPLANV = "
* I_G_SICHTID = "
* I_G_PHID = "
* I_G_LZB = "
* I_G_BUKRS = "
* I_G_VERDREGEL = "
* I_G_MODUS = "
* I_G_ONLY_CHAR = "
* I_G_DELETE_MPGPAR = ' ' "

TABLES
* I_GIT_PLANPAR = "
* I_GIT_PLANCHAR = "
* I_GIT_PLANPARLZB = "
* I_GIT_PLANPARLZB2 = "
* I_GIT_MPGPAR = "
.



IMPORTING Parameters details for RM_ALM_GLOBAL_MEMORY_WRITE

I_G_RPLANV -

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

I_G_SICHTID -

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

I_G_PHID -

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

I_G_LZB -

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

I_G_BUKRS -

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

I_G_VERDREGEL -

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

I_G_MODUS -

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

I_G_ONLY_CHAR -

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

I_G_DELETE_MPGPAR -

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

TABLES Parameters details for RM_ALM_GLOBAL_MEMORY_WRITE

I_GIT_PLANPAR -

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

I_GIT_PLANCHAR -

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

I_GIT_PLANPARLZB -

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

I_GIT_PLANPARLZB2 -

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

I_GIT_MPGPAR -

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

Copy and paste ABAP code example for RM_ALM_GLOBAL_MEMORY_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_i_g_rplanv  TYPE JBAPLANPAR-RPLANV, "   
lt_i_git_planpar  TYPE STANDARD TABLE OF JBAPLANPAR, "   
lv_i_g_sichtid  TYPE JBAPLANPAR-SICHTID, "   
lt_i_git_planchar  TYPE STANDARD TABLE OF JBAPHKMERK, "   
lv_i_g_phid  TYPE JBAPLANPAR-PHID, "   
lt_i_git_planparlzb  TYPE STANDARD TABLE OF JBAPLANPARLZB, "   
lv_i_g_lzb  TYPE JBAPLANV-LZB, "   
lt_i_git_planparlzb2  TYPE STANDARD TABLE OF JBAPLANPARLZB2, "   
lv_i_g_bukrs  TYPE JBAPLANV-BUKRS, "   
lt_i_git_mpgpar  TYPE STANDARD TABLE OF JBAMPGPAR, "   
lv_i_g_verdregel  TYPE JBAPLANV-VERDREGEL, "   
lv_i_g_modus  TYPE N, "   
lv_i_g_only_char  TYPE C, "   
lv_i_g_delete_mpgpar  TYPE C. "   ' '

  CALL FUNCTION 'RM_ALM_GLOBAL_MEMORY_WRITE'  "RM: Writing of Data in Global Memory
    EXPORTING
         I_G_RPLANV = lv_i_g_rplanv
         I_G_SICHTID = lv_i_g_sichtid
         I_G_PHID = lv_i_g_phid
         I_G_LZB = lv_i_g_lzb
         I_G_BUKRS = lv_i_g_bukrs
         I_G_VERDREGEL = lv_i_g_verdregel
         I_G_MODUS = lv_i_g_modus
         I_G_ONLY_CHAR = lv_i_g_only_char
         I_G_DELETE_MPGPAR = lv_i_g_delete_mpgpar
    TABLES
         I_GIT_PLANPAR = lt_i_git_planpar
         I_GIT_PLANCHAR = lt_i_git_planchar
         I_GIT_PLANPARLZB = lt_i_git_planparlzb
         I_GIT_PLANPARLZB2 = lt_i_git_planparlzb2
         I_GIT_MPGPAR = lt_i_git_mpgpar
. " RM_ALM_GLOBAL_MEMORY_WRITE




ABAP code using 7.40 inline data declarations to call FM RM_ALM_GLOBAL_MEMORY_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 RPLANV FROM JBAPLANPAR INTO @DATA(ld_i_g_rplanv).
 
 
"SELECT single SICHTID FROM JBAPLANPAR INTO @DATA(ld_i_g_sichtid).
 
 
"SELECT single PHID FROM JBAPLANPAR INTO @DATA(ld_i_g_phid).
 
 
"SELECT single LZB FROM JBAPLANV INTO @DATA(ld_i_g_lzb).
 
 
"SELECT single BUKRS FROM JBAPLANV INTO @DATA(ld_i_g_bukrs).
 
 
"SELECT single VERDREGEL FROM JBAPLANV INTO @DATA(ld_i_g_verdregel).
 
 
 
DATA(ld_i_g_delete_mpgpar) = ' '.
 


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!