SAP Reports / Programs | Logistics - General | Logistics Basic Data(LO-MD) SAP LO

MASS_EKKO_FRM SAP ABAP INCLUDE - Include MASS_EKKO_FRM







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


Text pool values


Title: Include MASS_EKKO_FRM


INCLUDES used within this REPORT MASS_EKKO_FRM

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:

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' "Retrieve fields in mass_ekko EXPORTING i_structure_name = 'MASS_EKKO' i_client_never_display = 'X' CHANGING ct_fieldcat = gt_fieldcatalog.

I_MASS_FORMULA_DIALOG CALL FUNCTION 'I_MASS_FORMULA_DIALOG' TABLES changes = t_formula EXCEPTIONS user_cancel = 1 OTHERS = 2.

I_MASS_CALC_FORMULA CALL FUNCTION 'I_MASS_CALC_FORMULA' EXPORTING tablename = 'MASS_EKKO_D' TABLES changes = t_formula tabledata_old = gt_ekko tabledata_new = mod_gt_ekko.

MASS_EKKO_CHANGE_CELL_VALUE CALL FUNCTION 'MASS_EKKO_CHANGE_CELL_VALUE' EXPORTING new_color = g_new_color fieldcatalog = pt_fieldcatalog p_refsite_distr = l_refsite_distr TABLES table_to_change_from = gt_table_to_change_from table_to_change = p_gt_ekko previous_color_table = p_all_gt_ekko CHANGING lines_to_change = gt_lines_to_change.

MASS_EKKO_CHANGE_CELL_VALUE CALL FUNCTION 'MASS_EKKO_CHANGE_CELL_VALUE' EXPORTING new_color = l_new_color fieldcatalog = lt_fieldcatalog_temp[] field_to_clear = p_check p_refsite_distr = l_refsite_distr TABLES table_to_change_from = lt_table_to_change_from table_to_change = p_gt_ekko previous_color_table = p_all_gt_ekko CHANGING lines_to_change = lt_lines_to_change.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-032 "warning text_question = w_text text_button_1 = text-034 "yes text_button_2 = text-035 "no default_button = '1' display_cancel_button = 'X' IMPORTING answer = w_res.

MASS_EKKO_CHANGE_CELL_VALUE CALL FUNCTION 'MASS_EKKO_CHANGE_CELL_VALUE' EXPORTING new_color = g_new_color fieldcatalog = gt_fieldcatalog[] p_refsite_distr = l_refsite_distr TABLES table_to_change_from = gt_table_to_change_from table_to_change = gt_ekko previous_color_table = all_gt_ekko CHANGING lines_to_change = gt_lines_to_change.

MASS_EKKO_CHANGE_CELL_VALUE CALL FUNCTION 'MASS_EKKO_CHANGE_CELL_VALUE' EXPORTING new_color = g_new_color fieldcatalog = gt_fieldcatalog[] p_refsite_distr = l_refsite_distr TABLES table_to_change_from = gt_table_to_change_from table_to_change = gt_ekko previous_color_table = all_gt_ekko CHANGING lines_to_change = gt_lines_to_change.

MASS_SCRN_CREATE CALL FUNCTION 'MASS_SCRN_CREATE' EXPORTING i_progname = li_progname i_prognbr = '0310' IMPORTING e_progname = le_progname e_prognbr = prognbr e_progheader = progheader TABLES t_flowlogic = t_flowlogic t_fieldlist = t_fieldlist t_dynpmatch = t_dynpmatch t_fieldname = t_fieldname EXCEPTIONS error_in_screen_create = 1 error_in_screen_read = 2 error_in_screen_save = 3 progname_and_dynpronbr_empty = 4 OTHERS = 5.

MASS_SCRN_CREATE CALL FUNCTION 'MASS_SCRN_CREATE' EXPORTING i_progname = li_progname i_prognbr = '0320' i_checkbox = 'X' IMPORTING e_progname = le_progname e_prognbr = prognbr e_progheader = progheader TABLES t_flowlogic = t_flowlogic t_fieldlist = t_fieldlist t_dynpmatch = t_dynpmatch t_fieldname = t_fieldname EXCEPTIONS error_in_screen_create = 1 error_in_screen_read = 2 error_in_screen_save = 3 progname_and_dynpronbr_empty = 4 OTHERS = 5.

LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = g_variant_save CHANGING cs_variant = g_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

MASS_DISPLAY_QUICK_HELP_REF CALL FUNCTION 'MASS_DISPLAY_QUICK_HELP_REF' EXPORTING P_HTML_VIEWER = html_control P_OBJECT = 'MASS_EKKO' P_ID = 'TX'.

MASS_FIND_IN_TREE CALL FUNCTION 'MASS_FIND_IN_TREE' EXPORTING find_command = 'F' tree_struc_table = 'MASS_TREE_FIND_EKKO' tree_field_search_in = 'TEXT' tree_field_node_key = 'NODE_KEY' TABLES search_table = gt_tree_find find_table = gt_tree_find_in CHANGING key_find = gw_key_find findstr = gw_findstr EXCEPTIONS user_cancel = 1 OTHERS = 2.

MASS_FIND_IN_TREE CALL FUNCTION 'MASS_FIND_IN_TREE' EXPORTING find_command = 'N' tree_struc_table = 'MASS_TREE_FIND_EKKO' tree_field_search_in = 'TEXT' tree_field_node_key = 'NODE_KEY' TABLES search_table = gt_tree_find find_table = gt_tree_find_in CHANGING key_find = gw_key_find findstr = gw_findstr EXCEPTIONS user_cancel = 1 OTHERS = 2.

MASS_ERROR_LIST CALL FUNCTION 'MASS_ERROR_LIST' EXPORTING progname = l_progname.

MASS_WHERE_USED CALL FUNCTION 'MASS_WHERE_USED' EXPORTING table_to_search_in = w_table_to_search_in table_to_display = w_table_to_display search_for_field = w_search_for_field field_content = w_field_content struct_to_return_in = w_struct_to_return_in IMPORTING row_selected = w_row_return TABLES fields_to_search_in = t_fieldlist p_t_key_common_field = l_t_key_common_field EXCEPTIONS user_cancel = 1 error_in_select = 2 not_allowed = 3 OTHERS = 4.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = 'WSTRGROUP' subobject = 'WMASS_MNT' suppress_selection_dialog = 'X'.

MASS_EKKO_VALIDATE_TABLE * CALL FUNCTION 'MASS_EKKO_VALIDATE_TABLE' * TABLES * ekko_to_validate = all_gt_ekko * ekko_valid = val_gt_ekko * ekko_not_valid = invalid_gt_ekko * ekko_error_messages = t_errors.

MASS_EKKO_ENCODE_IN_FLAT_STR





* CALL FUNCTION 'MASS_EKKO_ENCODE_IN_FLAT_STR' * TABLES * p_all_gt_ekko = all_gt_ekko * p_out_gt_ekko = l_out_gt_ekko * p_out_gt_style = l_out_gt_style.

MASS_DYNAMIC_FILTER CALL FUNCTION 'MASS_DYNAMIC_FILTER' EXPORTING tabname = 'MASS_EKKO' gt_fieldcatalog = gt_fieldcatalog_temp TABLES t_table = pt_ekko lt_rows = pt_rows EXCEPTIONS user_cancel = 1 no_allowed_fields = 2 OTHERS = 3.

MASS_EKKO_VALIDATE_DATA * CALL FUNCTION 'MASS_EKKO_VALIDATE_DATA' * EXPORTING * field_to_validate = p_fieldname * data_of_ekko = p_ls_data_of_ekko * TABLES * message_table = pt_message_table * EXCEPTIONS * not_valid = 1.

MASS_EKKO_ENCODE_IN_FLAT_STR CALL FUNCTION 'MASS_EKKO_ENCODE_IN_FLAT_STR' TABLES p_all_gt_ekko = lt_ekko p_out_gt_ekko = l_out_gt_ekko p_out_gt_style = l_out_gt_style.

