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

RWRF_DISCONT_MON_FORMS SAP ABAP INCLUDE - Include RWRF_DISCONT_MON_FORMS







RWRF_DISCONT_MON_FORMS 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 RWRF_DISCONT_MON_FORMS 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 RWRF_DISCONT_MON_FORMS. "Basic submit
SUBMIT RWRF_DISCONT_MON_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT RWRF_DISCONT_MON_FORMS 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 RWRF_DISCONT_MON_FORMS


INCLUDES used within this REPORT RWRF_DISCONT_MON_FORMS

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:

READ_FOLLOW_ACTIONS CALL FUNCTION 'READ_FOLLOW_ACTIONS' TABLES pt_actions = gt_follow_action EXCEPTIONS no_entry = 1 OTHERS = 2.

READ_MESSAGES_FOR_ARBGB CALL FUNCTION 'READ_MESSAGES_FOR_ARBGB' EXPORTING pi_sprsl = sy-langu pi_arbgb = al_arbgb TABLES pt_t100 = gt_t100.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_internal_tabname = tabname i_structure_name = structure_name CHANGING ct_fieldcat = lt_fieldcat.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'STATUS_SET_HDR' i_callback_user_command = 'USER_COMMAND' i_structure_name = gs_layout-box_tabname is_layout = gs_layout it_fieldcat = gt_fieldcat i_default = c_x it_events = gt_events it_event_exit = lt_event_exit[] it_sort = gt_sort TABLES t_outtab = gt_discont_hdr_alv.

WRF_DISCONT_DATA_READ CALL FUNCTION 'WRF_DISCONT_DATA_READ' EXPORTING pi_disnr = gt_discont_hdr_alv-disnr pi_enqueue = 'E' IMPORTING pe_discont_hdr = gv_discont_hdr TABLES pt_discont_pos = gt_discont_pos pt_discont_err = gt_discont_err EXCEPTIONS not_found = 1 enqueue_error = 2 OTHERS = 3.

DEQUEUE_EWRF_DISNR CALL FUNCTION 'DEQUEUE_EWRF_DISNR' EXPORTING disnr = gt_discont_hdr_alv-disnr _scope = '1'.

ENQUEUE_EMMATAE CALL FUNCTION 'ENQUEUE_EMMATAE' EXPORTING matnr = gt_discont_pos_alv-matnr EXCEPTIONS foreign_lock = 4 system_failure = 8.

DEQUEUE_EMMATAE CALL FUNCTION 'DEQUEUE_EMMATAE' EXPORTING matnr = gt_discont_pos_alv-matnr.

WRF_DISCONT_DISPLAY_ERRORS CALL FUNCTION 'WRF_DISCONT_DISPLAY_ERRORS' EXPORTING pi_discont_pos_alv = gt_discont_pos_alv pi_discont_err_alv = gt_discont_err_alv.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_filter = lt_filter et_filtered_entries_item = lt_filtered_entries_item EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING it_filter = lt_filter.

WRF_DISCONT_DISPLAY_ERROR_PROT CALL FUNCTION 'WRF_DISCONT_DISPLAY_ERROR_PROT' TABLES pt_prot = gt_prot.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = g_repid i_callback_pf_status_set = 'STATUS_SET_POS' i_callback_user_command = 'USER_COMMAND' i_structure_name_header = 'WRF_DISCONT_POS_ALV_STY' i_structure_name_item = 'WRF_DISCONT_ERR_ALV_STY' i_tabname_header = 'GT_DISCONT_POS_ALV' i_tabname_item = 'GT_DISCONT_ERR_ALV' is_layout = gs_layout it_fieldcat = gt_fieldcat i_default = c_x it_events = gt_events it_event_exit = lt_event_exit[] it_sort = gt_sort is_keyinfo = ls_keyinfo IT_EXCEPT_QINFO = lt_except_qinfo "Accessibility TABLES t_outtab_header = gt_discont_pos_alv t_outtab_item = gt_discont_err_alv.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = help_info IMPORTING select_value = select_value TABLES dynpselect = dynpselect dynpvaluetab = dynpvaluetab.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING et_filtered_entries_item = lt_filtered_entries_item EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = lv_percentage.

DEQUEUE_EMMATAE CALL FUNCTION 'DEQUEUE_EMMATAE' EXPORTING matnr = matnr.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = title text_question = new_text IMPORTING answer = answer.

WLK1_BUFFER_REFRESH





CALL FUNCTION 'WLK1_BUFFER_REFRESH'.

