SAP Reports / Programs | Logistics - General | Logistics - General | Transportation Management Integration(LO-INT-TM) SAP LO

TMTRQCUSTCHECK SAP ABAP Report - Check Customizing Settings for ERP-TM Integration







TMTRQCUSTCHECK 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 this report to check if the required settings for sending a specific ERP document to SAP Transportation Management (SAP TM) are correct and complete...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 TMTRQCUSTCHECK 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 TMTRQCUSTCHECK. "Basic submit
SUBMIT TMTRQCUSTCHECK AND RETURN. "Return to original report after report execution complete
SUBMIT TMTRQCUSTCHECK 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: P_SO = D .
Selection Text: P_SALES = Sales Order
Selection Text: P_PURCH = Purchase Order
Selection Text: P_PO = D .
Selection Text: P_DO = D .
Selection Text: P_DEST = SAP TM System
Selection Text: P_DELIV = Delivery
Title: Check Customizing Settings for ERP-TM Integration
Text Symbol: 090 = No material related to this document
Text Symbol: 091 = No location related to this document
Text Symbol: 092 = No business partner related to this document
Text Symbol: 093 = To make the required settings, call transaction SWETYPV and create an event type linkage for the events CREATED and CHANGED.
Text Symbol: 094 = If message keys have been found, you can display the monitor for processed XML messages.
Text Symbol: 095 = See "Monitor for Processed XML Messages" below.
Text Symbol: 096 = Make sure that output type TRD0 has been entered.
Text Symbol: 097 = If not, enter TRD0 with the following data:
Text Symbol: 098 = Output Type: TRD0
Text Symbol: 099 = Description: Enter a description
Text Symbol: 100 = "General Data" tab
Text Symbol: 101 = Access Sequence: 0001
Text Symbol: 102 = Access to Conditions: Select this checkbox
Text Symbol: 103 = CannotBeChanged: Do not select this checkbox
Text Symbol: 089 = OTyp: &OTYP (Order Type)
Text Symbol: 088 = PGr: &PGR (Purchasing Group)
Text Symbol: 087 = POrg: &PORG (Purchasing Organization)
Text Symbol: 086 = In the Customizing activity "Activate Transfer of Purchase Orders", create a new entry with the following data:
Text Symbol: 085 = Event type linkages found for the events CREATED and CHANGED
Text Symbol: 084 = Receiver Status: No errors
Text Symbol: 083 = Linkage Activated: Select this checkbox
Text Symbol: 082 = Receiver Function Module: SWW_WI_CREATE_VIA_EVENT_IBF
Text Symbol: 081 = Receiver Type: WS53800008
Text Symbol: 080 = Object Type: CL_SE_PUR_PO_WF_OUT
Text Symbol: 079 = Object Category: ABAP Class
Text Symbol: 078 = In Customizing for event type linkages, proceed as follows:
Text Symbol: 077 = Customizing for event type linkages does not contain any errors
Text Symbol: 076 = Service ID: 8 CL_SE_PUR_TRQCANCELREQUEST
Text Symbol: 075 = Service ID: 7 CL_SE_PUR_TRQSUITEREQUEST
Text Symbol: 104 = Multiple issuing: Select this checkbox





Text Symbol: 135 = Check not possible; connection to SAP TM system failed or RFC function not found in target system
Text Symbol: 133 = System/Client: &SYSTEMCLIENT
Text Symbol: 132 = Some currencies have not been transferred correctly
Text Symbol: 131 = All currencies have been transferred correctly
Text Symbol: 130 = Some units have not been transferred correctly
Text Symbol: 129 = All units have been transferred correctly
Text Symbol: 128 = Business system group not found in the target system
Text Symbol: 127 = The following errors occurred in the SAP TM system:
Text Symbol: 126 = RFC Destination
Text Symbol: 125 = This may be due to an error in the SAP TM system.
Text Symbol: 124 = The document has not been found in SAP TM, but the corresponding XML message has been found.
Text Symbol: 122 = CREATE
Text Symbol: 121 = CHANGE
Text Symbol: 120 = Type
Text Symbol: 119 = Date and Time
Text Symbol: 118 = Form Routine: PROCESS
Text Symbol: 117 = Program: OPS_SE_SHP_SEND_MESSAGE
Text Symbol: 116 = Transmission Medium: 8
Text Symbol: 115 = Make sure that the following entries have been made for the output types:
Text Symbol: 114 = In the dialog structure, select "Processing Routines".
Text Symbol: 113 = Communication Strategy: Leave this empty
Text Symbol: 112 = Partner Function: Leave this empty
Text Symbol: 111 = Transmission Medium: 8 Special function
Text Symbol: 110 = Dispatch Time: 4 Send immediately (when saving the application)
Text Symbol: 109 = "Default Values" tab
Text Symbol: 108 = FORM routine: CHECK_REPEAT
Text Symbol: 107 = Program: OPS_SE_SHP_SEND_MESSAGE
Text Symbol: 106 = Do not write processing log: Do not select this checkbox
Text Symbol: 105 = Partner-indep.output: Select this checkbox
Text Symbol: 036 = Step: 40, Condition counter: 4, Condition type: TRD0, Requirement: 440
Text Symbol: 035 = Make sure that the following entries have been made for procedure V10000:
Text Symbol: 033 = Make sure that procedure V10000 has been entered.
Text Symbol: 032 = Step: 90, Condition counter: 1, Condition type: TRR0, Requirement: 28
Text Symbol: 031 = Step: 50, Condition counter: 1, Condition type: TRS0, Requirement: 27
Text Symbol: 030 = Make sure that the following entries have been made for procedure V10000:
Text Symbol: 029 = In the dialog structure, select "Control Data".
Text Symbol: 028 = Make sure that procedure V10000 has been entered.
Text Symbol: 027 = Form Routine: PROCESS
Text Symbol: 026 = Program: OPS_SE_SOC_SEND_MESSAGE