WPOCP_SAVE_CHANGED_PO_DATA CALL FUNCTION 'WPOCP_SAVE_CHANGED_PO_DATA' EXPORTING i_do_commit = 'X' i_check_data_only = 2 "to check changibility & field values i_items_per_process = 1000 TABLES changing_headers = l_changing_headers changing_items = l_changing_items e_error_messages = l_error_messages EXCEPTIONS ERROR_IN_APPLICATION = 1 ERROR_IN_DATA = 2 OTHERS = 3.

MASS_MESSAGE_GET CALL FUNCTION 'MASS_MESSAGE_GET' EXPORTING sprsl = sy-langu arbgb = lw_message_table-msgid msgnr = l_msgnr msgv1 = lw_message_table-msgv1 msgv2 = lw_message_table-msgv2 msgv3 = lw_message_table-msgv3 msgv4 = lw_message_table-msgv4 IMPORTING msgtext = l_text EXCEPTIONS message_not_found = 1 OTHERS = 2.

DOCU_GET_FOR_F1HELP CALL FUNCTION 'DOCU_GET_FOR_F1HELP' EXPORTING id = 'NA' langu = sy-langu object = l_object typ = 'E' TABLES line = l_line EXCEPTIONS ret_code = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_system_help info = text-052 IMPORTING RESULT = l_icon EXCEPTIONS icon_not_found = 1 outputfield_too_short = 2 OTHERS = 3.

SWU_GET_ROLLNAME_TO_FIELDNAME * CALL FUNCTION 'SWU_GET_ROLLNAME_TO_FIELDNAME' * EXPORTING * field = l_fieldname * IMPORTING * rollname = l_rollname * EXCEPTIONS * FIELD_NOT_FOUND = 1 * OTHERS = 2.

SWU_GET_ROLLNAME_TO_FIELDNAME * CALL FUNCTION 'SWU_GET_ROLLNAME_TO_FIELDNAME' * EXPORTING * field = l_fieldname * IMPORTING * rollname = l_rollname * EXCEPTIONS * FIELD_NOT_FOUND = 1 * OTHERS = 2.

SWU_GET_ROLLNAME_TO_FIELDNAME * CALL FUNCTION 'SWU_GET_ROLLNAME_TO_FIELDNAME' * EXPORTING * field = l_fieldname * IMPORTING * rollname = l_rollname * EXCEPTIONS * FIELD_NOT_FOUND = 1 * OTHERS = 2.

HR_BEN_GET_TEXT_DATA_ELEMENT * CALL FUNCTION 'HR_BEN_GET_TEXT_DATA_ELEMENT' * EXPORTING * rollname = l_rollname * tlength = '2' * reaction = '0' * IMPORTING * text = l_scrtext_m * TABLES * error_table = l_error_table.

LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'MASS_S_LOG_EKKO' i_client_never_display = 'X' CHANGING ct_fieldcat = gt_fieldcatalog_log[].

MASS_EKKO_CHANGE_CELL_VALUE CALL FUNCTION 'MASS_EKKO_CHANGE_CELL_VALUE' EXPORTING new_color = l_new_color fieldcatalog = pt_fieldcatalog[] p_refsite_distr = '3' " never check assigned site TABLES table_to_change_from = lt_table_to_change_from table_to_change = pt_ekko previous_color_table = pt_all_ekko CHANGING lines_to_change = lt_lines_to_change.

MASS_VERIFY_HIDDEN_COLUMN CALL FUNCTION 'MASS_VERIFY_HIDDEN_COLUMN' TABLES fieldcat_original = pt_fieldcatalog fieldcat_temp = pt_fieldcatalog_temp hidden_columns = pt_hidden_columns.

SPBT_INITIALIZE * CALL FUNCTION 'SPBT_INITIALIZE' * EXCEPTIONS * invalid_group_name = 1 * internal_error = 2 * pbt_env_already_initialized = 3 * currently_no_resources_avail = 4 * no_pbt_resources_found = 5 * OTHERS = 6.

