SAP Reports / Programs | Basis Components | Middleware | ALE Integration Technology(BC-MID-ALE) SAP BC

IDOCPROCESSF01 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT IDOCPROCESSF01

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:

TREEV_CREATE_COLUMN_TREE CALL FUNCTION 'TREEV_CREATE_COLUMN_TREE' EXPORTING owner_repid = this_repid dynnr = this_dynnr container = 'TREE_CONTAINER' left = 0 top = 0 width = 0 height = 0 * ALIGNMENT = * METRIC = CNTL_METRIC_DYNPRO * NO_FLUSH = * LINK_REPID = * SHELLSTYLE = * PARENTID = reg_event_expand_no_children = 'X' register_event_item_dbl_click = ' ' register_event_node_dbl_click = 'X' register_event_header_click = ' ' register_event_node_context_m = ' ' register_event_item_context_m = ' ' register_event_link_click = ' ' register_event_button_click = ' ' register_event_checkbox_change = ' ' register_event_sel_change = ' ' item_selection = ' ' node_selection_mode = treev_node_sel_mode_single * GROUP_HEADERS = * HIDE_SELECTION = hierarchy_header = hierarchy_header item_table_structure_name = 'MTREEITM' TABLES columns = columns headers = headers node_table = node_table item_table = item_table CHANGING handle = tree EXCEPTIONS create_error = 1 tree_control_not_existing = 2 cntl_system_error = 3 failed = 4 illegal_node_selection_mode = 5 illegal_column_name = 6 illegal_column_alignment = 7 illegal_header_alignment = 8 illegal_header_type = 9 illegal_header_name = 10 duplicated_column_name = 11 duplicated_header_name = 12 illegal_end_col = 13 end_col_not_found = 14 missing_item_structure_name = 15 empty_node_table = 16 empty_item_table = 17 error_in_tables = 18 dp_error = 19 illegal_owner_repid = 20 too_many_columns = 21 table_structure_name_not_found = 22 multi_column_header = 23 OTHERS = 24 .

TREEV_SET_SCREEN_UPDATE CALL FUNCTION 'TREEV_SET_SCREEN_UPDATE' EXPORTING handle = tree UPDATE = ' '.

TREEV_ADD_NODES_AND_ITEMS CALL FUNCTION 'TREEV_ADD_NODES_AND_ITEMS' EXPORTING handle = tree item_table_structure_name = 'MTREEITM' no_flush = 'X' TABLES node_table = nodetab item_table = itemtab EXCEPTIONS failed = 1 missing_item_table_struct_name = 2 instance_not_found = 3 not_allowed_for_simple_tree = 4 cntl_system_error = 5 error_in_tables = 6 dp_error = 7 table_structure_name_not_found = 8 OTHERS = 9.

TREEV_DELETE_ITEMS CALL FUNCTION 'TREEV_DELETE_ITEMS' EXPORTING handle = tree no_flush = 'X' TABLES item_key_table = ikey_table.

TREEV_DELETE_NODES CALL FUNCTION 'TREEV_DELETE_NODES' EXPORTING handle = tree no_flush = 'X' TABLES node_key_table = nk_table.

TREEV_SET_SCREEN_UPDATE CALL FUNCTION 'TREEV_SET_SCREEN_UPDATE' EXPORTING handle = tree UPDATE = 'X'.

TREEV_GET_EXPANDED_NODES CALL FUNCTION 'TREEV_GET_EXPANDED_NODES' EXPORTING handle = tree TABLES node_key_table = nk_table.

TREEV_EXPAND_NODE CALL FUNCTION 'TREEV_EXPAND_NODE' EXPORTING handle = tree node_key = 'logsys' level_count = 0 expand_all_children = ' ' no_flush = 'X'.

TREEV_GET_EXPANDED_NODES * CALL FUNCTION 'TREEV_GET_EXPANDED_NODES' * EXPORTING * handle = tree * TABLES * node_key_table = nk_table.

TREEV_EXPAND_NODE CALL FUNCTION 'TREEV_EXPAND_NODE' EXPORTING handle = tree node_key = 'outbound' level_count = 0 expand_all_children = ' ' no_flush = 'X'.

TREEV_EXPAND_NODE CALL FUNCTION 'TREEV_EXPAND_NODE' EXPORTING handle = tree node_key = 'inbound' level_count = 0 expand_all_children = ' ' no_flush = 'X'.

TREEV_EXPAND_NODE CALL FUNCTION 'TREEV_EXPAND_NODE' EXPORTING handle = tree node_key = node-node_key level_count = 0 expand_all_children = ' ' no_flush = 'X'.

TREEV_GET_EXPANDED_NODES CALL FUNCTION 'TREEV_GET_EXPANDED_NODES' EXPORTING handle = tree TABLES node_key_table = nk_table.