Text Symbol: 025 = Transm. Medium: 8
Text Symbol: 024 = Make sure that the following entries have been made for the output types:
Text Symbol: 023 = In the dialog structure, select "Processing Routines".
Text Symbol: 022 = Make sure that the following output types have been entered: TRS0, TRS1, TRR0, TRR1
Text Symbol: 021 = Document not found; only document-independent checks were performed
Text Symbol: 020 = An error occurred
Text Symbol: 018 = Technical transportation management number found
Text Symbol: 017 = Technical transportation management number not found
Text Symbol: 016 = Transfer of documents to SAP TM is activated
Text Symbol: 015 = Transfer of documents to SAP TM is not activated
Text Symbol: 014 = The technical transportation number is &LOGTMNR.
Text Symbol: 013 = The corresponding control key is &TMCTRLKEY.
Text Symbol: 012 = To define the control key for transferring documents, choose "Customizing Activity or Transaction" and then proceed as follows:
Text Symbol: 011 = To set up document transfer, choose "Customizing Activity or Transaction" and then proceed as follows:
Text Symbol: 009 = ERP Logistics Integration -> Configuring Integration of Orders and Deliveries.
Text Symbol: 008 = For more information, see SAP Library for SAP Transportation Management under
Text Symbol: 007 = To correct the settings, choose "Customizing Activity or Transaction" and then proceed as follows:
Text Symbol: 006 = Customizing for output determination procedures does not contain any errors
Text Symbol: 005 = Customizing for output determination procedures
Text Symbol: 004 = Customizing for output types does not contain any errors
Text Symbol: 003 = Customizing for output types
Text Symbol: 002 = Message
Text Symbol: 001 = Status
Text Symbol: 037 = In the Customizing activity "Define Control Keys for Document Transfer", find a suitable existing key or create a key.
Text Symbol: 074 = Context: 1 Purchase Order Created
Text Symbol: 073 = To make the required settings, call transaction SM30 and add the following entries to view V_T175SOA:
Text Symbol: 072 = Service output "TRQ Suite Request" and "TRQ Cancel Request" found for context "Purchase Order Created/Changed"
Text Symbol: 071 = In Customizing for service output, proceed as follows:
Text Symbol: 070 = Customizing for service output does not contain any errors
Text Symbol: 069 = Selection Criteria: Purchase Order
Text Symbol: 068 = Control key found, but its transfer type does not match the transfer type of your document
Text Symbol: 066 = Output type TRD0 (&OUTPUTDESC) found (with application V2)
Text Symbol: 064 = Output type &OUTPUTTYPE (&OUTPUTDESC) found (with application V1)
Text Symbol: 063 = The control key description is &TMCTRLKEY (&TMCTRLKEYDESC)
Text Symbol: 062 = XML message IDs found
Text Symbol: 061 = No XML message IDs found
Text Symbol: 058 = Document not found in the SAP TM system
Text Symbol: 057 = Some business partners have not been transferred correctly
Text Symbol: 056 = All business partners have been transferred correctly



Text Symbol: 055 = Some locations have not been transferred correctly
Text Symbol: 054 = All locations have been transferred correctly
Text Symbol: 053 = Some materials have not been transferred correctly
Text Symbol: 052 = All materials have been transferred correctly
Text Symbol: 051 = Document found in the SAP TM system
Text Symbol: 050 = Selection Criteria: Delivery
Text Symbol: 049 = Selection Criteria: Sales Order
Text Symbol: 048 = Document Type
Text Symbol: 047 = DlvTy: &DLVTY (Delivery Type)
Text Symbol: 046 = ShPt: &SHPT (Shipping Point)
Text Symbol: 045 = SaTy: &SATY (Sales Order Type)
Text Symbol: 044 = Dv: &DV (Division)
Text Symbol: 043 = DChl: &DCHL (Distribution Channel)
Text Symbol: 042 = SOrg: &SORG (Sales Organization)
Text Symbol: 041 = SC: &SC (Shipping Conditions)
Text Symbol: 040 = In the Customizing activity "Activate Transfer of Delivery Documents", create a new entry with the following data:
Text Symbol: 039 = Ctrl Key: The key that you created or selected in the previous step.
Text Symbol: 038 = In the Customizing activity "Activate Transfer of Sales Documents", create a new entry with the following data:


INCLUDES used within this REPORT TMTRQCUSTCHECK

INCLUDE TMTRQCUSTCHECKTOP. " TOP_INCLUDE
INCLUDE TMTRQCUSTCHECK_SEL_SCRN. " INCLUDE SELECTION_SCREEN
INCLUDE TMTRQCUSTCHECK_FORM_METH. " INCLUDE FORM_METHOD
INCLUDE TMTRQCUSTCHECK_DISP_INFO. " INCLUDE DISPLAY_INFORMATION
INCLUDE TMTRQCUSTCHECK_USEI02. " INCLUDE USER_COMMAND
INCLUDE TMTRQCUSTCHECK_STA01. " INCLUDE STATUS


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:

No SAP FUNCTION MODULES are executed within this report code!



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