SAP CIF_QUEUE_DISPLAY Function Module for NOTRANSL: Anzeige von Queues









CIF_QUEUE_DISPLAY is a standard cif queue display 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: Anzeige von Queues 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 cif queue display FM, simply by entering the name CIF_QUEUE_DISPLAY into the relevant SAP transaction such as SE37 or SE38.

Function Group: CFQD
Program Name: SAPLCFQD
Main Program: SAPLCFQD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function CIF_QUEUE_DISPLAY 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 'CIF_QUEUE_DISPLAY'"NOTRANSL: Anzeige von Queues
EXPORTING
I_QTYPE = "ABAP System Field: Internal Use
I_FNAME = "Name of Function Module
I_DEST = "Logical Destination (Specified When Function Is Called)
I_TID = "Unique Transaction ID (LUW -> COMMIT WORK)
I_FNUM = "Counter within a transaction (LUW)
I_QNAME = "Name of tRFC queue

EXCEPTIONS
NO_AUTHORITY = 1 NO_REMOTE_FM = 2 WRONG_DISPLAY_FM = 3
.



IMPORTING Parameters details for CIF_QUEUE_DISPLAY

I_QTYPE - ABAP System Field: Internal Use

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

I_FNAME - Name of Function Module

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

I_DEST - Logical Destination (Specified When Function Is Called)

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

I_TID - Unique Transaction ID (LUW -> COMMIT WORK)

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

I_FNUM - Counter within a transaction (LUW)

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

I_QNAME - Name of tRFC queue

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

EXCEPTIONS details

NO_AUTHORITY - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

NO_REMOTE_FM - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

WRONG_DISPLAY_FM - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CIF_QUEUE_DISPLAY 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_qtype  TYPE SY-INPUT, "   
lv_no_authority  TYPE SY, "   
lv_i_fname  TYPE RS38L-NAME, "   
lv_no_remote_fm  TYPE RS38L, "   
lv_i_dest  TYPE TRFCQOUT-DEST, "   
lv_wrong_display_fm  TYPE TRFCQOUT, "   
lv_i_tid  TYPE ARFCTID, "   
lv_i_fnum  TYPE ARFCSSTATE-ARFCLUWCNT, "   
lv_i_qname  TYPE TRFCQOUT-QNAME. "   

  CALL FUNCTION 'CIF_QUEUE_DISPLAY'  "NOTRANSL: Anzeige von Queues
    EXPORTING
         I_QTYPE = lv_i_qtype
         I_FNAME = lv_i_fname
         I_DEST = lv_i_dest
         I_TID = lv_i_tid
         I_FNUM = lv_i_fnum
         I_QNAME = lv_i_qname
    EXCEPTIONS
        NO_AUTHORITY = 1
        NO_REMOTE_FM = 2
        WRONG_DISPLAY_FM = 3
. " CIF_QUEUE_DISPLAY




ABAP code using 7.40 inline data declarations to call FM CIF_QUEUE_DISPLAY

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 INPUT FROM SY INTO @DATA(ld_i_qtype).
 
 
"SELECT single NAME FROM RS38L INTO @DATA(ld_i_fname).
 
 
"SELECT single DEST FROM TRFCQOUT INTO @DATA(ld_i_dest).
 
 
 
"SELECT single ARFCLUWCNT FROM ARFCSSTATE INTO @DATA(ld_i_fnum).
 
"SELECT single QNAME FROM TRFCQOUT INTO @DATA(ld_i_qname).
 


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!