TREEV_GET_EXPANDED_NODES CALL FUNCTION 'TREEV_GET_EXPANDED_NODES' EXPORTING handle = tree TABLES node_key_table = nk_table.

TREEV_COLLAPSE_SUBTREE CALL FUNCTION 'TREEV_COLLAPSE_SUBTREE' EXPORTING handle = tree node_key = node_key no_flush = 'X'.

TREEV_EVENT_CB_EXPAND_NC CALL FUNCTION 'TREEV_EVENT_CB_EXPAND_NC' EXPORTING callback_form = 'EXPAND_NODE' CHANGING handle = tree.

TREEV_EVENT_CB_NODE_DBL_CLK CALL FUNCTION 'TREEV_EVENT_CB_NODE_DBL_CLK' EXPORTING callback_form = 'DBL_CLICK' CHANGING handle = tree.

TREEV_ITEM_SET_TEXT CALL FUNCTION 'TREEV_ITEM_SET_TEXT' EXPORTING handle = tree node_key = node-node_key item_name = 'column3' text = nstring1 no_flush = 'X'.

TREEV_GET_EXPANDED_NODES





CALL FUNCTION 'TREEV_GET_EXPANDED_NODES' EXPORTING handle = tree TABLES node_key_table = nk_table.

TREEV_SET_SCREEN_UPDATE CALL FUNCTION 'TREEV_SET_SCREEN_UPDATE' EXPORTING handle = tree UPDATE = ' '.

TREEV_DELETE_ITEMS CALL FUNCTION 'TREEV_DELETE_ITEMS' EXPORTING handle = tree no_flush = 'X' TABLES item_key_table = ikey_table.

TREEV_DELETE_NODES CALL FUNCTION 'TREEV_DELETE_NODES' EXPORTING handle = tree no_flush = 'X' TABLES node_key_table = nk_table.

TREEV_ADD_NODES_AND_ITEMS CALL FUNCTION 'TREEV_ADD_NODES_AND_ITEMS' EXPORTING handle = tree item_table_structure_name = 'MTREEITM' no_flush = 'X' TABLES node_table = nodetab item_table = itemtab EXCEPTIONS failed = 1 missing_item_table_struct_name = 2 instance_not_found = 3 not_allowed_for_simple_tree = 4 cntl_system_error = 5 error_in_tables = 6 dp_error = 7 table_structure_name_not_found = 8 OTHERS = 9.

TREEV_EXPAND_NODE CALL FUNCTION 'TREEV_EXPAND_NODE' EXPORTING handle = tree node_key = 'filter' level_count = 0 expand_all_children = ' ' no_flush = 'X'.

TREEV_SET_SCREEN_UPDATE CALL FUNCTION 'TREEV_SET_SCREEN_UPDATE' EXPORTING handle = tree UPDATE = 'X'.

TREEV_ITEM_SET_TEXT CALL FUNCTION 'TREEV_ITEM_SET_TEXT' EXPORTING handle = tree node_key = nodename item_name = 'column2' text = stext no_flush = 'X'.

TREEV_NODE_SET_EXPANDER CALL FUNCTION 'TREEV_NODE_SET_EXPANDER' EXPORTING handle = tree node_key = nodename force_expander = expandable_node no_flush = 'X'.

TREEV_ITEM_SET_TEXT CALL FUNCTION 'TREEV_ITEM_SET_TEXT' EXPORTING handle = tree node_key = nodename item_name = 'column3' text = ctext no_flush = 'X'.

TREEV_NODE_SET_HIDDEN CALL FUNCTION 'TREEV_NODE_SET_HIDDEN' EXPORTING handle = tree node_key = nodename hidden = hide_node no_flush = 'X'.

TREEV_GET_SELECTED_NODE CALL FUNCTION 'TREEV_GET_SELECTED_NODE' EXPORTING handle = tree IMPORTING node_key = node_key.

TREEV_GET_SELECTED_NODE CALL FUNCTION 'TREEV_GET_SELECTED_NODE' EXPORTING handle = tree IMPORTING node_key = node_key.

TREEV_COLLAPSE_SUBTREE CALL FUNCTION 'TREEV_COLLAPSE_SUBTREE' EXPORTING handle = tree node_key = node_key no_flush = 'X'.

TREEV_EXPAND_NODE CALL FUNCTION 'TREEV_EXPAND_NODE' EXPORTING handle = tree node_key = node_key level_count = 0 expand_all_children = 'X' no_flush = 'X'.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

SREL_GET_NEXT_NEIGHBORS * CALL FUNCTION 'SREL_GET_NEXT_NEIGHBORS' * EXPORTING * object = bi * roletype = 'OUTTID' * max_hops = 1 * TABLES * neighbors = nb_tab.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = att_text default_button = '2' display_cancel_button = '' IMPORTING answer = answer.



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