MASS_EKKO_ENCODE_IN_FLAT_STR * CALL FUNCTION 'MASS_EKKO_ENCODE_IN_FLAT_STR' * TABLES * p_all_gt_ekko = t_xEKKO_i * p_out_gt_ekko = l_out_gt_ekko * p_out_gt_style = l_out_gt_style.

EKKO_SAVE * CALL FUNCTION 'EKKO_SAVE' STARTING NEW TASK task_name * DESTINATION IN GROUP DEFAULT * PERFORMING end_EKKO_save ON END OF TASK * TABLES * P_ALL_GT_EKKO_FLAT = l_out_gt_ekko * P_ALL_GT_EKKO_STYLE = l_out_gt_style * CHANGING * ERROR_MSG = t_errors.

MASS_EKKO_SAVE_CHANGE * CALL FUNCTION 'MASS_EKKO_SAVE_CHANGE' * EXPORTING * i_user = sy-uname * i_date = sy-datum * i_time = sy-uzeit * i_pgrmid = progname * i_good_lines = w_good_lines * i_old_mckey = w_old_mckey * IMPORTING * e_number = key * TABLES * t_records_in = t_global_invalid_EKKO * t_err_msg_in = t_global_errors * EXCEPTIONS * error_in_save_data = 1 * error_in_save_errors = 2 * error_in_number_generate = 3 * OTHERS = 4.

ENQUEUE_EMEKKOE CALL FUNCTION 'ENQUEUE_EMEKKOE' EXPORTING mode_ekko = 'E' mode_ekpo = 'E' mandt = sy-mandt ebeln = p_ekko-ebeln ebelp = p_ekko-ebelp_p EXCEPTIONS foreign_lock = 1 system_failure = 2.




WY_LFA1_GET_NAME CALL FUNCTION 'WY_LFA1_GET_NAME' EXPORTING pi_lifnr = p_lifnr IMPORTING po_name1 = p_name1 EXCEPTIONS no_records_found = 1 internal_error = 2 OTHERS = 3.

T024E_SINGLE_READ CALL FUNCTION 'T024E_SINGLE_READ' EXPORTING t024e_ekorg = p_ekorg IMPORTING wt024e = l_wt024e EXCEPTIONS not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-032 "warning text_question = text-040 text_button_1 = text-034 "yes text_button_2 = text-035 "no default_button = '1' display_cancel_button = ' ' IMPORTING answer = l_res.

WPOCS_SELECT_POS CALL FUNCTION 'WPOCS_SELECT_POS' EXPORTING i_opcode = ' ' us_ex = 'N' mmc = 'X' TABLES s_werks = r_werks s_ekorg = r_ekorg s_ekgrp = r_ekgrp s_lifnr = r_lifnr s_reswk = r_reswk s_eindt = r_eindt s_matnr = r_matnr s_bsart = r_bsart s_ekko = lt_ekko s_ekpo = lt_ekpo s_eket = lt_eket EXCEPTIONS no_sel_data_found = 1 no_rel_data_found = 2 no_badi_data_found = 3 OTHERS = 4.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING * KZRFB = ' ' * MAXTZ = 0 matnr = -matnr * SPERRMODUS = ' ' * STD_SPERRMODUS = ' ' * OUTPUT_NO_MESSAGE = IMPORTING wmara = lw_mara EXCEPTIONS lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5 .

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-032 "warning text_question = text-074 icon_button_1 = text-034 " yes icon_button_2 = text-035 " no default_button = '2' display_cancel_button = ' ' IMPORTING answer = l_res.

MASS_DYNAMIC_SELECT CALL FUNCTION 'MASS_DYNAMIC_SELECT' IMPORTING range = range_ekko expression = expr_ekko where = where_ekko TABLES tablist = tablist.

MASS_DYNAMIC_SELECT CALL FUNCTION 'MASS_DYNAMIC_SELECT' IMPORTING range = range_ekko expression = expr_ekko where = where_ekko TABLES tablist = tablist.

