SPI_ALE_TRACKINGDATA_CREATE is a standard Executable ABAP Report 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 SPI_ALE_TRACKINGDATA_CREATE 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.
Selection Text: INBDIMMD = Synchronous Inbound IDoc
Selection Text: IPIDCNO1 = Outbound IDoc Number
Selection Text: IPIDCNO2 = Additional Outbound IDoc
Selection Text: IPIDCNO3 = Incoming IDoc Number
Selection Text: PROCIMMD = Synchronous IDoc Processing
Selection Text: RFCIMMED = Call tRFC Directly
Selection Text: TRFC1IDC = Only One IDoc for Each tRFC
Title: Test Environment for Calling ALE Agents
Text Symbol: 001 = ALE process successful
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
IDOC_READ_COMPLETELY CALL FUNCTION 'IDOC_READ_COMPLETELY' EXPORTING document_number = ipidcno1 IMPORTING idoc_control = ls_idoc1_control number_of_data_records = lp_idoc1_number_data_records number_of_status_records = lp_idoc1_number_status_records TABLES int_edids = lt_idoc1_int_edids int_edidd = lt_idoc1_int_edidd EXCEPTIONS document_not_exist = 1 document_number_invalid = 2 OTHERS = 3.
IDOC_READ_COMPLETELY CALL FUNCTION 'IDOC_READ_COMPLETELY' EXPORTING document_number = ipidcno2 IMPORTING idoc_control = ls_idoc2_control number_of_data_records = lp_idoc2_number_data_records number_of_status_records = lp_idoc2_number_status_records TABLES int_edids = lt_idoc2_int_edids int_edidd = lt_idoc2_int_edidd EXCEPTIONS document_not_exist = 1 document_number_invalid = 2 OTHERS = 3.
IDOC_READ_COMPLETELY CALL FUNCTION 'IDOC_READ_COMPLETELY' EXPORTING document_number = ipidcno3 IMPORTING idoc_control = ls_idoc3_control number_of_data_records = lp_idoc3_number_data_records number_of_status_records = lp_idoc3_number_status_records TABLES int_edids = lt_idoc3_int_edids int_edidd = lt_idoc3_int_edidd EXCEPTIONS document_not_exist = 1 document_number_invalid = 2 OTHERS = 3.
SPI_AGENT_IDOC_CREATE CALL FUNCTION 'SPI_AGENT_IDOC_CREATE' EXPORTING is_control_record = ls_idoc1_control it_data_record = lt_idoc1_int_edidd is_appl_obj = ls_app_obj.
ARFC_GET_TID CALL FUNCTION 'ARFC_GET_TID' IMPORTING TID = ls_trfc_id .
SPI_AGENT_IDOC_OUTBOUND CALL FUNCTION 'SPI_AGENT_IDOC_OUTBOUND' DESTINATION dest EXPORTING it_control_records = lt_idoc_controls is_trfc_id = ls_trfc_id.
SPI_AGENT_IDOC_INBOUND CALL FUNCTION 'SPI_AGENT_IDOC_INBOUND' DESTINATION dest EXPORTING is_control_record_old = ls_idoc1_control is_control_record_new = ls_idoc2_control it_data_record = lt_idoc1_int_edidd is_trfc_id = ls_trfc_id.
SPI_AGENT_IDOC_PROCESS CALL FUNCTION 'SPI_AGENT_IDOC_PROCESS' DESTINATION dest EXPORTING is_control_record = ls_idoc2_control it_data_record = lt_idoc2_int_edidd is_appl_obj = ls_app_obj.
SPI_AGENT_IDOC_STATUS CALL FUNCTION 'SPI_AGENT_IDOC_STATUS' DESTINATION dest EXPORTING is_control_record = ls_idoc2_control TABLES it_status_records = lt_idoc2_int_edids .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SPI_ALE_TRACKINGDATA_CREATE - Test Environment for Calling ALE Agents SPI_ALE_TRACKINGDATA_CREATE - Test Environment for Calling ALE Agents SPI_ALE_CALL_TOP - Include SPI_ALE_CALL_TOP SPI_ALE_CALL_O01 - Include SPI_ALE_CALL_O01 SPI_ALE_CALL_I01 - Include SPI_ALE_CALL_I01 SPI_ALE_CALL - Program SPI_ALE_CALL