NOTE_ALLOCATE 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_ALLOCATE 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: 010 = Invisible documents
Text Symbol: 020 = IMG activity
Text Symbol: 030 = Replace Document
Text Symbol: 040 = Do you want to replace the document?
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.
REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = p_alv_events.
DSYS_SHOW call function 'DSYS_SHOW' exporting application = 'SE61' dokclass = 'NOTE' doklangu = sy-langu dokname = gt_outtab-object+4 * DOKTITLE = ' ' * HOMETEXT = ' ' * OUTLINE = ' ' * VIEWNAME = 'STANDARD' * Z_ORIGINAL_OUTLINE = ' ' * CALLED_FROM_SO70 = ' ' * STRUCTURE_ID = * IMPORTING * APPL = * PF03 = * PF15 = * PF12 = 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.
NOTE_GET_NOTE_HANDLE call function 'NOTE_GET_NOTE_HANDLE' exporting structure_id = i_selected_nodes-tree_id selected_node = i_selected_nodes * ONLY_EXISTING = tables list_of_references = lt_references user_parameters = gt_user_parameters * CHANGING * MESSAGE = exceptions wrong_application = 1 others = 2 .
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-030 diagnose_object = 'SPROJECT_NOTE_ALLOCATE' text_question = text-040 display_cancel_button = ' ' importing answer = l_answer tables parameter = lt_parameters exceptions text_not_found = 1 others = 2.
STREE_GET_UNIQUE_ID call function 'STREE_GET_UNIQUE_ID' importing unique_id = unique_id.
NOTE_GET_NOTE_HANDLE call function 'NOTE_GET_NOTE_HANDLE' exporting structure_id = i_selected_nodes-tree_id selected_node = i_selected_nodes * ONLY_EXISTING = tables list_of_references = lt_references user_parameters = gt_user_parameters * CHANGING * MESSAGE = exceptions wrong_application = 1 others = 2 .
POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting titlebar = text-030 diagnose_object = 'SPROJECT_NOTE_ALLOCATE' text_question = text-040 display_cancel_button = ' ' importing answer = l_answer tables parameter = lt_parameters exceptions text_not_found = 1 others = 2.
S_CUS_IMG_OBJECT_IS_IN_REFIMG call function 'S_CUS_IMG_OBJECT_IS_IN_REFIMG' exporting img_node =
-node_id importing object_is_in_reference_img = l_is_in_img.
S_CUS_IMG_OBJECT_IS_IN_REFIMG call function 'S_CUS_IMG_OBJECT_IS_IN_REFIMG' exporting img_node =
-node_id importing object_is_in_reference_img = l_is_in_img.
S_CUS_IMG_OBJECT_IS_IN_REFIMG call function 'S_CUS_IMG_OBJECT_IS_IN_REFIMG' exporting img_node = i_tnotfpr_old-id importing object_is_in_reference_img = l_is_in_img img_node_data = l_node_data.
S_CUS_IMG_OBJECT_IS_IN_REFIMG call function 'S_CUS_IMG_OBJECT_IS_IN_REFIMG' exporting img_node = i_tnodeimgr-node_id importing object_is_in_reference_img = l_is_in_img img_node_data = l_node_data.
STREE_GET_UNIQUE_ID call function 'STREE_GET_UNIQUE_ID' importing unique_id = unique_id.
STREE_GET_UNIQUE_ID call function 'STREE_GET_UNIQUE_ID' importing unique_id = unique_id.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.