SAP SCWB_DOWNLOAD_OUTDATED_NOTES Function Module for
SCWB_DOWNLOAD_OUTDATED_NOTES is a standard scwb download outdated notes 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 download outdated notes FM, simply by entering the name SCWB_DOWNLOAD_OUTDATED_NOTES into the relevant SAP transaction such as SE37 or SE38.
Function Group: SCWN
Program Name: SAPLSCWN
Main Program: SAPLSCWN
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SCWB_DOWNLOAD_OUTDATED_NOTES 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_DOWNLOAD_OUTDATED_NOTES'".
EXPORTING
* IS_NOTE = "
* IT_NOTES = "
* IV_DESTINATION = GC_CWBADM_CS_NT_NEW "Logical Destination (Specified in Function Call)
* IV_WITH_PROGRESS_INDICATOR = ' ' "
* IV_ASK_USER_TO_CONFIRM_DWNLD = ' ' "
* IV_IMPLEMENTATION_TEST_ONLY = ' ' "
* IV_CHECK_STATUS = 'X' "
IMPORTING
ET_NOTE_KEYS_DWNLD = "
ET_NOTES_DWNLD = "
ET_UNRELEASED_NOTES = "
CHANGING
* CT_CORR_INSTRUCTIONS = "
EXCEPTIONS
RFC_ERROR = 1 ERROR = 2
IMPORTING Parameters details for SCWB_DOWNLOAD_OUTDATED_NOTES
IS_NOTE -
Data type: BCWBN_NOTEOptional: Yes
Call by Reference: Yes
IT_NOTES -
Data type: BCWBN_NOTESOptional: Yes
Call by Reference: Yes
IV_DESTINATION - Logical Destination (Specified in Function Call)
Data type: RFCDES-RFCDESTDefault: GC_CWBADM_CS_NT_NEW
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_WITH_PROGRESS_INDICATOR -
Data type: BCWBN_BOOLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_ASK_USER_TO_CONFIRM_DWNLD -
Data type: BCWBN_BOOLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_IMPLEMENTATION_TEST_ONLY -
Data type: BOOLE_DDefault: SPACE
Optional: Yes
Call by Reference: Yes
IV_CHECK_STATUS -
Data type: BOOLE_DDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SCWB_DOWNLOAD_OUTDATED_NOTES
ET_NOTE_KEYS_DWNLD -
Data type: BCWBN_NOTE_KEYS_VSOptional: No
Call by Reference: Yes
ET_NOTES_DWNLD -
Data type: BCWBN_NOTESOptional: No
Call by Reference: Yes
ET_UNRELEASED_NOTES -
Data type: BCWBN_NOTE_KEYS_VSOptional: No
Call by Reference: Yes
CHANGING Parameters details for SCWB_DOWNLOAD_OUTDATED_NOTES
CT_CORR_INSTRUCTIONS -
Data type: BCWBN_CORR_INSTRUCTIONSOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
RFC_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_DOWNLOAD_OUTDATED_NOTES 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_is_note | TYPE BCWBN_NOTE, " | |||
| lv_rfc_error | TYPE BCWBN_NOTE, " | |||
| lv_et_note_keys_dwnld | TYPE BCWBN_NOTE_KEYS_VS, " | |||
| lv_ct_corr_instructions | TYPE BCWBN_CORR_INSTRUCTIONS, " | |||
| lv_error | TYPE BCWBN_CORR_INSTRUCTIONS, " | |||
| lv_it_notes | TYPE BCWBN_NOTES, " | |||
| lv_et_notes_dwnld | TYPE BCWBN_NOTES, " | |||
| lv_iv_destination | TYPE RFCDES-RFCDEST, " GC_CWBADM_CS_NT_NEW | |||
| lv_et_unreleased_notes | TYPE BCWBN_NOTE_KEYS_VS, " | |||
| lv_iv_with_progress_indicator | TYPE BCWBN_BOOL, " SPACE | |||
| lv_iv_ask_user_to_confirm_dwnld | TYPE BCWBN_BOOL, " SPACE | |||
| lv_iv_implementation_test_only | TYPE BOOLE_D, " SPACE | |||
| lv_iv_check_status | TYPE BOOLE_D. " 'X' |
|   CALL FUNCTION 'SCWB_DOWNLOAD_OUTDATED_NOTES' " |
| EXPORTING | ||
| IS_NOTE | = lv_is_note | |
| IT_NOTES | = lv_it_notes | |
| IV_DESTINATION | = lv_iv_destination | |
| IV_WITH_PROGRESS_INDICATOR | = lv_iv_with_progress_indicator | |
| IV_ASK_USER_TO_CONFIRM_DWNLD | = lv_iv_ask_user_to_confirm_dwnld | |
| IV_IMPLEMENTATION_TEST_ONLY | = lv_iv_implementation_test_only | |
| IV_CHECK_STATUS | = lv_iv_check_status | |
| IMPORTING | ||
| ET_NOTE_KEYS_DWNLD | = lv_et_note_keys_dwnld | |
| ET_NOTES_DWNLD | = lv_et_notes_dwnld | |
| ET_UNRELEASED_NOTES | = lv_et_unreleased_notes | |
| CHANGING | ||
| CT_CORR_INSTRUCTIONS | = lv_ct_corr_instructions | |
| EXCEPTIONS | ||
| RFC_ERROR = 1 | ||
| ERROR = 2 | ||
| . " SCWB_DOWNLOAD_OUTDATED_NOTES | ||
ABAP code using 7.40 inline data declarations to call FM SCWB_DOWNLOAD_OUTDATED_NOTES
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 RFCDEST FROM RFCDES INTO @DATA(ld_iv_destination). | ||||
| DATA(ld_iv_destination) | = GC_CWBADM_CS_NT_NEW. | |||
| DATA(ld_iv_with_progress_indicator) | = ' '. | |||
| DATA(ld_iv_ask_user_to_confirm_dwnld) | = ' '. | |||
| DATA(ld_iv_implementation_test_only) | = ' '. | |||
| DATA(ld_iv_check_status) | = 'X'. | |||
Search for further information about these or an SAP related objects