SAP SCWB_CINST_READ Function Module for









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

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



Function SCWB_CINST_READ 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_READ'"
EXPORTING
* IV_READ_HEADER = ' ' "
* IV_READ_DELTAS = ' ' "
* IV_READ_VALIDITY = ' ' "
* IV_READ_DEPENDENCIES = ' ' "
* IV_READ_SUCCESSORS = ' ' "
* IV_READ_FIXES = ' ' "
* IV_READ_RELATED_NOTE = ' ' "
* IV_READ_RELATED_NOTE_VERSIONS = ' ' "
* IV_READ_OBJECT_LIST = ' ' "

CHANGING
CS_CORR_INSTRUCTION = "

EXCEPTIONS
CORR_INSTRUCTION_NOT_FOUND = 1 DELTAS_UNREADABLE = 2 UNKNOWN_DELTA_FORMAT = 3
.



IMPORTING Parameters details for SCWB_CINST_READ

IV_READ_HEADER -

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

IV_READ_DELTAS -

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

IV_READ_VALIDITY -

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

IV_READ_DEPENDENCIES -

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

IV_READ_SUCCESSORS -

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

IV_READ_FIXES -

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

IV_READ_RELATED_NOTE -

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

IV_READ_RELATED_NOTE_VERSIONS -

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

IV_READ_OBJECT_LIST -

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

CHANGING Parameters details for SCWB_CINST_READ

CS_CORR_INSTRUCTION -

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

EXCEPTIONS details

CORR_INSTRUCTION_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

DELTAS_UNREADABLE -

Data type:
Optional: No
Call by Reference: Yes

UNKNOWN_DELTA_FORMAT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SCWB_CINST_READ 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_read_header  TYPE BCWBN_BOOL, "   SPACE
lv_cs_corr_instruction  TYPE BCWBN_CORR_INSTRUCTION, "   
lv_corr_instruction_not_found  TYPE BCWBN_CORR_INSTRUCTION, "   
lv_iv_read_deltas  TYPE BCWBN_BOOL, "   SPACE
lv_deltas_unreadable  TYPE BCWBN_BOOL, "   
lv_iv_read_validity  TYPE BCWBN_BOOL, "   SPACE
lv_unknown_delta_format  TYPE BCWBN_BOOL, "   
lv_iv_read_dependencies  TYPE BCWBN_BOOL, "   SPACE
lv_iv_read_successors  TYPE BCWBN_BOOL, "   SPACE
lv_iv_read_fixes  TYPE BCWBN_BOOL, "   SPACE
lv_iv_read_related_note  TYPE BCWBN_BOOL, "   SPACE
lv_iv_read_related_note_versions  TYPE BCWBN_BOOL, "   SPACE
lv_iv_read_object_list  TYPE BCWBN_BOOL. "   SPACE

  CALL FUNCTION 'SCWB_CINST_READ'  "
    EXPORTING
         IV_READ_HEADER = lv_iv_read_header
         IV_READ_DELTAS = lv_iv_read_deltas
         IV_READ_VALIDITY = lv_iv_read_validity
         IV_READ_DEPENDENCIES = lv_iv_read_dependencies
         IV_READ_SUCCESSORS = lv_iv_read_successors
         IV_READ_FIXES = lv_iv_read_fixes
         IV_READ_RELATED_NOTE = lv_iv_read_related_note
         IV_READ_RELATED_NOTE_VERSIONS = lv_iv_read_related_note_versions
         IV_READ_OBJECT_LIST = lv_iv_read_object_list
    CHANGING
         CS_CORR_INSTRUCTION = lv_cs_corr_instruction
    EXCEPTIONS
        CORR_INSTRUCTION_NOT_FOUND = 1
        DELTAS_UNREADABLE = 2
        UNKNOWN_DELTA_FORMAT = 3
. " SCWB_CINST_READ




ABAP code using 7.40 inline data declarations to call FM SCWB_CINST_READ

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_read_header) = ' '.
 
 
 
DATA(ld_iv_read_deltas) = ' '.
 
 
DATA(ld_iv_read_validity) = ' '.
 
 
DATA(ld_iv_read_dependencies) = ' '.
 
DATA(ld_iv_read_successors) = ' '.
 
DATA(ld_iv_read_fixes) = ' '.
 
DATA(ld_iv_read_related_note) = ' '.
 
DATA(ld_iv_read_related_note_versions) = ' '.
 
DATA(ld_iv_read_object_list) = ' '.
 


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!