SAP ALM_LIST_WRITE_TO_MEMORY_EA Function Module for ALM: Write to the global memory









ALM_LIST_WRITE_TO_MEMORY_EA is a standard alm list write to memory ea SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ALM: Write to the 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 alm list write to memory ea FM, simply by entering the name ALM_LIST_WRITE_TO_MEMORY_EA into the relevant SAP transaction such as SE37 or SE38.

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



Function ALM_LIST_WRITE_TO_MEMORY_EA 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 'ALM_LIST_WRITE_TO_MEMORY_EA'"ALM: Write to the global memory
EXPORTING
* I_G_JBRGAPPARAMETER = "
* I_G_KFVOL_IC = "Amount of external kf for 'Individual Calculations'
* I_G_ACT_KFVOL_IC = "Active amount of external kf for 'Individual Calculations'
* I_G_PAS_KFVOL_IC = "Passive amount of external kf for 'Individual Calculations'
* I_GIS_CONTROLS = "
* I_GIS_SETTINGS = "
* I_G_OBJNR = "
* I_G_BUKRS = "Company Code
* I_G_SFGDT = "
* I_G_POSVOL_IC = "Position Volume for 'Individual Calculations'
* I_G_ACT_POSVOL_IC = "Active position Volume for 'Individual Calculations'
* I_G_PAS_POSVOL_IC = "Passive position Volume for 'Individual Calculations'

TABLES
* I_GIT_JBRREPGAP = "
* I_GIT_JBRNAMEDAT = "
* I_GIT_JBRGAPZWERG_ALV = "IS-B: RM Gap Interim Result for ALV Display
* I_GIT_JBRREPGAP_SIM = "
* I_GIT_JBRREPGAP_FAELL = "
* I_GIT_JBRPHAMORTRES = "
* I_GIT_JBRPHAMORTRES_SIM = "
* I_GIT_JBRPHAMORTRES_FAELL = "
* I_GIT_JBRDATE = "
* I_GIT_JBRSZTAB = "
* I_GIT_JBRPHBAUM = "
.



IMPORTING Parameters details for ALM_LIST_WRITE_TO_MEMORY_EA

I_G_JBRGAPPARAMETER -

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

I_G_KFVOL_IC - Amount of external kf for 'Individual Calculations'

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

I_G_ACT_KFVOL_IC - Active amount of external kf for 'Individual Calculations'

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

I_G_PAS_KFVOL_IC - Passive amount of external kf for 'Individual Calculations'

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

I_GIS_CONTROLS -

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

I_GIS_SETTINGS -

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

I_G_OBJNR -

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

I_G_BUKRS - Company Code

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

I_G_SFGDT -

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

I_G_POSVOL_IC - Position Volume for 'Individual Calculations'

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

I_G_ACT_POSVOL_IC - Active position Volume for 'Individual Calculations'

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

I_G_PAS_POSVOL_IC - Passive position Volume for 'Individual Calculations'

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

TABLES Parameters details for ALM_LIST_WRITE_TO_MEMORY_EA

I_GIT_JBRREPGAP -

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

I_GIT_JBRNAMEDAT -

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

I_GIT_JBRGAPZWERG_ALV - IS-B: RM Gap Interim Result for ALV Display

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

I_GIT_JBRREPGAP_SIM -

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

I_GIT_JBRREPGAP_FAELL -

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

I_GIT_JBRPHAMORTRES -

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

I_GIT_JBRPHAMORTRES_SIM -

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

I_GIT_JBRPHAMORTRES_FAELL -

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

I_GIT_JBRDATE -

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

I_GIT_JBRSZTAB -

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

I_GIT_JBRPHBAUM -

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

