RSIDOCWF 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 RSIDOCWF into the relevant SAP transactions such as SE38 or SE80
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.
Title: Program for object type IDOC: EDI intermediate document
Text Symbol: 001 = IDoc: &1 message type: &2
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
EDI_DOCUMENT_STATUS_DISPLAY CALL FUNCTION 'EDI_DOCUMENT_STATUS_DISPLAY' EXPORTING docnum = edidc-docnum actions = actions * STATUS_KEY = SPACE * CALL_ASYN = ' ' tree_display = 'A' IMPORTING action = action EXCEPTIONS no_status_record_found = 1 OTHERS = 2.
EDI_DOCUMENT_OPEN_FOR_PROCESS CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_PROCESS' EXPORTING db_read_option = 'N' document_number = idoc_number enqueue_option = 'S' IMPORTING idoc_control = control_record EXCEPTIONS document_foreign_lock = 1 document_not_exist = 2 document_number_invalid = 3 document_is_already_open = 4 OTHERS = 5.
EDI_DOCUMENT_STATUS_SET CALL FUNCTION 'EDI_DOCUMENT_STATUS_SET' EXPORTING document_number = idoc_number idoc_status = status_record IMPORTING idoc_control = control_record EXCEPTIONS document_number_invalid = 1 other_fields_invalid = 2 status_invalid = 3 OTHERS = 4.
EDI_DOCUMENT_CLOSE_PROCESS CALL FUNCTION 'EDI_DOCUMENT_CLOSE_PROCESS' EXPORTING document_number = idoc_number background = 'N' no_dequeue = ' ' IMPORTING idoc_control = control_record EXCEPTIONS document_not_open = 1 failure_in_db_write = 2 parameter_error = 3 status_set_missing = 4 OTHERS = 5.
EDI_DOCUMENT_OPEN_FOR_PROCESS CALL FUNCTION 'EDI_DOCUMENT_OPEN_FOR_PROCESS' EXPORTING db_read_option = 'Y' document_number = idoc_number enqueue_option = 'S' IMPORTING idoc_control = control_record EXCEPTIONS document_foreign_lock = 1 document_not_exist = 2 document_number_invalid = 3 document_is_already_open = 4 OTHERS = 5.
EDI_DOCUMENT_STATUS_SET CALL FUNCTION 'EDI_DOCUMENT_STATUS_SET' EXPORTING document_number = idoc_number idoc_status = status_record IMPORTING idoc_control = control_record EXCEPTIONS document_number_invalid = 1 other_fields_invalid = 2 status_invalid = 3 OTHERS = 4.
EDI_SEGMENTS_GET_ALL CALL FUNCTION 'EDI_SEGMENTS_GET_ALL' EXPORTING document_number = idoc_number TABLES idoc_containers = data_records EXCEPTIONS OTHERS = 4.
EDI_OUTPUT_NEW CALL FUNCTION 'EDI_OUTPUT_NEW' EXPORTING onl_option = 'O' error_flag = 'X' TABLES i_edidc = control_records i_edidd = data_records.
EDI_DOCUMENT_CLOSE_PROCESS CALL FUNCTION 'EDI_DOCUMENT_CLOSE_PROCESS' EXPORTING document_number = idoc_number background = 'N' no_dequeue = ' ' IMPORTING idoc_control = control_record EXCEPTIONS document_not_open = 1 failure_in_db_write = 2 parameter_error = 3 status_set_missing = 4 OTHERS = 5.
IDOC_READ_GLOBAL CALL FUNCTION 'IDOC_READ_GLOBAL' IMPORTING GLOBAL_DATA = l_edi_global EXCEPTIONS INTERNAL_ERROR = 1 OTHERS = 2 .
IDOC_START_INBOUND CALL FUNCTION 'IDOC_START_INBOUND' EXPORTING pi_inbound_process_data = l_inbound_process_data pi_org_unit = l_ediadmin TABLES t_control_records = l_t_control_records EXCEPTIONS error_before_call_application = 1 wf_task_error = 1 invalid_document_number = 2 inbound_process_not_possible = 2 old_wf_start_failed = 2 serious_inbound_error = 2 OTHERS = 2.
IDOC_ERROR_WORKFLOW_START CALL FUNCTION 'IDOC_ERROR_WORKFLOW_START' EXPORTING docnum = l_t_control_records-docnum eventcode = 'EDII' EXCEPTIONS no_entry_in_tede5 = 0 error_in_start_workflow = 0 OTHERS = 0.
IDOC_ERROR_WORKFLOW_START CALL FUNCTION 'IDOC_ERROR_WORKFLOW_START' EXPORTING docnum = 0 eventcode = 'EDIM' mess = l_msg_fields EXCEPTIONS no_entry_in_tede5 = 0 error_in_start_workflow = 0 OTHERS = 0.
METHOD_IDOC_FORWARD CALL FUNCTION 'METHOD_IDOC_FORWARD' EXPORTING pi_docnum = l_docnum IMPORTING pe_workflow_result = l_forward EXCEPTIONS document_locked = 1 document_missing = 2 no_receivers = 3 OTHERS = 4.
EDI_DOCUMENT_STATUS_DISPLAY CALL FUNCTION 'EDI_DOCUMENT_STATUS_DISPLAY' EXPORTING docnum = edidc-docnum actions = actions status_key = empty_stat_key call_asyn = ' ' tree_display = 'Y' IMPORTING action = action EXCEPTIONS no_status_record_found = 1 OTHERS = 2.
IDOC_XML_TRANSFORM CALL FUNCTION 'IDOC_XML_TRANSFORM' EXPORTING docnum = edidc-docnum ACTIONS = actions * STYLEID = IMPORTING ACTION = action EXCEPTIONS NO_IDOC_XML_LOADED = 1 NO_IDOC_XML_DISPLAY_AVAILABLE = 2 OTHERS = 3 .
EDI_DOCUMENT_STATUS_DISPLAY CALL FUNCTION 'EDI_DOCUMENT_STATUS_DISPLAY' EXPORTING docnum = edidc-docnum actions = actions * STATUS_KEY = SPACE * CALL_ASYN = ' ' tree_display = 'A' IMPORTING action = action EXCEPTIONS no_status_record_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSIDOCWF - Program for object type IDOC: EDI intermediate document RSIDOCWF - Program for object type IDOC: EDI intermediate document RSIDOCAM - Program for object type IDOCSTATIS: IDoc statistics RSIDOCAM - Program for object type IDOCSTATIS: IDoc statistics RSIDOC21 - Program for object type IDOC21: IDocs from 2.1/2.2 RSIDOC21 - Program for object type IDOC21: IDocs from 2.1/2.2