SAP Reports / Programs

RESDEDIMON SAP ABAP Report - IDoc Monitor for Incoming Forecast/JIT Delivery Schedules







RESDEDIMON is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use the monitor to select and further process the inbound forecast and JIT delivery schedules...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RESDEDIMON into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

EMFOR - Monitor for Forecast/JIT Del.Sched.


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


Text pool values


Selection Text: CIMTYP = D .
Selection Text: ARCKEY = D .
Selection Text: VTRNR = Purchase Order Number
Selection Text: UPDTIM = Time Last Change Was Made
Selection Text: UPDDAT = Last Changed On
Selection Text: TEST = Test Option
Selection Text: STATUS = Current Status
Selection Text: SNDSNA = International Address
Selection Text: SNDPRT = Partner Type of Sender
Selection Text: SNDPRN = Partner Number of Sender
Selection Text: SNDPOR = Port of Sender
Selection Text: SNDPFC = Partner Function of Sender
Selection Text: RCVSNA = International Address
Selection Text: RCVPRT = Partner Type of Recipient
Selection Text: RCVPRN = Partner Number of Recipient
Selection Text: RCVPOR = Port of Recipient
Selection Text: RCVPFC = Partner Function of Recipient
Selection Text: RCVLAD = Logical Addr. of Recipient
Selection Text: PARTN_WE = Goods Recipient/Ship-To Party
Selection Text: PARTN_LF = Our Vendor Number
Selection Text: PARTN_AG = Sold-to Party
Selection Text: MESTYP = Logical Message
Selection Text: KWERK = Customer Plant
Selection Text: KTEXT = Description
Selection Text: IDNKD = Customer Material
Selection Text: DFABL = Unloading Point
Selection Text: CREDAT = D .
Selection Text: STDVRS = D .
Selection Text: STDMES = D .
Selection Text: STD = D .
Selection Text: SNDSMN = D .
Selection Text: SNDSLF = D .
Selection Text: SNDSDF = D .
Selection Text: SNDSCA = D .
Selection Text: SNDSAD = D .
Selection Text: SNDLAD = D .
Selection Text: SERIAL = D .
Selection Text: REFMES = D .





Selection Text: REFINT = D .
Selection Text: REFGRP = D .
Selection Text: CRETIM = D .
Selection Text: DOCNUM = D .
Selection Text: EXPRSS = D .
Selection Text: GRUPPE = D .
Selection Text: IDOCTP = D .
Selection Text: MESCOD = D .
Selection Text: MESFCT = D .
Selection Text: OUTMOD = D .
Selection Text: RCVSAD = D .
Selection Text: RCVSCA = D .
Selection Text: RCVSDF = D .
Selection Text: RCVSLF = D .
Selection Text: RCVSMN = D .
Title: IDoc Monitor for Incoming Forecast/JIT Delivery Schedules
Text Symbol: 142 = Material Go-Ahead for Cum. Reqmt.
Text Symbol: 141 = Material Number Used by Vendor
Text Symbol: 140 = ID for Shipping/Arrival Time
Text Symbol: 139 = Figs Set to 0 On
Text Symbol: 138 = Discont. Ind.
Text Symbol: 137 = Docu. Required for Inspection Results
Text Symbol: 136 = Status key for Parts
Text Symbol: 135 = FPSD Number
Text Symbol: 134 = Cumulative Rqt for ProductionGo-Ahead
Text Symbol: 133 = Delivery Note Date
Text Symbol: 132 = Engineering Change Date
Text Symbol: 131 = Engineering Change Number
Text Symbol: 130 = Design Revision Number
Text Symbol: 129 = Current Cumulative Qty. Ordered
Text Symbol: 128 = EDI: Difference between CQs
Text Symbol: 127 = Recon.Date for Recon.CQ
Text Symbol: 126 = Key for Critical Stock
Text Symbol: 125 = Delivery Status Key
Text Symbol: 124 = Date of Last Delivery Posted by the Customer
Text Symbol: 123 = Last Schedule Line Quantity Received
Text Symbol: 143 = Item Number of the Underlying Purchase Order
Text Symbol: 144 = Delivery Note Time
Text Symbol: 145 = Order Unit





