SAP Reports / Programs | Basis Components | Upgrade - General | SAP Note Assistant(BC-UPG-NA) SAP BC

SCWN_REGISTER_NOTES SAP ABAP Report - Note Assistant: Register SAP Notes







SCWN_REGISTER_NOTES is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Registering Manually Implemented Notes This program is used to make changes after Note Assistant has been installed...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SCWN_REGISTER_NOTES into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SCWN_REGISTER_NOTES. "Basic submit
SUBMIT SCWN_REGISTER_NOTES AND RETURN. "Return to original report after report execution complete
SUBMIT SCWN_REGISTER_NOTES VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Registration of manually implemented SAP Notes
Title: Note Assistant: Register SAP Notes
Text Symbol: 001 = The following SAP Notes can be registered as completely implemented:
Text Symbol: 002 = The following SAP Notes are not valid for your release and Support Package level:
Text Symbol: 003 = The following SAP Notes have already been implemented completely:
Text Symbol: 004 = The following SAP Notes are in an inconsistent state (see transaction SNOTE):
Text Symbol: 005 = SAP Notes that are being processed by other users
Text Symbol: 006 = The following SAP Notes could not be registered as implemented:
Text Symbol: 007 = Confirm the registration by choosing 'Register Implementation'.
Text Symbol: 008 = They cannot be registered as implemented completely.


INCLUDES used within this REPORT SCWN_REGISTER_NOTES

INCLUDE CWBNTCNS.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = gs_restrict EXCEPTIONS OTHERS = 0.

SCWB_LOCK_SPAM CALL FUNCTION 'SCWB_LOCK_SPAM' EXCEPTIONS foreign_lock = 1 failure = 2 OTHERS = 3.

SCWB_NOTE_READ CALL FUNCTION 'SCWB_NOTE_READ' EXPORTING iv_read_attributes = true iv_read_customer_attributes = true CHANGING cs_note = EXCEPTIONS OTHERS = 1.

SCWB_NOTES_ASK_FOR_DOWNLOAD CALL FUNCTION 'SCWB_NOTES_ASK_FOR_DOWNLOAD' CHANGING ct_notes = lt_to_be_downloaded EXCEPTIONS cancelled_by_user = 1 OTHERS = 2.

SCWB_NOTE_READ CALL FUNCTION 'SCWB_NOTE_READ' EXPORTING iv_read_short_text = true iv_read_corr_instructions = true iv_read_customer_attributes = true CHANGING cs_note = EXCEPTIONS OTHERS = 0.

SCWB_NOTE_IMPL_STATUS CALL FUNCTION 'SCWB_NOTE_IMPL_STATUS' EXPORTING is_note = IMPORTING ev_status = lv_status EXCEPTIONS note_not_found = 1 inconsistent_delivery_data = 2 undefined_component_state = 3 incomplete_note_data = 4 OTHERS = 5.

SCWB_NOTE_ENQUEUE CALL FUNCTION 'SCWB_NOTE_ENQUEUE' EXPORTING is_note = EXCEPTIONS OTHERS = 1.

SCWN_CONFIRM_USER_CHANGE CALL FUNCTION 'SCWN_CONFIRM_USER_CHANGE' CHANGING cs_note = EXCEPTIONS OTHERS = 1.

SCWB_CINST_GET_STATUS CALL FUNCTION 'SCWB_CINST_GET_STATUS' IMPORTING ev_status = lv_status ev_overwritten = lv_overwritten CHANGING cs_corr_instruction = EXCEPTIONS not_found = 1 inconsistent_delivery_data = 2 undefined = 3 OTHERS = 4.

SCWB_CINSTS_LOCK CALL FUNCTION 'SCWB_CINSTS_LOCK' EXPORTING iv_with_objects = true iv_with_related_notes_cinsts = true iv_with_logfile = true iv_order = lv_lock_order IMPORTING ev_lock_order = lv_lock_order CHANGING ct_corr_instructions = lt_corr_instructions EXCEPTIONS cancelled_by_user = 1 corr_instruction_not_found = 2 OTHERS = 3.

CLM_CWB_CINST_CONFIRM CALL FUNCTION 'CLM_CWB_CINST_CONFIRM' EXPORTING iv_trkorr = lv_lock_order CHANGING cs_corr_instruction = .

SCWB_CINST_DEQUEUE_OBJECTS CALL FUNCTION 'SCWB_CINST_DEQUEUE_OBJECTS' CHANGING cs_corr_instruction = .

SCWB_NOTE_IMPL_STATUS CALL FUNCTION 'SCWB_NOTE_IMPL_STATUS' EXPORTING is_note = IMPORTING ev_status = lv_status_1 EXCEPTIONS OTHERS = 0.

SCWB_NOTE_UPDATE CALL FUNCTION 'SCWB_NOTE_UPDATE' EXPORTING iv_write_customer_attributes = true CHANGING cs_note = EXCEPTIONS OTHERS = 0.

SCWN_LOG_MSG_ADD CALL FUNCTION 'SCWN_LOG_MSG_ADD' EXPORTING ip_msg = ls_msg CHANGING cs_note = EXCEPTIONS OTHERS = 1.

SCWB_NOTE_DEQUEUE CALL FUNCTION 'SCWB_NOTE_DEQUEUE' EXPORTING is_note = .



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SCWN_REGISTER_NOTES or its description.