NOTE_ALLOC_BEFORE_46D is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter NOTE_ALLOC_BEFORE_46D into the relevant SAP transactions such as SE38 or SE80
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.
Title: Assign notes to node manually
Text Symbol: 030 = Choose an Object to Allocate
Text Symbol: 020 = IMG Activity
Text Symbol: 012 = Not visible Status Information
Text Symbol: 011 = Project
Text Symbol: 010 = Not visible Documents
Text Symbol: 002 = Notes
Text Symbol: 001 = Status
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid * i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' it_fieldcat = s_it_fieldcat is_layout = rs_layout TABLES t_outtab = gt_outtab_stat.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid * i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' it_fieldcat = s_it_fieldcat is_layout = rs_layout TABLES t_outtab = gt_outtab.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = p_alv_events.
STAT_OBJECT_SHOW CALL FUNCTION 'STAT_OBJECT_SHOW' EXPORTING objectclass = db_status-doc_cls objectname = db_status-doc_obj objecttitle = ' ' outline = db_status-outline projectno = db_status-project structure_type = struc_type viewname = db_status-viewname chdoc_view_dependence = s_tcusp-view_dep EXCEPTIONS object_not_found = 1 project_not_found = 2 no_authority = 3 wrong_type = 4 canceled = 5 OTHERS = 6.
STAT_MAINTAIN CALL FUNCTION 'STAT_MAINTAIN' EXPORTING id = db_tstafpr-id application = 'CU' display = ' ' language = sy-langu.
DSYS_SHOW CALL FUNCTION 'DSYS_SHOW' EXPORTING application = 'SE61' dokclass = 'NOTE' doklangu = sy-langu dokname = gt_outtab-object+4 EXCEPTIONS class_unknown = 1 object_not_found = 2 OTHERS = 3.
S_CUS_IMG_GET_REFERENCE_IMG_ID CALL FUNCTION 'S_CUS_IMG_GET_REFERENCE_IMG_ID' IMPORTING reference_img_id = f_structure_id.
STREE_F4_NODE_SELECT CALL FUNCTION 'STREE_F4_NODE_SELECT' EXPORTING select_single = 'X' include_subnodes = ' ' structure_id = f_structure_id TABLES node_id = i_selected_nodes node_text = i_selected_texts references = i_selected_refer.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING unique_id = unique_id.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING unique_id = unique_id * MESSAGE = .
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
SPROJECT_GET_PROJECT_FROM_OBJ CALL FUNCTION 'SPROJECT_GET_PROJECT_FROM_OBJ' EXPORTING object_id = p_db_tstafpr-filter obj_type = 'PLAN' IMPORTING project_id = p_project_id * PROJECT_CLASS = * ACTUAL_OBJ_TYPE = .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.