Copy and paste ABAP code example for ALM_LIST_WRITE_TO_MEMORY_EA 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:
lt_i_git_jbrrepgap  TYPE STANDARD TABLE OF JBRREPGAP, "   
lv_i_g_jbrgapparameter  TYPE JBRGAPPARAMETER, "   
lv_i_g_kfvol_ic  TYPE JBRPSATZ, "   
lt_i_git_jbrnamedat  TYPE STANDARD TABLE OF JBRNAMEDAT, "   
lv_i_g_act_kfvol_ic  TYPE JBRPSATZ, "   
lt_i_git_jbrgapzwerg_alv  TYPE STANDARD TABLE OF JBRGAPZWERG_ALV, "   
lv_i_g_pas_kfvol_ic  TYPE JBRPSATZ, "   
lv_i_gis_controls  TYPE ALM99_CONTROLS_TYP, "   
lt_i_git_jbrrepgap_sim  TYPE STANDARD TABLE OF JBRREPGAP, "   
lv_i_gis_settings  TYPE ALM99_SETTINGS_TYP, "   
lt_i_git_jbrrepgap_faell  TYPE STANDARD TABLE OF JBRREPGAP, "   
lv_i_g_objnr  TYPE JBROBJGAP-OBJNR, "   
lt_i_git_jbrphamortres  TYPE STANDARD TABLE OF JBRPHAMORTRES, "   
lv_i_g_bukrs  TYPE JBRGAPBESTOBJ-BUKRS, "   
lt_i_git_jbrphamortres_sim  TYPE STANDARD TABLE OF JBRPHAMORTRES, "   
lv_i_g_sfgdt  TYPE TVS_SFGDT_TYP, "   
lt_i_git_jbrphamortres_faell  TYPE STANDARD TABLE OF JBRPHAMORTRES, "   
lt_i_git_jbrdate  TYPE STANDARD TABLE OF JBRDATE, "   
lv_i_g_posvol_ic  TYPE JBRGAPVOLAKT, "   
lt_i_git_jbrsztab  TYPE STANDARD TABLE OF JBRSZTAB, "   
lv_i_g_act_posvol_ic  TYPE JBRGAPVOLAKT, "   
lt_i_git_jbrphbaum  TYPE STANDARD TABLE OF JBRPHBAUM, "   
lv_i_g_pas_posvol_ic  TYPE JBRGAPVOLPAS. "   

  CALL FUNCTION 'ALM_LIST_WRITE_TO_MEMORY_EA'  "ALM: Write to the global memory
    EXPORTING
         I_G_JBRGAPPARAMETER = lv_i_g_jbrgapparameter
         I_G_KFVOL_IC = lv_i_g_kfvol_ic
         I_G_ACT_KFVOL_IC = lv_i_g_act_kfvol_ic
         I_G_PAS_KFVOL_IC = lv_i_g_pas_kfvol_ic
         I_GIS_CONTROLS = lv_i_gis_controls
         I_GIS_SETTINGS = lv_i_gis_settings
         I_G_OBJNR = lv_i_g_objnr
         I_G_BUKRS = lv_i_g_bukrs
         I_G_SFGDT = lv_i_g_sfgdt
         I_G_POSVOL_IC = lv_i_g_posvol_ic
         I_G_ACT_POSVOL_IC = lv_i_g_act_posvol_ic
         I_G_PAS_POSVOL_IC = lv_i_g_pas_posvol_ic
    TABLES
         I_GIT_JBRREPGAP = lt_i_git_jbrrepgap
         I_GIT_JBRNAMEDAT = lt_i_git_jbrnamedat
         I_GIT_JBRGAPZWERG_ALV = lt_i_git_jbrgapzwerg_alt
         I_GIT_JBRREPGAP_SIM = lt_i_git_jbrrepgap_sim
         I_GIT_JBRREPGAP_FAELL = lt_i_git_jbrrepgap_faell
         I_GIT_JBRPHAMORTRES = lt_i_git_jbrphamortres
         I_GIT_JBRPHAMORTRES_SIM = lt_i_git_jbrphamortres_sim
         I_GIT_JBRPHAMORTRES_FAELL = lt_i_git_jbrphamortres_faell
         I_GIT_JBRDATE = lt_i_git_jbrdate
         I_GIT_JBRSZTAB = lt_i_git_jbrsztab
         I_GIT_JBRPHBAUM = lt_i_git_jbrphbaum
. " ALM_LIST_WRITE_TO_MEMORY_EA




ABAP code using 7.40 inline data declarations to call FM ALM_LIST_WRITE_TO_MEMORY_EA

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 OBJNR FROM JBROBJGAP INTO @DATA(ld_i_g_objnr).
 
 
"SELECT single BUKRS FROM JBRGAPBESTOBJ INTO @DATA(ld_i_g_bukrs).
 
 
 
 
 
 
 
 
 
 


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!