SAP SCWB_CINST_QUEUE_GET_INT Function Module for









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

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



Function SCWB_CINST_QUEUE_GET_INT 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_CINST_QUEUE_GET_INT'"
EXPORTING
* IV_REQID = "
* IV_CONSIDER_NOTE_STATUS = ' ' "
* IV_ONLINE_DOWNLOAD_POSSIBLE = ' ' "
* IV_ALL_CINSTS_NEEDED = ' ' "
* IV_DO_MERGE = ' ' "

IMPORTING
ET_CINST_QUEUE = "
ET_NOTES_REQUIRED = "
ET_NOTES_DOWNLOAD = "
ET_NOTES_IMPL = "
ET_MISSING_NOTES = "
ET_INCOMPLETE_NOTES = "
ES_NOTE = "
EV_CINST_NOT_MATCHING = "
EV_MERGE_IMPOSSIBLE = "

CHANGING
* CT_PATCH_LEVELS = "
CT_NOTES = "

EXCEPTIONS
NOTE_NOT_FOUND = 1 INCONSISTENT_DELIVERY_DATA = 2 UNDEFINED_COMPONENT_STATE = 3 INCOMPLETE_NOTE_DATA = 4 NO_VALID_CORR_INSTRUCTION = 5 CORR_INSTRUCTION_MERGE_ERROR = 6 ERROR = 7
.



IMPORTING Parameters details for SCWB_CINST_QUEUE_GET_INT

IV_REQID -

Data type: SCWB_REQUEST_ID
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_ALL_CINSTS_NEEDED -

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

IV_DO_MERGE -

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

EXPORTING Parameters details for SCWB_CINST_QUEUE_GET_INT

ET_CINST_QUEUE -

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

ET_NOTES_REQUIRED -

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

ET_NOTES_DOWNLOAD -

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

ET_NOTES_IMPL -

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

ET_MISSING_NOTES -

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

ET_INCOMPLETE_NOTES -

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

ES_NOTE -

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

EV_CINST_NOT_MATCHING -

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

EV_MERGE_IMPOSSIBLE -

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

CHANGING Parameters details for SCWB_CINST_QUEUE_GET_INT

CT_PATCH_LEVELS -

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

CT_NOTES -

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

EXCEPTIONS details

NOTE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INCONSISTENT_DELIVERY_DATA -

Data type:
Optional: No
Call by Reference: Yes

UNDEFINED_COMPONENT_STATE -

Data type:
Optional: No
Call by Reference: Yes

INCOMPLETE_NOTE_DATA -

Data type:
Optional: No
Call by Reference: Yes

NO_VALID_CORR_INSTRUCTION -

Data type:
Optional: No
Call by Reference: Yes

CORR_INSTRUCTION_MERGE_ERROR -

Data type:
Optional: No
Call by Reference: Yes

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SCWB_CINST_QUEUE_GET_INT 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_iv_reqid  TYPE SCWB_REQUEST_ID, "   
lv_et_cinst_queue  TYPE BCWBN_CORR_INSTRUCTION_QUEUE, "   
lv_note_not_found  TYPE BCWBN_CORR_INSTRUCTION_QUEUE, "   
lv_ct_patch_levels  TYPE BCWBN_DELIVERY_EVENTS, "   
lv_ct_notes  TYPE BCWBN_NOTES, "   
lv_et_notes_required  TYPE SCWB_API_T_NOTENUMBER, "   
lv_iv_consider_note_status  TYPE BOOLE_D, "   SPACE
lv_inconsistent_delivery_data  TYPE BOOLE_D, "   
lv_et_notes_download  TYPE SCWB_API_T_NOTENUMBER, "   
lv_undefined_component_state  TYPE SCWB_API_T_NOTENUMBER, "   
lv_iv_online_download_possible  TYPE BOOLE_D, "   SPACE
lv_et_notes_impl  TYPE SCWB_API_T_NOTENUMBER, "   
lv_incomplete_note_data  TYPE SCWB_API_T_NOTENUMBER, "   
lv_iv_all_cinsts_needed  TYPE BOOLE_D, "   SPACE
lv_iv_do_merge  TYPE BOOLE_D, "   SPACE
lv_et_missing_notes  TYPE BCWBN_NOTES, "   
lv_no_valid_corr_instruction  TYPE BCWBN_NOTES, "   
lv_et_incomplete_notes  TYPE BCWBN_NOTES, "   
lv_corr_instruction_merge_error  TYPE BCWBN_NOTES, "   
lv_error  TYPE BCWBN_NOTES, "   
lv_es_note  TYPE BCWBN_NOTE, "   
lv_ev_cinst_not_matching  TYPE BOOLE_D, "   
lv_ev_merge_impossible  TYPE BOOLE_D. "   

  CALL FUNCTION 'SCWB_CINST_QUEUE_GET_INT'  "
    EXPORTING
         IV_REQID = lv_iv_reqid
         IV_CONSIDER_NOTE_STATUS = lv_iv_consider_note_status
         IV_ONLINE_DOWNLOAD_POSSIBLE = lv_iv_online_download_possible
         IV_ALL_CINSTS_NEEDED = lv_iv_all_cinsts_needed
         IV_DO_MERGE = lv_iv_do_merge
    IMPORTING
         ET_CINST_QUEUE = lv_et_cinst_queue
         ET_NOTES_REQUIRED = lv_et_notes_required
         ET_NOTES_DOWNLOAD = lv_et_notes_download
         ET_NOTES_IMPL = lv_et_notes_impl
         ET_MISSING_NOTES = lv_et_missing_notes
         ET_INCOMPLETE_NOTES = lv_et_incomplete_notes
         ES_NOTE = lv_es_note
         EV_CINST_NOT_MATCHING = lv_ev_cinst_not_matching
         EV_MERGE_IMPOSSIBLE = lv_ev_merge_impossible
    CHANGING
         CT_PATCH_LEVELS = lv_ct_patch_levels
         CT_NOTES = lv_ct_notes
    EXCEPTIONS
        NOTE_NOT_FOUND = 1
        INCONSISTENT_DELIVERY_DATA = 2
        UNDEFINED_COMPONENT_STATE = 3
        INCOMPLETE_NOTE_DATA = 4
        NO_VALID_CORR_INSTRUCTION = 5
        CORR_INSTRUCTION_MERGE_ERROR = 6
        ERROR = 7
. " SCWB_CINST_QUEUE_GET_INT




ABAP code using 7.40 inline data declarations to call FM SCWB_CINST_QUEUE_GET_INT

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_consider_note_status) = ' '.
 
 
 
 
DATA(ld_iv_online_download_possible) = ' '.
 
 
 
DATA(ld_iv_all_cinsts_needed) = ' '.
 
DATA(ld_iv_do_merge) = ' '.
 
 
 
 
 
 
 
 
 


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!