CREATE_DISCONTINUATION_EVENTS CALL FUNCTION 'CREATE_DISCONTINUATION_EVENTS' IN UPDATE TASK TABLES discontinuation_key = gt_start_wflow.

MULTIPLE_MATERIAL_LOG_DELETE CALL FUNCTION 'MULTIPLE_MATERIAL_LOG_DELETE' IN UPDATE TASK TABLES discontinuation_key = gt_set_lvorm.

ENQUEUE_EWRF_DISNR CALL FUNCTION 'ENQUEUE_EWRF_DISNR' EXPORTING mode_wrf_discont_hdr = 'E' disnr = gv_discont_hdr-disnr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

WRF_DISCONT_DATA_MAINTAIN CALL FUNCTION 'WRF_DISCONT_DATA_MAINTAIN' EXPORTING pi_komplett_loeschen = c_x CHANGING pc_discont_hdr = gv_discont_hdr EXCEPTIONS interval_error = 1 db_error = 2 not_found = 3 internal_error = 4 OTHERS = 5.

DEQUEUE_EWRF_DISNR CALL FUNCTION 'DEQUEUE_EWRF_DISNR' EXPORTING disnr = gv_discont_hdr-disnr _scope = '1'.

WRF_DISCONT_DATA_MAINTAIN CALL FUNCTION 'WRF_DISCONT_DATA_MAINTAIN' EXPORTING pi_komplett_loeschen = c_x CHANGING pc_discont_hdr = gv_discont_hdr EXCEPTIONS interval_error = 1 db_error = 2 not_found = 3 internal_error = 4 OTHERS = 5.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING popup_title = text-002 IMPORTING returncode = lv_return TABLES fields = lt_fields EXCEPTIONS error_in_fields = 1 OTHERS = 2.

WRF_DISCONT_DATA_MAINTAIN CALL FUNCTION 'WRF_DISCONT_DATA_MAINTAIN' TABLES pt_discont_pos_ins = lt_discont_pos_ins pt_discont_err_ins = lt_discont_err_ins pt_discont_pos_upd = lt_discont_pos_upd pt_discont_err_upd = lt_discont_err_upd pt_discont_pos_del = lt_discont_pos_del pt_discont_err_del = lt_discont_err_del CHANGING pc_discont_hdr = gv_discont_hdr EXCEPTIONS interval_error = 1 db_error = 2 not_found = 3 internal_error = 4 OTHERS = 5.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'VERFA' TABLES value_tab = lt_value[] field_tab = lt_field[] return_tab = lt_return[].

MAKT_SINGLE_READ CALL FUNCTION 'MAKT_SINGLE_READ' EXPORTING matnr = gt_discont_pos_alv-matnr spras = sy-langu IMPORTING wmakt = lv_makt EXCEPTIONS OTHERS = 3.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = gt_discont_err_alv-arbgb message_number = lv_msgnr message_var1 = gt_discont_err_alv-msgv1 message_var2 = gt_discont_err_alv-msgv2 message_var3 = gt_discont_err_alv-msgv3 message_var4 = gt_discont_err_alv-msgv4 IMPORTING message_text = lv_lisel EXCEPTIONS message_not_found = 1 OTHERS = 2.

WRF_DATA_FOR_REORGANISATION CALL FUNCTION 'WRF_DATA_FOR_REORGANISATION' EXPORTING pi_test_on = c_x pi_enqueue_mode = 'E' pi_complete_check = c_x TABLES pt_discont_pos = lt_discont_pos pt_discont_err = lt_discont_err EXCEPTIONS sys_not_found = 1 OTHERS = 2.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = gt_discont_err_alv-arbgb message_number = lv_msgnr message_var1 = gt_discont_err_alv-msgv1 message_var2 = gt_discont_err_alv-msgv2 message_var3 = gt_discont_err_alv-msgv3 message_var4 = gt_discont_err_alv-msgv4 IMPORTING message_text = lv_lisel EXCEPTIONS message_not_found = 1 OTHERS = 2.

LESEN_VARIANTEN_ZU_SA call function 'LESEN_VARIANTEN_ZU_SA' exporting sammelartikel = pi_satnr tables varianten = lt_var_mara exceptions enqueue_mode_changed = 1 lock_on_material = 2 lock_system_error = 3 wrong_call = 4 not_found = 5 no_maw1_for_mara = 6 lock_on_marc = 7 lock_on_mbew = 8 others = 9.



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