SAP CVE_QUEUE Function Module for









CVE_QUEUE is a standard cve queue SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 cve queue FM, simply by entering the name CVE_QUEUE into the relevant SAP transaction such as SE37 or SE38.

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



Function CVE_QUEUE 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 'CVE_QUEUE'"
EXPORTING
I_FISC_YEAR = "
I_FM_AREA = "
* I_F_ADDRESS = "
* I_F_FMAA = "
* I_FLG_ENQUEUE = "
* I_FLG_DEQUEUE = "
* I_FLG_GLOBAL = "

TABLES
* T_ADDRESSES = "
* T_FMAAS = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLFMKT_001 Derive Collective Expenditures Subsection in Budget
EXIT_SAPLFMKT_002 Do not use! Check of Eligibility of Cmmt Item Type in Cover Pool

IMPORTING Parameters details for CVE_QUEUE

I_FISC_YEAR -

Data type: FM01UD-GJAHR
Optional: No
Call by Reference: Yes

I_FM_AREA -

Data type: FM01UD-FIKRS
Optional: No
Call by Reference: Yes

I_F_ADDRESS -

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

I_F_FMAA -

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

I_FLG_ENQUEUE -

Data type: FMDY-XFELD
Optional: Yes
Call by Reference: Yes

I_FLG_DEQUEUE -

Data type: FMDY-XFELD
Optional: Yes
Call by Reference: Yes

I_FLG_GLOBAL -

Data type:
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for CVE_QUEUE

T_ADDRESSES -

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

T_FMAAS -

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

Copy and paste ABAP code example for CVE_QUEUE 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_fisc_year  TYPE FM01UD-GJAHR, "   
lt_t_addresses  TYPE STANDARD TABLE OF FMSLTRP, "   
lt_t_fmaas  TYPE STANDARD TABLE OF FMKT_T_FMAA_INT, "   
lv_i_fm_area  TYPE FM01UD-FIKRS, "   
lv_i_f_address  TYPE FMSLTRP, "   
lv_i_f_fmaa  TYPE FMKT_FMAA_INT, "   
lv_i_flg_enqueue  TYPE FMDY-XFELD, "   
lv_i_flg_dequeue  TYPE FMDY-XFELD, "   
lv_i_flg_global  TYPE FMDY. "   

  CALL FUNCTION 'CVE_QUEUE'  "
    EXPORTING
         I_FISC_YEAR = lv_i_fisc_year
         I_FM_AREA = lv_i_fm_area
         I_F_ADDRESS = lv_i_f_address
         I_F_FMAA = lv_i_f_fmaa
         I_FLG_ENQUEUE = lv_i_flg_enqueue
         I_FLG_DEQUEUE = lv_i_flg_dequeue
         I_FLG_GLOBAL = lv_i_flg_global
    TABLES
         T_ADDRESSES = lt_t_addresses
         T_FMAAS = lt_t_fmaas
. " CVE_QUEUE




ABAP code using 7.40 inline data declarations to call FM CVE_QUEUE

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 GJAHR FROM FM01UD INTO @DATA(ld_i_fisc_year).
 
 
 
"SELECT single FIKRS FROM FM01UD INTO @DATA(ld_i_fm_area).
 
 
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_enqueue).
 
"SELECT single XFELD FROM FMDY INTO @DATA(ld_i_flg_dequeue).
 
 


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!