SAP SCWB_API_CINST_QUEUE_GET Function Module for









SCWB_API_CINST_QUEUE_GET is a standard scwb api cinst queue get 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 scwb api cinst queue get FM, simply by entering the name SCWB_API_CINST_QUEUE_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function SCWB_API_CINST_QUEUE_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 'SCWB_API_CINST_QUEUE_GET'"
EXPORTING
* IV_REQID = "
* IV_PREPROC_QUEUE = 'X' "
* IV_POSTPROC_QUEUE = 'X' "
* IV_CONSIDER_NOTE_STATUS = ' ' "
* IV_ONLINE_DOWNLOAD_POSSIBLE = ' ' "
* IV_DESTINATION = ' ' "

IMPORTING
EV_RC = "
ES_MSG = "
ET_MSG = "
ET_NOTES_DOWNLOAD = "
ET_NOTES_IMPL = "
ET_MANUAL_ACTIVITIES = "

TABLES
IT_NOTES = "
* ET_MISSING_NOTES = "
* ET_INVALID_NOTES = "
IT_COMPONENT_VECTOR_TARGET = "
* IT_COMPONENT_VECTOR_CURRENT = "
.



IMPORTING Parameters details for SCWB_API_CINST_QUEUE_GET

IV_REQID -

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

IV_PREPROC_QUEUE -

Data type: BOOLE_D
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_POSTPROC_QUEUE -

Data type: BOOLE_D
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_CONSIDER_NOTE_STATUS -

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

IV_ONLINE_DOWNLOAD_POSSIBLE -

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

IV_DESTINATION -

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

EXPORTING Parameters details for SCWB_API_CINST_QUEUE_GET

EV_RC -

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

ES_MSG -

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

ET_MSG -

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

ET_NOTES_DOWNLOAD -

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

ET_NOTES_IMPL -

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

ET_MANUAL_ACTIVITIES -

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

TABLES Parameters details for SCWB_API_CINST_QUEUE_GET

IT_NOTES -

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

ET_MISSING_NOTES -

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

ET_INVALID_NOTES -

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

IT_COMPONENT_VECTOR_TARGET -

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

IT_COMPONENT_VECTOR_CURRENT -

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

Copy and paste ABAP code example for SCWB_API_CINST_QUEUE_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_ev_rc  TYPE I, "   
lt_it_notes  TYPE STANDARD TABLE OF SCWB_API_NOTENUMBER, "   
lv_iv_reqid  TYPE SCWB_REQUEST_ID, "   
lv_es_msg  TYPE SCWB_API_MSG, "   
lt_et_missing_notes  TYPE STANDARD TABLE OF SCWB_API_NOTENUMBER, "   
lv_iv_preproc_queue  TYPE BOOLE_D, "   'X'
lv_et_msg  TYPE SCWB_API_T_MSG, "   
lt_et_invalid_notes  TYPE STANDARD TABLE OF SCWB_API_NOTENUMBER, "   
lv_iv_postproc_queue  TYPE BOOLE_D, "   'X'
lv_et_notes_download  TYPE SCWB_API_T_NOTENUMBER, "   
lv_iv_consider_note_status  TYPE BOOLE_D, "   SPACE
lt_it_component_vector_target  TYPE STANDARD TABLE OF SCWB_API_COMP_VECTOR, "   
lv_et_notes_impl  TYPE SCWB_API_T_NOTENUMBER, "   
lt_it_component_vector_current  TYPE STANDARD TABLE OF SCWB_API_COMP_VECTOR, "   
lv_iv_online_download_possible  TYPE BOOLE_D, "   SPACE
lv_iv_destination  TYPE RFCDEST, "   SPACE
lv_et_manual_activities  TYPE SCWB_API_T_CORRECTION_INSTR. "   

  CALL FUNCTION 'SCWB_API_CINST_QUEUE_GET'  "
    EXPORTING
         IV_REQID = lv_iv_reqid
         IV_PREPROC_QUEUE = lv_iv_preproc_queue
         IV_POSTPROC_QUEUE = lv_iv_postproc_queue
         IV_CONSIDER_NOTE_STATUS = lv_iv_consider_note_status
         IV_ONLINE_DOWNLOAD_POSSIBLE = lv_iv_online_download_possible
         IV_DESTINATION = lv_iv_destination
    IMPORTING
         EV_RC = lv_ev_rc
         ES_MSG = lv_es_msg
         ET_MSG = lv_et_msg
         ET_NOTES_DOWNLOAD = lv_et_notes_download
         ET_NOTES_IMPL = lv_et_notes_impl
         ET_MANUAL_ACTIVITIES = lv_et_manual_activities
    TABLES
         IT_NOTES = lt_it_notes
         ET_MISSING_NOTES = lt_et_missing_notes
         ET_INVALID_NOTES = lt_et_invalid_notes
         IT_COMPONENT_VECTOR_TARGET = lt_it_component_vector_target
         IT_COMPONENT_VECTOR_CURRENT = lt_it_component_vector_current
. " SCWB_API_CINST_QUEUE_GET




ABAP code using 7.40 inline data declarations to call FM SCWB_API_CINST_QUEUE_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.

 
 
 
 
 
DATA(ld_iv_preproc_queue) = 'X'.
 
 
 
DATA(ld_iv_postproc_queue) = 'X'.
 
 
DATA(ld_iv_consider_note_status) = ' '.
 
 
 
 
DATA(ld_iv_online_download_possible) = ' '.
 
DATA(ld_iv_destination) = ' '.
 
 


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!