SAP QC06_QCVMT_MEM_GET Function Module for Retrieval of a QCVMT record from the function group's global memory









QC06_QCVMT_MEM_GET is a standard qc06 qcvmt mem get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Retrieval of a QCVMT record from the function group's 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 qc06 qcvmt mem get FM, simply by entering the name QC06_QCVMT_MEM_GET into the relevant SAP transaction such as SE37 or SE38.

Function Group: QC06
Program Name: SAPLQC06
Main Program:
Appliation area: Q
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function QC06_QCVMT_MEM_GET 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 'QC06_QCVMT_MEM_GET'"Retrieval of a QCVMT record from the function group's global memory
EXPORTING
* I_MANDANT = SY-MANDT "Client
I_CTYP = "Certificate type
I_VORLNR = "Reference number
I_VERSION = "Version
I_BLOCKNR = "Block number
I_MERKMALNR = "Characteristic number
* I_SPRACHE = SY-LANGU "Language

IMPORTING
E_QCVMTVB = "QCVMT work area including UPSL

EXCEPTIONS
X_NO_DATA_FOUND = 1
.



IMPORTING Parameters details for QC06_QCVMT_MEM_GET

I_MANDANT - Client

Data type: QCVMT-MANDANT
Default: SY-MANDT
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_CTYP - Certificate type

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

I_VORLNR - Reference number

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

I_VERSION - Version

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

I_BLOCKNR - Block number

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

I_MERKMALNR - Characteristic number

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

I_SPRACHE - Language

Data type: QCVMT-SPRACHE
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for QC06_QCVMT_MEM_GET

E_QCVMTVB - QCVMT work area including UPSL

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

EXCEPTIONS details

X_NO_DATA_FOUND - Data record not found

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

Copy and paste ABAP code example for QC06_QCVMT_MEM_GET 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_e_qcvmtvb  TYPE QCVMTVB, "   
lv_i_mandant  TYPE QCVMT-MANDANT, "   SY-MANDT
lv_x_no_data_found  TYPE QCVMT, "   
lv_i_ctyp  TYPE QCVMT-CTYP, "   
lv_i_vorlnr  TYPE QCVMT-VORLNR, "   
lv_i_version  TYPE QCVMT-VERSION, "   
lv_i_blocknr  TYPE QCVMT-BLOCKNR, "   
lv_i_merkmalnr  TYPE QCVMT-MERKMALNR, "   
lv_i_sprache  TYPE QCVMT-SPRACHE. "   SY-LANGU

  CALL FUNCTION 'QC06_QCVMT_MEM_GET'  "Retrieval of a QCVMT record from the function group's global memory
    EXPORTING
         I_MANDANT = lv_i_mandant
         I_CTYP = lv_i_ctyp
         I_VORLNR = lv_i_vorlnr
         I_VERSION = lv_i_version
         I_BLOCKNR = lv_i_blocknr
         I_MERKMALNR = lv_i_merkmalnr
         I_SPRACHE = lv_i_sprache
    IMPORTING
         E_QCVMTVB = lv_e_qcvmtvb
    EXCEPTIONS
        X_NO_DATA_FOUND = 1
. " QC06_QCVMT_MEM_GET




ABAP code using 7.40 inline data declarations to call FM QC06_QCVMT_MEM_GET

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 MANDANT FROM QCVMT INTO @DATA(ld_i_mandant).
DATA(ld_i_mandant) = SY-MANDT.
 
 
"SELECT single CTYP FROM QCVMT INTO @DATA(ld_i_ctyp).
 
"SELECT single VORLNR FROM QCVMT INTO @DATA(ld_i_vorlnr).
 
"SELECT single VERSION FROM QCVMT INTO @DATA(ld_i_version).
 
"SELECT single BLOCKNR FROM QCVMT INTO @DATA(ld_i_blocknr).
 
"SELECT single MERKMALNR FROM QCVMT INTO @DATA(ld_i_merkmalnr).
 
"SELECT single SPRACHE FROM QCVMT INTO @DATA(ld_i_sprache).
DATA(ld_i_sprache) = SY-LANGU.
 


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!