Text Symbol: 146 = Goods Receipt Time
Text Symbol: 147 = Search Term Assort.
Text Symbol: 148 = Cumul. Qty at Zero
Text Symbol: 149 = Mat. Go-Ahead CQ
Text Symbol: 150 = Period Ind. for Mat. Go-Ahead
Text Symbol: 151 = Prod. Go-Ahead CQ
Text Symbol: 152 = Period Ind. for Prod. Go-Ahead
Text Symbol: 153 = Max. No.
Text Symbol: 154 = APO
Text Symbol: 155 = ERP
Text Symbol: 156 = Maintain Tol. Profile for Operative/Forecast DSs
Text Symbol: 157 = MessClass
Text Symbol: 158 = Mess. No.
Text Symbol: 159 = IDoc Changed (Status 69)
Text Symbol: 160 = DySch Date Old
Text Symbol: 161 = DySch Date New
Text Symbol: 162 = IDocs Selected for Deletion
Text Symbol: 163 = Do you want to delete?
Text Symbol: 037 = Process. in frgd. not poss. after error
Text Symbol: 038 = The IDoc cannot be processed in the foreground
Text Symbol: 039 = Proc. in frgd. not possible
Text Symbol: 040 = Assign Sold-to Party for Release Orders
Text Symbol: 041 = Define Special Features for Scheduling Agreement
Text Symbol: 050 = IDoc Monitor for Incoming Forecast/JIT Delivery Schedules
Text Symbol: 051 = Sold-to Party
Text Symbol: 052 = Plnt
Text Symbol: 053 = Unload.Point
Text Symbol: 054 = Rel. Type
Text Symbol: 055 = PO Number
Text Symbol: 056 = Cust. Material
Text Symbol: 057 = Rel No. New
Text Symbol: 058 = Use
Text Symbol: 059 = Description
Text Symbol: 060 = Message Text
Text Symbol: 061 = StopInd.
Text Symbol: 062 = Icon
Text Symbol: 063 = Description
Text Symbol: 064 = Rel. No. Old
Text Symbol: 065 = Date of Release



Text Symbol: 066 = Vendor
Text Symbol: 067 = Text
Text Symbol: 036 = Do you still want to post the IDoc?
Text Symbol: 001 = Release Data
Text Symbol: 002 = Stand.Selection
Text Symbol: 003 = Addit.Select. 1
Text Symbol: 004 = Addit.Select 2
Text Symbol: 005 = Sender Data
Text Symbol: 006 = Recipient Data
Text Symbol: 007 = Result:
Text Symbol: 008 = IDocs found in the search of the control records. Do you want to continue?
Text Symbol: 009 = Display IDoc list for following status(es)
Text Symbol: 020 = Do you really want
Text Symbol: 021 = to delete IDoc?
Text Symbol: 022 = Caution!
Text Symbol: 023 = Logical Deletion of IDocs
Text Symbol: 024 = Really bypass the EDI stop for
Text Symbol: 025 = the IDoc?
Text Symbol: 026 = Bypass EDI Stop
Text Symbol: 027 = Status History for IDoc
Text Symbol: 028 = Status History
Text Symbol: 029 = Legend
Text Symbol: 030 = JIT Sched
Text Symbol: 031 = FD Schedule
Text Symbol: 033 = IDoc Data
Text Symbol: 035 = IDoc cannot be processed in foreground after error
Text Symbol: 068 = Light
Text Symbol: 099 = IDoc List
Text Symbol: 100 = Last Delivery Note No. of Cust.
Text Symbol: 101 = Last Del. Quantity
Text Symbol: 103 = Date of JIT Del.Sched.
Text Symbol: 104 = Receipt CQ
Text Symbol: 105 = End of Prod. Go-Ahead
Text Symbol: 106 = End of Mat. Go-Ahead
Text Symbol: 107 = Targ. CQ to Be Reached
Text Symbol: 108 = Date Targ. CQ
Text Symbol: 109 = Cust. Pt. of Consumption
Text Symbol: 110 = Key for Fore.Del.Sch
Text Symbol: 111 = D.Sched Val.Frm
Text Symbol: 112 = D.Sched Valid To
Text Symbol: 113 = Sched.LineType
Text Symbol: 114 = Fix. Date
Text Symbol: 115 = Backlog
Text Symbol: 116 = Immed. Req.
Text Symbol: 117 = Preview
Text Symbol: 118 = Additional Import Logic
Text Symbol: 119 = Replacement Import Logic
Text Symbol: 120 = EDI Prod. ShortText
Text Symbol: 121 = Sales Unit
Text Symbol: 122 = EDI Stor.Loc. of Cust.
Text Symbol: 098 = Max.No. of IDocs for Info Message
Text Symbol: 069 = Ship-to party
Text Symbol: 070 = Application doc. not posted (status 51)
Text Symbol: 071 = IDoc ready for transfer to appl. (status 64)
Text Symbol: 072 = Application doc. posted (status 53)
Text Symbol: 073 = Special Status
Text Symbol: 074 = IDocs with EDI Stop Indicator
Text Symbol: 075 = IDocs with "Deleted" Status
Text Symbol: 076 = Text Available at Header and/or Item Levels
Text Symbol: 077 = Left:
Text Symbol: 078 = Purchasing Doc.: Branch to Transaction VA33 - Display Sched. Agmt.
Text Symbol: 079 = IDoc Numbre: Branch to Display of IDoc in Readable Form
Text Symbol: 080 = Display of Available Texts at Header and/or Item Level
Text Symbol: 081 = Functions For Which Only One Line Can Be Selected:
Text Symbol: 082 = Bypass EDI Stop
Text Symbol: 083 = Functions For Which Several Lines Can Be Selected
Text Symbol: 084 = Proc. IDocs in Frgd.
Text Symbol: 085 = Proc. IDocs in Bkgd.
Text Symbol: 086 = Delete IDoc Logically
Text Symbol: 087 = Process IDocs in frgd. after error (only poss. over Goto menu)
Text Symbol: 088 = Choose Line
Text Symbol: 089 = Choose IMG Activities
Text Symbol: 090 = Tol
Text Symbol: 091 = ToleranceViolation