MASS_DYNAMIC_SELECT CALL FUNCTION 'MASS_DYNAMIC_SELECT' IMPORTING range = range_ekko expression = expr_ekko where = where_ekko TABLES tablist = tablist.

MASS_MAINTAIN_PARAMETERS CALL FUNCTION 'MASS_MAINTAIN_PARAMETERS' EXPORTING p_action = 'R' "R=Read p_progname = l_progname CHANGING p_params = l_params EXCEPTIONS record_not_found = 1 error_in_save = 2 invalid_action_code = 3 OTHERS = 4.

MASS_MAINTAIN_PARAMETERS CALL FUNCTION 'MASS_MAINTAIN_PARAMETERS' EXPORTING p_action = 'S' "S=Read CHANGING p_params = p_params EXCEPTIONS record_not_found = 1 error_in_save = 2 invalid_action_code = 3 OTHERS = 4.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-032 "Warning text_question = text-042 text_button_1 = text-034 "yes text_button_2 = text-035 "no default_button = '1' display_cancel_button = 'X' IMPORTING answer = l_res.

MASS_EKKO_ENCODE_IN_FLAT_STR CALL FUNCTION 'MASS_EKKO_ENCODE_IN_FLAT_STR' TABLES p_all_gt_ekko = p_all_gt_ekko p_out_gt_ekko = l_out_gt_ekko p_out_gt_style = l_out_gt_style.

MASS_EKKO_ENCODE_IN_FLAT_STR CALL FUNCTION 'MASS_EKKO_ENCODE_IN_FLAT_STR' TABLES p_all_gt_ekko = p_t_invalid_ekko p_out_gt_ekko = l_out_inv_gt_ekko p_out_gt_style = l_out_inv_gt_style.

EKKO_SAVE_BACKGROUND CALL FUNCTION 'EKKO_SAVE_BACKGROUND' EXPORTING old_mckey = old_mckey TABLES p_all_gt_ekko_flat = l_out_gt_ekko p_all_gt_style_flat = l_out_gt_style p_inv_gt_ekko_flat = l_out_inv_gt_ekko p_inv_gt_style_flat = l_out_inv_gt_style CHANGING t_errors = t_errors.

EKKO_SAVE_BACKGROUND CALL FUNCTION 'EKKO_SAVE_BACKGROUND' IN BACKGROUND TASK EXPORTING old_mckey = old_mckey TABLES p_all_gt_ekko_flat = l_out_gt_ekko p_all_gt_style_flat = l_out_gt_style p_inv_gt_ekko_flat = l_out_inv_gt_ekko p_inv_gt_style_flat = l_out_inv_gt_style CHANGING t_errors = t_errors.

START_OF_BACKGROUNDTASK CALL FUNCTION 'START_OF_BACKGROUNDTASK' EXPORTING startdate = sy-datum starttime = sy-uzeit EXCEPTIONS OTHERS = 1.

MASS_EKKO_SAVE_CHANGE * CALL FUNCTION 'MASS_EKKO_SAVE_CHANGE' * EXPORTING * i_user = sy-uname * i_date = sy-datum * i_time = sy-uzeit * i_pgrmid = progname * i_good_lines = 0 * i_old_mckey = old_mckey * IMPORTING * e_number = key * TABLES * t_records_in = p_t_invalid_ekko * t_err_msg_in = t_errors * EXCEPTIONS * error_in_save_data = 1 * error_in_save_errors = 2 * error_in_number_generate = 3 * OTHERS = 4.

EKKO_UPDATE_FIELD_CATALOG CALL FUNCTION 'EKKO_UPDATE_FIELD_CATALOG' CHANGING gt_fieldcatalog = p_gt_fieldcatalog.

GET_R3_EXTENSION_SWITCH CALL FUNCTION 'GET_R3_EXTENSION_SWITCH' EXPORTING i_structure_package = 'EA-RETAIL' IMPORTING e_active = p_active EXCEPTIONS not_existing = 1 object_not_existing = 2 no_extension_object = 3 OTHERS = 4.



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