SAP /SCWM/QUEUE_CONTAINER_SHOW Function Module for Obsolete: Display Queue Container (Generically)









/SCWM/QUEUE_CONTAINER_SHOW is a standard /scwm/queue container show SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Obsolete: Display Queue Container (Generically) 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 /scwm/queue container show FM, simply by entering the name /SCWM/QUEUE_CONTAINER_SHOW into the relevant SAP transaction such as SE37 or SE38.

Function Group: /SCWM/QRFC_TOOLS
Program Name: /SCWM/SAPLQRFC_TOOLS
Main Program: /SCWM/SAPLQRFC_TOOLS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function /SCWM/QUEUE_CONTAINER_SHOW 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 '/SCWM/QUEUE_CONTAINER_SHOW'"Obsolete: Display Queue Container (Generically)
EXPORTING
I_QTYPE = "Internes ABAP-Systemfeld
I_FNAME = "Name des Funktionsbausteins
* I_DEST = "logische Destination (Wird bei Funktionsaufruf angegeben)
I_TID = "eindeutige Transaktions-Id (LUW->COMMIT WORK).
I_FNUM = "Counter innerhalb einer Transaktion (LUW).
I_QNAME = "Name einer tRFC-Queue
* I_REGEN_FM = ' ' "Regenerate interface FM (Bypass buffer)

EXCEPTIONS
NEW_FM_CREATED = 1 FM_EXIST_IN_WRONG_AREA = 2 FM_NOT_PROVIDED = 3 FM_DOES_NOT_EXIST = 4
.



IMPORTING Parameters details for /SCWM/QUEUE_CONTAINER_SHOW

I_QTYPE - Internes ABAP-Systemfeld

Data type: SY-INPUT
Optional: No
Call by Reference: Yes

I_FNAME - Name des Funktionsbausteins

Data type: RS38L-NAME
Optional: No
Call by Reference: Yes

I_DEST - logische Destination (Wird bei Funktionsaufruf angegeben)

Data type: TRFCQOUT-DEST
Optional: Yes
Call by Reference: Yes

I_TID - eindeutige Transaktions-Id (LUW->COMMIT WORK).

Data type: ARFCTID
Optional: No
Call by Reference: Yes

I_FNUM - Counter innerhalb einer Transaktion (LUW).

Data type: ARFCSSTATE-ARFCLUWCNT
Optional: No
Call by Reference: Yes

I_QNAME - Name einer tRFC-Queue

Data type: TRFCQOUT-QNAME
Optional: No
Call by Reference: Yes

I_REGEN_FM - Regenerate interface FM (Bypass buffer)

Data type: FLAG
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NEW_FM_CREATED - New function created; Pls re-submit

Data type:
Optional: No
Call by Reference: Yes

FM_EXIST_IN_WRONG_AREA - Function to be created already exist but in differen Group

Data type:
Optional: No
Call by Reference: Yes

FM_NOT_PROVIDED - No Function name provided

Data type:
Optional: No
Call by Reference: Yes

FM_DOES_NOT_EXIST - Function does not exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /SCWM/QUEUE_CONTAINER_SHOW 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_new_fm_created  TYPE SY, "   
lv_i_fname  TYPE RS38L-NAME, "   
lv_fm_exist_in_wrong_area  TYPE RS38L, "   
lv_i_dest  TYPE TRFCQOUT-DEST, "   
lv_fm_not_provided  TYPE TRFCQOUT, "   
lv_i_tid  TYPE ARFCTID, "   
lv_fm_does_not_exist  TYPE ARFCTID, "   
lv_i_fnum  TYPE ARFCSSTATE-ARFCLUWCNT, "   
lv_i_qname  TYPE TRFCQOUT-QNAME, "   
lv_i_regen_fm  TYPE FLAG. "   SPACE

  CALL FUNCTION '/SCWM/QUEUE_CONTAINER_SHOW'  "Obsolete: Display Queue Container (Generically)
    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
         I_REGEN_FM = lv_i_regen_fm
    EXCEPTIONS
        NEW_FM_CREATED = 1
        FM_EXIST_IN_WRONG_AREA = 2
        FM_NOT_PROVIDED = 3
        FM_DOES_NOT_EXIST = 4
. " /SCWM/QUEUE_CONTAINER_SHOW




ABAP code using 7.40 inline data declarations to call FM /SCWM/QUEUE_CONTAINER_SHOW

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).
 
DATA(ld_i_regen_fm) = ' '.
 


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!