INCLUDES used within this REPORT RESDEDIMON

INCLUDE RESDEDI_DATA.
INCLUDE RESDEDI_DAT46.
INCLUDE RESDEDI_INIT.
INCLUDE RESDEDI_CREATEICONS.


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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SELECTION_SCREEN' TABLES p_exclude = gt_extab.

MESSAGE_PREPARE CALL FUNCTION 'MESSAGE_PREPARE' EXPORTING language = sy-langu msg_id = p_msg_id msg_no = p_msg_no msg_var1 = msg_var1 msg_var2 = msg_var2 msg_var3 = msg_var3 IMPORTING msg_text = msg_text EXCEPTIONS function_not_completed = 1 message_not_found = 2 OTHERS = 3.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = msg_text.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text-028 "Statushistorie i_tabname = 'STATUSHIST' it_fieldcat = s_fieldcat[] it_excluding = gt_extab[] TABLES t_outtab = statushist EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'STATUSHIST' * I_BACKGROUND_ID = ' ' i_grid_title = text-028 * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = s_fieldcat[] it_excluding = gt_extab[] * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = i_screen_start_column = 10 i_screen_start_line = 5 i_screen_end_column = 132 i_screen_end_line = 20 TABLES t_outtab = statushist EXCEPTIONS program_error = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "#EC FB_OLDED EXPORTING defaultoption = 'Y' diagnosetext1 = text-022 textline1 = text textline2 = text-025 titel = text-026 cancel_display = ' ' IMPORTING answer = answer.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "#EC FB_OLDED EXPORTING defaultoption = 'Y' diagnosetext1 = idoc_edidc-docnum textline1 = text-035 textline2 = text-036 titel = text-037 cancel_display = ' ' IMPORTING answer = answer.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * EXPORTING * ERROR_FLAG = C_FALSE * INBOUND_PARTNER_PROFILE = * DO_COMMIT = C_TRUE TABLES idoc_control = idoc_control idoc_data = i_edidd EXCEPTIONS error_opening_idoc = 1 error_writing_idoc_status = 2 no_idocs = 3 OTHERS = 4.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' "#EC FB_OLDED EXPORTING defaultoption = 'Y' diagnosetext1 = idoc_edidc-docnum textline1 = text-038 textline2 = text-036 titel = text-039 cancel_display = ' ' IMPORTING answer = answer.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * EXPORTING * ERROR_FLAG = C_FALSE * INBOUND_PARTNER_PROFILE = * DO_COMMIT = C_TRUE TABLES idoc_control = idoc_control idoc_data = i_edidd EXCEPTIONS error_opening_idoc = 1 error_writing_idoc_status = 2 no_idocs = 3 OTHERS = 4.

APPLICATION_IDOC_POST_IMMEDIAT CALL FUNCTION 'APPLICATION_IDOC_POST_IMMEDIAT' * EXPORTING * ERROR_FLAG = C_FALSE * INBOUND_PARTNER_PROFILE = * DO_COMMIT = C_TRUE TABLES idoc_control = idoc_control idoc_data = i_edidd EXCEPTIONS error_opening_idoc = 1 error_writing_idoc_status = 2 no_idocs = 3 OTHERS = 4.

