SAP QLMSM_GET_MEMORYTAB Function Module for NOTRANSL: Liest die Daten aus dem Memory
QLMSM_GET_MEMORYTAB is a standard qlmsm get memorytab SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Liest die Daten aus dem 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 qlmsm get memorytab FM, simply by entering the name QLMSM_GET_MEMORYTAB into the relevant SAP transaction such as SE37 or SE38.
Function Group: QLMSM
Program Name: SAPLQLMSM
Main Program: SAPLQLMSM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function QLMSM_GET_MEMORYTAB 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 'QLMSM_GET_MEMORYTAB'"NOTRANSL: Liest die Daten aus dem Memory.
EXPORTING
* I_PRUEFLOS = "Inspection Lot Number
* I_VORGLFNR = "Current Node Number from Order Counter APLZL
* I_MERKNR = "Inspection characteristic number
* I_ENQUEUED = "
* I_NO_DB_ACCESS = "
* I_QALS = "Inspection Lot Record
* I_PROBENR = "Sample Number
IMPORTING
E_MEMORYLINE_MS = "Memory Line for Multiple Specifications
E_MEMORYTAB_MS = "Memory Table for Multiple Specification
EXCEPTIONS
WRONG_PARAMETERS = 1 NOT_FOUND = 2 ENQUEUE_NOT_POSSIBLE = 3
IMPORTING Parameters details for QLMSM_GET_MEMORYTAB
I_PRUEFLOS - Inspection Lot Number
Data type: QPLOSOptional: Yes
Call by Reference: Yes
I_VORGLFNR - Current Node Number from Order Counter APLZL
Data type: QLFNKNOptional: Yes
Call by Reference: Yes
I_MERKNR - Inspection characteristic number
Data type: QMERKNRPOptional: Yes
Call by Reference: Yes
I_ENQUEUED -
Data type: QKZOptional: Yes
Call by Reference: Yes
I_NO_DB_ACCESS -
Data type: QKZOptional: Yes
Call by Reference: Yes
I_QALS - Inspection Lot Record
Data type: QALSOptional: Yes
Call by Reference: Yes
I_PROBENR - Sample Number
Data type: QPROBENROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for QLMSM_GET_MEMORYTAB
E_MEMORYLINE_MS - Memory Line for Multiple Specifications
Data type: QMEMORY_MSOptional: No
Call by Reference: Yes
E_MEMORYTAB_MS - Memory Table for Multiple Specification
Data type: Q_MEMORYTAB_MSOptional: No
Call by Reference: Yes
EXCEPTIONS details
WRONG_PARAMETERS -
Data type:Optional: No
Call by Reference: Yes
NOT_FOUND - Record Not Found
Data type:Optional: No
Call by Reference: Yes
ENQUEUE_NOT_POSSIBLE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for QLMSM_GET_MEMORYTAB 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_prueflos | TYPE QPLOS, " | |||
| lv_e_memoryline_ms | TYPE QMEMORY_MS, " | |||
| lv_wrong_parameters | TYPE QMEMORY_MS, " | |||
| lv_not_found | TYPE QMEMORY_MS, " | |||
| lv_i_vorglfnr | TYPE QLFNKN, " | |||
| lv_e_memorytab_ms | TYPE Q_MEMORYTAB_MS, " | |||
| lv_i_merknr | TYPE QMERKNRP, " | |||
| lv_enqueue_not_possible | TYPE QMERKNRP, " | |||
| lv_i_enqueued | TYPE QKZ, " | |||
| lv_i_no_db_access | TYPE QKZ, " | |||
| lv_i_qals | TYPE QALS, " | |||
| lv_i_probenr | TYPE QPROBENR. " |
|   CALL FUNCTION 'QLMSM_GET_MEMORYTAB' "NOTRANSL: Liest die Daten aus dem Memory |
| EXPORTING | ||
| I_PRUEFLOS | = lv_i_prueflos | |
| I_VORGLFNR | = lv_i_vorglfnr | |
| I_MERKNR | = lv_i_merknr | |
| I_ENQUEUED | = lv_i_enqueued | |
| I_NO_DB_ACCESS | = lv_i_no_db_access | |
| I_QALS | = lv_i_qals | |
| I_PROBENR | = lv_i_probenr | |
| IMPORTING | ||
| E_MEMORYLINE_MS | = lv_e_memoryline_ms | |
| E_MEMORYTAB_MS | = lv_e_memorytab_ms | |
| EXCEPTIONS | ||
| WRONG_PARAMETERS = 1 | ||
| NOT_FOUND = 2 | ||
| ENQUEUE_NOT_POSSIBLE = 3 | ||
| . " QLMSM_GET_MEMORYTAB | ||
ABAP code using 7.40 inline data declarations to call FM QLMSM_GET_MEMORYTAB
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.Search for further information about these or an SAP related objects