SAP Reports / Programs

NOTE_ALLOC_BEFORE_46D SAP ABAP Report - Assign notes to node manually







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


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 NOTE_ALLOC_BEFORE_46D. "Basic submit
SUBMIT NOTE_ALLOC_BEFORE_46D AND RETURN. "Return to original report after report execution complete
SUBMIT NOTE_ALLOC_BEFORE_46D VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT NOTE_ALLOC_BEFORE_46D

No INCLUDES are used within this REPORT code!


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:

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 = .



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 NOTE_ALLOC_BEFORE_46D or its description.