EDM01_DELETE_IDOC CALL FUNCTION 'EDM01_DELETE_IDOC' EXPORTING docnum_iv = int_bdidocstat-docnum TABLES ct_bdidocstat = del_bdidocstat EXCEPTIONS not_possible = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = TEXT-022 TEXTLINE1 = TEXT TEXTLINE2 = TEXT-163 TITEL = TEXT-023 CANCEL_DISPLAY = ' ' IMPORTING ANSWER = ANSWER.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text-029 "Legende i_tabname = 'LEGENDE' it_fieldcat = l_fieldcat[] it_excluding = gt_extab[] TABLES t_outtab = legende EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'LEGENDE' * I_BACKGROUND_ID = ' ' i_grid_title = text-029 * I_GRID_SETTINGS = * IS_LAYOUT = it_fieldcat = l_fieldcat[] it_excluding = gt_extab[] * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = i_screen_start_column = 10 i_screen_start_line = 5 i_screen_end_column = 90 i_screen_end_line = 20 TABLES t_outtab = legende EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = text-089 i_selection = 'X' i_scroll_to_sel_line = 'X' i_tabname = 'IMG_AUS' it_fieldcat = w_fieldcat[] it_excluding = gt_extab[] IMPORTING es_selfield = rs_selfield TABLES t_outtab = img_aus EXCEPTIONS program_error = 1 OTHERS = 2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln1 IMPORTING output = vbeln1.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING input = vbeln2 IMPORTING output = vbeln2.

IDOC_INPUT CALL FUNCTION 'IDOC_INPUT' EXPORTING no_of_retries = 0 mass_processing = 'X' input_method = method end_event_enabled = 'X' IDOC_START_EVENT_ENABLED = C_FALSE "Note 1818898 * END_EVENT_ALWAYS = C_FALSE * DO_COMMIT = C_TRUE * PROCESS_CODE = * IMPORTING * EXCEPTION_VALUE = * INPUT_SUCCEEDED_FOR_ALL = TABLES unprocessed_idocs = idoc_num idoc_data = i_edidd idoc_control = i_edidc EXCEPTIONS idoc_open_lock = 1 idoc_open_not_exist = 2 idoc_open_invalid = 3 idoc_open_already = 4 idoc_write_number_invalid = 5 idoc_write_status_invalid = 6 idoc_write_no_status = 7 idoc_write_lock = 8 idoc_write_db_error = 9 idoc_close_not_open = 10 idoc_close_db_error = 11 idoc_close_parameter_error = 12 idoc_close_no_status_written = 13 idocs_do_not_exist = 14 idocs_have_no_data_records = 15 unprocessed_idocs_empty = 16 OTHERS = 17 .

IDOC_STATUS_WRITE_TO_DATABASE CALL FUNCTION 'IDOC_STATUS_WRITE_TO_DATABASE' EXPORTING idoc_number = dele_docnum TABLES idoc_status = dele_bdidocstat "note 701895 EXCEPTIONS idoc_foreign_lock = 1 idoc_not_found = 2 idoc_status_records_empty = 3 idoc_status_invalid = 4 db_error = 5 OTHERS = 6.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'IDOCDELINS' objkey = idoc_objkey event = 'INPUTFINISHED' * CREATOR = ' ' * TAKE_WORKITEM_REQUESTER = ' ' * START_WITH_DELAY = ' ' start_recfb_synchron = 'X' * NO_COMMIT_FOR_QUEUE = ' ' * DEBUG_FLAG = ' ' * NO_LOGGING = ' ' * IDENT = * IMPORTING * EVENT_ID = * TABLES * EVENT_CONTAINER = EXCEPTIONS objtype_not_found = 1 OTHERS = 2 .

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'ESDIDOC' objkey = idoc_objkey event = 'INPUTFINISHED' * CREATOR = ' ' * TAKE_WORKITEM_REQUESTER = ' ' * START_WITH_DELAY = ' ' start_recfb_synchron = 'X' * NO_COMMIT_FOR_QUEUE = ' ' * DEBUG_FLAG = ' ' * NO_LOGGING = ' ' * IDENT = * IMPORTING * EVENT_ID = * TABLES * EVENT_CONTAINER = EXCEPTIONS objtype_not_found = 1 OTHERS = 2 .

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' i_structure_name = 'ESD_INFO1' is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = IT_SORT[] * IT_FILTER = LT_FILTER * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = g_default i_save = g_save is_variant = g_variant it_events = gt_events[] * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_tab_all EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' i_callback_program = g_repid i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = it_sort[] * IT_FILTER = LT_FILTER * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_DEFAULT = g_default i_save = g_save is_variant = g_variant it_events = gt_events[] * IT_EVENT_EXIT = i_tabname_header = 'GT_HEADER' i_tabname_item = 'GT_INFO' * I_STRUCTURE_NAME_HEADER = * I_STRUCTURE_NAME_ITEM = is_keyinfo = gs_keyinfo * IS_PRINT = * IS_REPREP_ID = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab_header = gt_header t_outtab_item = gt_info EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING es_layout = gs_layout et_fieldcat = gt_fieldcat[] * ET_SORT = T_SLIS_SORT * ET_FILTER = * ES_LIST_SCROLL = es_variant = g_variant * E_WIDTH = * ET_MARKED_COLUMNS = * ET_FILTERED_ENTRIES = * ET_FILTERED_ENTRIES_HEADER = * ET_FILTERED_ENTRIES_ITEM = TABLES et_outtab = gt_tab_all * ET_OUTTAB_HEADER = GT_HEADER * ET_OUTTAB_ITEM = GT_INFO * ET_COLLECT00 = * ET_COLLECT01 = * ET_COLLECT02 = * ET_COLLECT03 = * ET_COLLECT04 = * ET_COLLECT05 = * ET_COLLECT06 = * ET_COLLECT07 = * ET_COLLECT08 = * ET_COLLECT09 = EXCEPTIONS no_infos = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_SET' EXPORTING is_layout = gs_layout it_fieldcat = gt_fieldcat[].

ESD01_IDOC_MESSAGE_READ CALL FUNCTION 'ESD01_IDOC_MESSAGE_READ' EXPORTING idoc_number = gt_info-docnum TABLES idoc_status = t_idoc_status all_status = t_idoc_status.

BAPI_MESSAGE_GETDETAIL CALL FUNCTION 'BAPI_MESSAGE_GETDETAIL' DESTINATION rfcdest EXPORTING id = t_idoc_status-stamid number = t_idoc_status-stamno * LANGUAGE = SY-LANGU textformat = 'ASC' * LINKPATTERN = * MESSAGE_V1 = * MESSAGE_V2 = * MESSAGE_V3 = * MESSAGE_V4 = IMPORTING message = apo_message * RETURN = * TABLES * TEXT = messtab EXCEPTIONS communication_failure = 1 MESSAGE msg_text system_failure = 2 MESSAGE msg_text.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = text_question display_cancel_button = ' ' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

ESD01_IDOC_MESSAGE_READ CALL FUNCTION 'ESD01_IDOC_MESSAGE_READ' EXPORTING idoc_number = int_edidc-docnum IMPORTING idoc_message = messtxt TABLES idoc_status = t_idoc_status all_status = all_idoc_status.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'GRUPPE' dynpprog = g_repid dynpnr = '1100' dynprofield = 'GRUPPE' value_org = 'S' display = ' ' TABLES value_tab = int_esdmsg return_tab = f4ret EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

ESD01_IDOC_MESSAGE_READ CALL FUNCTION 'ESD01_IDOC_MESSAGE_READ' EXPORTING idoc_number = gt_header-docnum IMPORTING idoc_message = messtxt TABLES idoc_status = t_idoc_status all_status = t_idoc_status.

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'ESDIDOC' objkey = idoc_objkey event = 'INPUTFINISHED' * CREATOR = ' ' * TAKE_WORKITEM_REQUESTER = ' ' * START_WITH_DELAY = ' ' start_recfb_synchron = 'X' * NO_COMMIT_FOR_QUEUE = ' ' * DEBUG_FLAG = ' ' * NO_LOGGING = ' ' * IDENT = * IMPORTING * EVENT_ID = * TABLES * EVENT_CONTAINER = EXCEPTIONS objtype_not_found = 1 OTHERS = 2 .

SWE_EVENT_CREATE CALL FUNCTION 'SWE_EVENT_CREATE' EXPORTING objtype = 'IDOCDELINS' objkey = idoc_objkey event = 'INPUTFINISHED' * CREATOR = ' ' * TAKE_WORKITEM_REQUESTER = ' ' * START_WITH_DELAY = ' ' start_recfb_synchron = 'X' * NO_COMMIT_FOR_QUEUE = ' ' * DEBUG_FLAG = ' ' * NO_LOGGING = ' ' * IDENT = * IMPORTING * EVENT_ID = * TABLES * EVENT_CONTAINER = EXCEPTIONS objtype_not_found = 1 OTHERS = 2 .



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