0001634677

Embed Size (px)

Citation preview

  • 7/23/2019 0001634677

    1/12

    SAP Note

    Header Data

    Symptom

    You use SAP TM and ERP. In particular, you make use of Order Integration. When TM and ERP areconnected and the required business functions are activated, order data (purchase orders, salesorders, deliveries) is sent from ERP to TM depending on Customizing settings. You could not checkthe required Customizing settings in ERP with regard to completeness or correctness until now. Thisnote solves this problem.

    Other Terms

    Also refer to related note 1552548.

    Reason and Prerequisites

    A feature is missing.

    Solution

    Implement the attached correction instructions. Carry out the manual activities.

    ------------------------------------------------------------------------|Manual Activity |------------------------------------------------------------------------|VALID FOR ||Software Component SAP_APPL SAP Application || Release 606 SAPKH60601 -SAPKH60601 |------------------------------------------------------------------------

    Description of the manual activities (report: TMTRQCUSTCHECK)

    REPT TMTRQCUSTCHECK:First create the program "TMTRQCUSTCHECK".

    In transaction SE80, call the package "INT_TM_ERP_BASICS" for this. Create a program in thispackage. Enter the program name "TMTRQCUSTCHECK" in the input field and set the checkmark "With TOPINCL.". Choose "Continue" to confirm your entries. Now enter "TMTRQCUSTCHECKTOP" for the name of theTOP include and choose "Continue" to confirm. Enter "Check Customizing Settings for ERP-TMIntegration" as the title of the program. Select the type "Executable program" in the "Attributes"area. Choose "Save" to save your entries.

    In addition, create the following includes for the program "TMTRQCUSTCHECK":Name of the include Descriptiontmtrqcustcheck_sel_scrn Include for the selection screentmtrqcustcheck_form_meth Include for methodstmtrqcustcheck_disp_info Include for the information displaytmtrqcustcheck_usei02 Include for user commandtmtrqcustcheck_sta01 Include for statusSave these includes.

    Now create the text pool. In transaction SE80, call the program "TMTRQCUSTCHECK" for this. From the

    menu, select "Goto" followed by "Text Elements" and "Selection Texts".Go to the "Selection Texts" tab page and create the individual texts:

    Name TextP_DELIV DeliveryP_DEST SAP TM SystemP_DO DeliveryP_PO Purchasing DocumentP_PURCH Purchase OrderP_SALES Sales Order

    1634677 - TM: Checking Customizing settings in ERP

    Version 1 Validity:22.09.2011 - active Language English

    Released On 01.12.2011 22:06:10

    Release Status Released for Customer

    Component LO-INT-TM Please use sub-components

    TM-ERP ERP Logistics IntegrationPriority Correction with medium priority

    Category Program error

    Other Components

  • 7/23/2019 0001634677

    2/12

    P_SO Sales Document

    Now go to the "Text Symbols" tab page. Create the following texts here:Sym Text001 Status002 Message003 Customizing for output types004 Customizing for output types does not contain any errors005 Customizing for output determination procedures006 Customizing for output determination procedures does not contain any errors007 To correct the settings, choose "Customizing Activity or Transaction" and then proceed asfollows:008 For more information, see SAP Library for SAP Transportation Management under009 ERP Logistics Integration -> Configuring Integration of Orders and Deliveries.011 To set up document transfer, choose "Customizing Activity or Transaction" and then proceed asfollows:012 To define the control key for transferring documents, choose "Customizing Activity orTransaction" and then proceed as follows:013 The corresponding control key is &TMCTRLKEY.014 The technical transportation number is &LOGTMNR.015 Transfer of documents to SAP TM is not activated016 Transfer of documents to SAP TM is activated017 Technical transportation management number not found018 Technical transportation management number found020 An error occurred021 Document not found; only document-independent checks were performed022 Make sure that the following output types have been entered: TRS0, TRS1, TRR0, TRR1023 In the dialog structure, select "Processing Routines".024 Make sure that the following entries have been made for the output types:025 Transm. Medium: 8026 Program: OPS_SE_SOC_SEND_MESSAGE027 Form Routine: PROCESS

    028 Make sure that procedure V10000 has been entered.029 In the dialog structure, select "Control Data".030 Make sure that the following entries have been made for procedure V10000:031 Step: 50, Condition counter: 1, Condition type: TRS0, Requirement: 27032 Step: 90, Condition counter: 1, Condition type: TRR0, Requirement: 28033 Make sure that procedure V10000 has been entered.035 Make sure that the following entries have been made for procedure V10000:036 Step: 40, Condition counter: 4, Condition type: TRD0, Requirement: 440037 In the Customizing activity "Define Control Keys for Document Transfer", find a suitableexisting key or create a key.038 In the Customizing activity "Activate Transfer of Sales Documents", create a new entry with thefollowing data:039 Ctrl Key: The key that you created or selected in the previous step.040 In the Customizing activity "Activate Transfer of Delivery Documents",create a new entry with the following data:041 SC: &SC (Shipping Conditions)042 SOrg: &SORG (Sales Organization)

    043 DChl: &DCHL (Distribution Channel)044 Dv: &DV (Division)045 SaTy: &SATY (Sales Order Type)046 ShPt: &SHPT (Shipping Point)047 DlvTy: &DLVTY (Delivery Type)048 Document Type049 Selection Criteria: Sales Order050 Selection Criteria: Delivery051 Document found in the SAP TM system052 All materials have been transferred correctly053 Some materials have not been transferred correctly054 All locations have been transferred correctly055 Some locations have not been transferred correctly056 All business partners have been transferred correctly057 Some business partners have not been transferred correctly058 Document not found in the SAP TM system061 No XML message IDs found

    062 XML message IDs found063 The control key description is &TMCTRLKEY (&TMCTRLKEYDESC)064 Output type &OUTPUTTYPE (&OUTPUTDESC) found (with application V1)066 Output type TRD0 (&OUTPUTDESC) found (with application V2)068 Control key found, but its transfer type does not match the transfer typeof your document069 Selection Criteria: Purchase Order070 Customizing for service output does not contain any errors071 In Customizing for service output, proceed as follows:072 Service output "TRQ Suite Request" and "TRQ Cancel Request" found for context"Purchase Order Created/Changed"073 To make the required settings, call transaction SM30 and add the following entries to viewV_T175SOA:074 Context: 1 Purchase Order Created075 Service ID: 7 CL_SE_PUR_TRQSUITEREQUEST076 Service ID: 8 CL_SE_PUR_TRQCANCELREQUEST077 Customizing for event type linkages does not contain any errors078 In Customizing for event type linkages, proceed as follows:079 Object Category: ABAP Class080 Object Type: CL_SE_PUR_PO_WF_OUT081 Receiver Type: WS53800008082 Receiver Function Module: SWW_WI_CREATE_VIA_EVENT_IBF083 Linkage Activated: Select this checkbox084 Receiver Status: No errors085 Event type linkages found for the events CREATED and CHANGED086 In the Customizing activity "Activate Transfer of Purchase Orders",create a new entry with the following data:087 POrg: &PORG (Purchasing Organization)

  • 7/23/2019 0001634677

    3/12

    088 PGr: &PGR (Purchasing Group)089 OTyp: &OTYP (Order Type)090 No material related to this document091 No location related to this document092 No business partner related to this document093 To make the required settings, call transaction SWETYPV and create an event type linkage for theevents CREATED and CHANGED.094 If message keys have been found, you can display the monitor for processed XML messages.095 See "Monitor for Processed XML Messages" below.096 Make sure that output type TRD0 has been entered.097 If not, enter TRD0 with the following data:098 Output Type: TRD0099 Description: Enter a description100 "General Data" tab101 Access Sequence: 0001102 Access to Conditions: Select this checkbox103 CannotBeChanged: Do not select this checkbox104 Multiple issuing: Select this checkbox105 Partner-indep.output: Select this checkbox106 Do not write processing log: Do not select this checkbox107 Program: OPS_SE_SHP_SEND_MESSAGE108 FORM routine: CHECK_REPEAT109 "Default Values" tab110 Dispatch Time: 4 Send immediately (when saving the application)111 Transmission Medium: 8 Special function112 Partner Function: Leave this empty113 Communication Strategy: Leave this empty114 In the dialog structure, select "Processing Routines".115 Make sure that the following entries have been made for the output types:116 Transmission Medium: 8117 Program: OPS_SE_SHP_SEND_MESSAGE118 Form Routine: PROCESS119 Date and Time

    120 Type121 CHANGE122 CREATE124 The document has not been found in SAP TM, but the corresponding XML messagehas been found.125 This may be due to an error in the SAP TM system.126 RFC Destination127 The following errors occurred in the SAP TM system:128 Business system group not found in the target system129 All units have been transferred correctly130 Some units have not been transferred correctly131 All currencies have been transferred correctly132 Some currencies have not been transferred correctly133 System/Client: &SYSTEMCLIENT135 Check not possible; connection to SAP TM system failed or RFC function not found in targetsystem

    Activate and save your entries.

    DOCU RETMTRQCUSTCHECK:Create the documentation for the report "TMTRQCUSTCHECK". In transaction SE80, call the report"TMTRQCUSTCHECK". From the menu, select "Goto" followed by "Documentation". Choose "EditDocumentation" in the window that opens. Create the documentation using the template:

    Short TextCheck Customizing Settings for ERP-TM Integration

    PurposeYou can use this report to check if the required settings for sending a specific ERP document to SAPTransportation Management (SAP TM) are correct and complete. You can use it, for example, to checkthe settings prior to sending a document or to find out why a particular document was not sent.The report checks the following for a specific document:" Whether the Customizing settings in SAP ERP are correct for the document type (that is, sales

    order, purchase order, or delivery)" Whether the required master data is available in SAP TMIf the report finds errors, it provides information about how to correct them.

    SelectionYou enter the following selection criteria:" Document type" Document ID" RFC destination of the SAP TM system

    OutputThe report provides a list of system messages with the following information:" Which ERP Customizing settings are correct" Which ERP Customizing settings are missing or contain errors" Which master data is available" Which master data is missingIf a Customizing setting is missing or contains errors, you can select the message to getinformation about which steps must be taken in order to correct the errors.The report also provides a list of outbound XML messages that were sent for the document. You cancheck the XML message in the Monitor for Processed XML Messages (transaction: SXMB_MONI) byselecting the message ID in the list and choosing the corresponding pushbutton.

    See alsoFor more information about setting up ERP-TM integration, see SAP Library for SAP ERP on SAP HelpPortal at http://help.sap.com/erp under SAP ERP Central Component. Choose a release. In SAP Library,choose SAP ERP Central Component -> Logistics -> Logistics General (LO) -> Integration of SAP ERPwith SAP Transportation Management -> Integration: Order and Delivery Processing - SAP TM ->

  • 7/23/2019 0001634677

    4/12

    Prerequisites for Order and Delivery Integration.

    Save the documentation.

    TTYD TMS_TT_STRING:Create the table type "TMS_TT_STRING".Call transaction SE11 for this. Select "Data type" and enter the table type name "TMS_TT_STRING" inthe input field. Choose "Create". Select "Table type" from the dialog box that is displayed andchoose "Continue" to confirm.Enter "Table of Strings" as the short description. Select "Predefined Type" on the "Line Type" tabpage. Enter "STRING" as the data type.

    Activate and save the table type.

    MESS INT_TM_ERP_CUS_CHECK***:Create the following messages in the message class "INT_TM_ERP_CUS_CHECK":

    INT_TM_ERP_CUS_CHECK 000INT_TM_ERP_CUS_CHECK 001INT_TM_ERP_CUS_CHECK 002INT_TM_ERP_CUS_CHECK 003INT_TM_ERP_CUS_CHECK 004INT_TM_ERP_CUS_CHECK 005

    In transaction SE80, call the report "TMTRQCUSTCHECK". From the menu, select "Goto" followed by"Messages".

    In the "Message class" input field, enter "INT_TM_ERP_CUS_CHECK". Create the individual messageswith the respective message short texts:

    Message Message Short Text000 No sales order selected001 No delivery selected002 No purchase order selected003 No RFC destination selected004 System &1 does not exist005 System &1 does not exist, but a similar system exists: &2

    Save these messages.

    ------------------------------------------------------------------------|Manual Activity |------------------------------------------------------------------------|VALID FOR |

    |Software Component SAP_APPL SAP Application || Release 605 SAPKH60503 -SAPKH60506 |------------------------------------------------------------------------

    Description of the manual activities (report: TMTRQCUSTCHECK)

    REPT TMTRQCUSTCHECK:First create the program "TMTRQCUSTCHECK".

    In transaction SE80, call the package "INT_TM_ERP_BASICS" for this. Create a program in thispackage. Enter the program name "TMTRQCUSTCHECK" in the input field and set the checkmark "With TOPINCL.". Choose "Continue" to confirm your entries. Now enter "TMTRQCUSTCHECKTOP" for the name of theTOP include and choose "Continue" to confirm. Enter "Check Customizing Settings for ERP-TMIntegration" as the title of the program. Select the type "Executable program" in the "Attributes"area. Choose "Save" to save your entries.

    In addition, create the following includes for the program "TMTRQCUSTCHECK":

    Name of the include Descriptiontmtrqcustcheck_sel_scrn Include for the selection screentmtrqcustcheck_form_meth Include for methodstmtrqcustcheck_disp_info Include for the information displaytmtrqcustcheck_usei02 Include for user commandtmtrqcustcheck_sta01 Include for statusSave these includes.

    Now create the text pool. In transaction SE80, call the program "TMTRQCUSTCHECK" for this. From themenu, select "Goto" followed by "Text Elements" and "Selection Texts".

    Go to the "Selection Texts" tab page and create the individual texts:

    Name TextP_DELIV DeliveryP_DEST SAP TM SystemP_DO DeliveryP_PO Purchasing DocumentP_PURCH Purchase OrderP_SALES Sales OrderP_SO Sales Document

    Now go to the "Text Symbols" tab page. Create the following texts here:Sym Text001 Status002 Message003 Customizing for output types

  • 7/23/2019 0001634677

    5/12

    004 Customizing for output types does not contain any errors005 Customizing for output determination procedures006 Customizing for output determination procedures does not contain any errors007 To correct the settings, choose "Customizing Activity or Transaction" and then proceed asfollows:008 For more information, see SAP Library for SAP Transportation Management under009 ERP Logistics Integration -> Configuring Integration of Orders and Deliveries.011 To set up document transfer, choose "Customizing Activity or Transaction" and then proceed asfollows:012 To define the control key for transferring documents, choose "Customizing Activity orTransaction" and then proceed as follows:013 The corresponding control key is &TMCTRLKEY.014 The technical transportation number is &LOGTMNR.015 Transfer of documents to SAP TM is not activated016 Transfer of documents to SAP TM is activated017 Technical transportation management number not found018 Technical transportation management number found020 An error occurred021 Document not found; only document-independent checks were performed022 Make sure that the following output types have been entered: TRS0, TRS1, TRR0, TRR1023 In the dialog structure, select "Processing Routines".024 Make sure that the following entries have been made for the output types:025 Transm. Medium: 8026 Program: OPS_SE_SOC_SEND_MESSAGE027 Form Routine: PROCESS028 Make sure that procedure V10000 has been entered.029 In the dialog structure, select "Control Data".030 Make sure that the following entries have been made for procedure V10000:031 Step: 50, Condition counter: 1, Condition type: TRS0, Requirement: 27032 Step: 90, Condition counter: 1, Condition type: TRR0, Requirement: 28033 Make sure that procedure V10000 has been entered.035 Make sure that the following entries have been made for procedure V10000:036 Step: 40, Condition counter: 4, Condition type: TRD0, Requirement: 440

    037 In the Customizing activity "Define Control Keys for Document Transfer", find a suitableexisting key or create a key.038 In the Customizing activity "Activate Transfer of Sales Documents", create a new entry with thefollowing data:039 Ctrl Key: The key that you created or selected in the previous step.040 In the Customizing activity "Activate Transfer of Delivery Documents",create a new entry with the following data:041 SC: &SC (Shipping Conditions)042 SOrg: &SORG (Sales Organization)043 DChl: &DCHL (Distribution Channel)044 Dv: &DV (Division)045 SaTy: &SATY (Sales Order Type)046 ShPt: &SHPT (Shipping Point)047 DlvTy: &DLVTY (Delivery Type)048 Document Type049 Selection Criteria: Sales Order050 Selection Criteria: Delivery

    051 Document found in the SAP TM system052 All materials have been transferred correctly053 Some materials have not been transferred correctly054 All locations have been transferred correctly055 Some locations have not been transferred correctly056 All business partners have been transferred correctly057 Some business partners have not been transferred correctly058 Document not found in the SAP TM system061 No XML message IDs found062 XML message IDs found063 The control key description is &TMCTRLKEY (&TMCTRLKEYDESC)064 Output type &OUTPUTTYPE (&OUTPUTDESC) found (with application V1)066 Output type TRD0 (&OUTPUTDESC) found (with application V2)068 Control key found, but its transfer type does not match the transfer typeof your document069 Selection Criteria: Purchase Order070 Customizing for service output does not contain any errors

    071 In Customizing for service output, proceed as follows:072 Service output "TRQ Suite Request" and "TRQ Cancel Request" found for context"Purchase Order Created/Changed"073 To make the required settings, call transaction SM30 and add the following entries to viewV_T175SOA:074 Context: 1 Purchase Order Created075 Service ID: 7 CL_SE_PUR_TRQSUITEREQUEST076 Service ID: 8 CL_SE_PUR_TRQCANCELREQUEST077 Customizing for event type linkages does not contain any errors078 In Customizing for event type linkages, proceed as follows:079 Object Category: ABAP Class080 Object Type: CL_SE_PUR_PO_WF_OUT081 Receiver Type: WS53800008082 Receiver Function Module: SWW_WI_CREATE_VIA_EVENT_IBF083 Linkage Activated: Select this checkbox084 Receiver Status: No errors085 Event type linkages found for the events CREATED and CHANGED086 In the Customizing activity "Activate Transfer of Purchase Orders",create a new entry with the following data:087 POrg: &PORG (Purchasing Organization)088 PGr: &PGR (Purchasing Group)089 OTyp: &OTYP (Order Type)090 No material related to this document091 No location related to this document092 No business partner related to this document093 To make the required settings, call transaction SWETYPV and create an event type linkage for theevents CREATED and CHANGED.094 If message keys have been found, you can display the monitor for processed XML messages.

  • 7/23/2019 0001634677

    6/12

    095 See "Monitor for Processed XML Messages" below.096 Make sure that output type TRD0 has been entered.097 If not, enter TRD0 with the following data:098 Output Type: TRD0099 Description: Enter a description100 "General Data" tab101 Access Sequence: 0001102 Access to Conditions: Select this checkbox103 CannotBeChanged: Do not select this checkbox104 Multiple issuing: Select this checkbox105 Partner-indep.output: Select this checkbox106 Do not write processing log: Do not select this checkbox107 Program: OPS_SE_SHP_SEND_MESSAGE108 FORM routine: CHECK_REPEAT109 "Default Values" tab110 Dispatch Time: 4 Send immediately (when saving the application)111 Transmission Medium: 8 Special function112 Partner Function: Leave this empty113 Communication Strategy: Leave this empty114 In the dialog structure, select "Processing Routines".115 Make sure that the following entries have been made for the output types:116 Transmission Medium: 8117 Program: OPS_SE_SHP_SEND_MESSAGE118 Form Routine: PROCESS119 Date and Time120 Type121 CHANGE122 CREATE124 The document has not been found in SAP TM, but the corresponding XML messagehas been found.125 This may be due to an error in the SAP TM system.126 RFC Destination127 The following errors occurred in the SAP TM system:

    128 Business system group not found in the target system129 All units have been transferred correctly130 Some units have not been transferred correctly131 All currencies have been transferred correctly132 Some currencies have not been transferred correctly133 System/Client: &SYSTEMCLIENT135 Check not possible; connection to SAP TM system failed or RFC function not found in targetsystem

    Activate and save your entries.

    DOCU RETMTRQCUSTCHECK:Create the documentation for the report "TMTRQCUSTCHECK". In transaction SE80, call the report"TMTRQCUSTCHECK". From the menu, select "Goto" followed by "Documentation". Choose "EditDocumentation" in the window that opens. Create the documentation using the template:

    Short TextCheck Customizing Settings for ERP-TM Integration

    PurposeYou can use this report to check if the required settings for sending a specific ERP document to SAPTransportation Management (SAP TM) are correct and complete. You can use it, for example, to checkthe settings prior to sending a document or to find out why a particular document was not sent.The report checks the following for a specific document:" Whether the Customizing settings in SAP ERP are correct for the document type (that is, salesorder, purchase order, or delivery)" Whether the required master data is available in SAP TMIf the report finds errors, it provides information about how to correct them.

    SelectionYou enter the following selection criteria:" Document type" Document ID

    " RFC destination of the SAP TM systemOutputThe report provides a list of system messages with the following information:" Which ERP Customizing settings are correct" Which ERP Customizing settings are missing or contain errors" Which master data is available" Which master data is missingIf a Customizing setting is missing or contains errors, you can select the message to getinformation about which steps must be taken in order to correct the errors.The report also provides a list of outbound XML messages that were sent for the document. You cancheck the XML message in the Monitor for Processed XML Messages (transaction: SXMB_MONI) byselecting the message ID in the list and choosing the corresponding pushbutton.

    See alsoFor more information about setting up ERP-TM integration, see SAP Library for SAP ERP on SAP HelpPortal at http://help.sap.com/erp under SAP ERP Central Component. Choose a release. In SAP Library,choose SAP ERP Central Component -> Logistics -> Logistics General (LO) -> Integration of SAP ERPwith SAP Transportation Management -> Integration: Order and Delivery Processing - SAP TM ->Prerequisites for Order and Delivery Integration.

    Save the documentation.

    TTYD TMS_TT_STRING:Create the table type "TMS_TT_STRING".Call transaction SE11 for this. Select "Data type" and enter the table type name "TMS_TT_STRING" in

  • 7/23/2019 0001634677

    7/12

    the input field. Choose "Create". Select "Table type" from the dialog box that is displayed andchoose "Continue" to confirm.Enter "Table of Strings" as the short description. Select "Predefined Type" on the "Line Type" tabpage. Enter "STRING" as the data type.

    Activate and save the table type.

    MESS INT_TM_ERP_CUS_CHECK***:Create the following messages in the message class "INT_TM_ERP_CUS_CHECK":

    INT_TM_ERP_CUS_CHECK 000INT_TM_ERP_CUS_CHECK 001INT_TM_ERP_CUS_CHECK 002INT_TM_ERP_CUS_CHECK 003INT_TM_ERP_CUS_CHECK 004INT_TM_ERP_CUS_CHECK 005

    In transaction SE80, call the report "TMTRQCUSTCHECK". From the menu, select "Goto" followed by"Messages".

    In the "Message class" input field, enter "INT_TM_ERP_CUS_CHECK". Create the individual messageswith the respective message short texts:

    Message Message Short Text000 No sales order selected001 No delivery selected002 No purchase order selected003 No RFC destination selected004 System &1 does not exist005 System &1 does not exist, but a similar system exists: &2

    Save these messages.

    ------------------------------------------------------------------------|Manual Activity |------------------------------------------------------------------------|VALID FOR ||Software Component SAP_APPL SAP Application || Release 604 SAPKH60409 -SAPKH60410 |------------------------------------------------------------------------

    Description of the manual activities (report: TMTRQCUSTCHECK)

    REPT TMTRQCUSTCHECK:First create the program "TMTRQCUSTCHECK".

    In transaction SE80, call the package "INT_TM_ERP_BASICS" for this. Create a program in thispackage. Enter the program name "TMTRQCUSTCHECK" in the input field and set the checkmark "With TOPINCL.". Choose "Continue" to confirm your entries. Now enter "TMTRQCUSTCHECKTOP" for the name of theTOP include and choose "Continue" to confirm. Enter "Check Customizing Settings for ERP-TMIntegration" as the title of the program. Select the type "Executable program" in the "Attributes"area. Choose "Save" to save your entries.

    In addition, create the following includes for the program "TMTRQCUSTCHECK":Name of the include Descriptiontmtrqcustcheck_sel_scrn Include for the selection screentmtrqcustcheck_form_meth Include for methodstmtrqcustcheck_disp_info Include for the information displaytmtrqcustcheck_usei02 Include for user commandtmtrqcustcheck_sta01 Include for statusSave these includes.

    Now create the text pool. In transaction SE80, call the program "TMTRQCUSTCHECK" for this. From themenu, select "Goto" followed by "Text Elements" and "Selection Texts".

    Go to the "Selection Texts" tab page and create the individual texts:

    Name TextP_DELIV DeliveryP_DEST SAP TM SystemP_DO DeliveryP_PO Purchasing DocumentP_PURCH Purchase OrderP_SALES Sales OrderP_SO Sales Document

    Now go to the "Text Symbols" tab page. Create the following texts here:Sym Text001 Status002 Message003 Customizing for output types004 Customizing for output types does not contain any errors005 Customizing for output determination procedures006 Customizing for output determination procedures does not contain any errors007 To correct the settings, choose "Customizing Activity or Transaction" and then proceed asfollows:008 For more information, see SAP Library for SAP Transportation Management under009 ERP Logistics Integration -> Configuring Integration of Orders and Deliveries.011 To set up document transfer, choose "Customizing Activity or Transaction" and then proceed as

  • 7/23/2019 0001634677

    8/12

    follows:012 To define the control key for transferring documents, choose "Customizing Activity orTransaction" and then proceed as follows:013 The corresponding control key is &TMCTRLKEY.014 The technical transportation number is &LOGTMNR.015 Transfer of documents to SAP TM is not activated016 Transfer of documents to SAP TM is activated017 Technical transportation management number not found018 Technical transportation management number found020 An error occurred021 Document not found; only document-independent checks were performed022 Make sure that the following output types have been entered: TRS0, TRS1, TRR0, TRR1023 In the dialog structure, select "Processing Routines".024 Make sure that the following entries have been made for the output types:025 Transm. Medium: 8026 Program: OPS_SE_SOC_SEND_MESSAGE027 Form Routine: PROCESS028 Make sure that procedure V10000 has been entered.029 In the dialog structure, select "Control Data".030 Make sure that the following entries have been made for procedure V10000:031 Step: 50, Condition counter: 1, Condition type: TRS0, Requirement: 27032 Step: 90, Condition counter: 1, Condition type: TRR0, Requirement: 28033 Make sure that procedure V10000 has been entered.035 Make sure that the following entries have been made for procedure V10000:036 Step: 40, Condition counter: 4, Condition type: TRD0, Requirement: 440037 In the Customizing activity "Define Control Keys for Document Transfer", find a suitableexisting key or create a key.038 In the Customizing activity "Activate Transfer of Sales Documents", create a new entry with thefollowing data:039 Ctrl Key: The key that you created or selected in the previous step.040 In the Customizing activity "Activate Transfer of Delivery Documents",create a new entry with the following data:041 SC: &SC (Shipping Conditions)

    042 SOrg: &SORG (Sales Organization)043 DChl: &DCHL (Distribution Channel)044 Dv: &DV (Division)045 SaTy: &SATY (Sales Order Type)046 ShPt: &SHPT (Shipping Point)047 DlvTy: &DLVTY (Delivery Type)048 Document Type049 Selection Criteria: Sales Order050 Selection Criteria: Delivery051 Document found in the SAP TM system052 All materials have been transferred correctly053 Some materials have not been transferred correctly054 All locations have been transferred correctly055 Some locations have not been transferred correctly056 All business partners have been transferred correctly057 Some business partners have not been transferred correctly058 Document not found in the SAP TM system

    061 No XML message IDs found062 XML message IDs found063 The control key description is &TMCTRLKEY (&TMCTRLKEYDESC)064 Output type &OUTPUTTYPE (&OUTPUTDESC) found (with application V1)066 Output type TRD0 (&OUTPUTDESC) found (with application V2)068 Control key found, but its transfer type does not match the transfer typeof your document069 Selection Criteria: Purchase Order070 Customizing for service output does not contain any errors071 In Customizing for service output, proceed as follows:072 Service output "TRQ Suite Request" and "TRQ Cancel Request" found for context"Purchase Order Created/Changed"073 To make the required settings, call transaction SM30 and add the following entries to viewV_T175SOA:074 Context: 1 Purchase Order Created075 Service ID: 7 CL_SE_PUR_TRQSUITEREQUEST076 Service ID: 8 CL_SE_PUR_TRQCANCELREQUEST

    077 Customizing for event type linkages does not contain any errors078 In Customizing for event type linkages, proceed as follows:079 Object Category: ABAP Class080 Object Type: CL_SE_PUR_PO_WF_OUT081 Receiver Type: WS53800008082 Receiver Function Module: SWW_WI_CREATE_VIA_EVENT_IBF083 Linkage Activated: Select this checkbox084 Receiver Status: No errors085 Event type linkages found for the events CREATED and CHANGED086 In the Customizing activity "Activate Transfer of Purchase Orders",create a new entry with the following data:087 POrg: &PORG (Purchasing Organization)088 PGr: &PGR (Purchasing Group)089 OTyp: &OTYP (Order Type)090 No material related to this document091 No location related to this document092 No business partner related to this document093 To make the required settings, call transaction SWETYPV and create an event type linkage for theevents CREATED and CHANGED.094 If message keys have been found, you can display the monitor for processed XML messages.095 See "Monitor for Processed XML Messages" below.096 Make sure that output type TRD0 has been entered.097 If not, enter TRD0 with the following data:098 Output Type: TRD0099 Description: Enter a description100 "General Data" tab101 Access Sequence: 0001102 Access to Conditions: Select this checkbox

  • 7/23/2019 0001634677

    9/12

    103 CannotBeChanged: Do not select this checkbox104 Multiple issuing: Select this checkbox105 Partner-indep.output: Select this checkbox106 Do not write processing log: Do not select this checkbox107 Program: OPS_SE_SHP_SEND_MESSAGE108 FORM routine: CHECK_REPEAT109 "Default Values" tab110 Dispatch Time: 4 Send immediately (when saving the application)111 Transmission Medium: 8 Special function112 Partner Function: Leave this empty113 Communication Strategy: Leave this empty114 In the dialog structure, select "Processing Routines".115 Make sure that the following entries have been made for the output types:116 Transmission Medium: 8117 Program: OPS_SE_SHP_SEND_MESSAGE118 Form Routine: PROCESS119 Date and Time120 Type121 CHANGE122 CREATE124 The document has not been found in SAP TM, but the corresponding XML messagehas been found.125 This may be due to an error in the SAP TM system.126 RFC Destination127 The following errors occurred in the SAP TM system:128 Business system group not found in the target system129 All units have been transferred correctly130 Some units have not been transferred correctly131 All currencies have been transferred correctly132 Some currencies have not been transferred correctly133 System/Client: &SYSTEMCLIENT135 Check not possible; connection to SAP TM system failed or RFC function not found in targetsystem

    Activate and save your entries.

    DOCU RETMTRQCUSTCHECK:Create the documentation for the report "TMTRQCUSTCHECK". In transaction SE80, call the report"TMTRQCUSTCHECK". From the menu, select "Goto" followed by "Documentation". Choose "EditDocumentation" in the window that opens. Create the documentation using the template:

    Short TextCheck Customizing Settings for ERP-TM Integration

    PurposeYou can use this report to check if the required settings for sending a specific ERP document to SAPTransportation Management (SAP TM) are correct and complete. You can use it, for example, to checkthe settings prior to sending a document or to find out why a particular document was not sent.The report checks the following for a specific document:

    " Whether the Customizing settings in SAP ERP are correct for the document type (that is, salesorder, purchase order, or delivery)" Whether the required master data is available in SAP TMIf the report finds errors, it provides information about how to correct them.

    SelectionYou enter the following selection criteria:" Document type" Document ID" RFC destination of the SAP TM system

    OutputThe report provides a list of system messages with the following information:" Which ERP Customizing settings are correct" Which ERP Customizing settings are missing or contain errors" Which master data is available" Which master data is missing

    If a Customizing setting is missing or contains errors, you can select the message to getinformation about which steps must be taken in order to correct the errors.The report also provides a list of outbound XML messages that were sent for the document. You cancheck the XML message in the Monitor for Processed XML Messages (transaction: SXMB_MONI) byselecting the message ID in the list and choosing the corresponding pushbutton.

    See alsoFor more information about setting up ERP-TM integration, see SAP Library for SAP ERP on SAP HelpPortal at http://help.sap.com/erp under SAP ERP Central Component. Choose a release. In SAP Library,choose SAP ERP Central Component -> Logistics -> Logistics General (LO) -> Integration of SAP ERPwith SAP Transportation Management -> Integration: Order and Delivery Processing - SAP TM ->Prerequisites for Order and Delivery Integration.

    Save the documentation.

    TTYD TMS_TT_STRING:Create the table type "TMS_TT_STRING".Call transaction SE11 for this. Select "Data type" and enter the table type name "TMS_TT_STRING" inthe input field. Choose "Create". Select "Table type" from the dialog box that is displayed andchoose "Continue" to confirm.Enter "Table of Strings" as the short description. Select "Predefined Type" on the "Line Type" tabpage. Enter "STRING" as the data type.

    Activate and save the table type.

  • 7/23/2019 0001634677

    10/12

    MESS INT_TM_ERP_CUS_CHECK***:Create the following messages in the message class "INT_TM_ERP_CUS_CHECK":

    INT_TM_ERP_CUS_CHECK 000INT_TM_ERP_CUS_CHECK 001INT_TM_ERP_CUS_CHECK 002INT_TM_ERP_CUS_CHECK 003INT_TM_ERP_CUS_CHECK 004INT_TM_ERP_CUS_CHECK 005

    In transaction SE80, call the report "TMTRQCUSTCHECK". From the menu, select "Goto" followed by"Messages".

    In the "Message class" input field, enter "INT_TM_ERP_CUS_CHECK". Create the individual messageswith the respective message short texts:

    Message Message Short Text000 No sales order selected001 No delivery selected002 No purchase order selected003 No RFC destination selected004 System &1 does not exist005 System &1 does not exist, but a similar system exists: &2

    Save these messages.

    ------------------------------------------------------------------------|Manual Activity |------------------------------------------------------------------------

    |VALID FOR ||Software Component SAPTM SAP Transportat...|| Release 100 Until SAPK-10003INSAPTM |------------------------------------------------------------------------

    The following description may be too extensive. Some steps have already been taken automatically byyour system depending on the NetWeaver release. Compare the system result with this description. Ineach case, you must create the text pool manually.

    FUNCTION /SCMTMS/TRQ_CHECK_INT_REL_DATA:First create the function module "/SCMTMS/TRQ_CHECK_INT_REL_DATA".

    In transaction SE80, call the package "/SCMTMS/TRQ" for this. Open the function group"/SCMTMS/TRQ_ICPY_RQ_CONS". Create a function module in this function group. Enter the name of thefunction module "/SCMTMS/TRQ_CHECK_INT_REL_DATA" in the input field. Enter "Check integrationrelevant data" as the short text of the function module. Choose "Save" to save your entries.

    TEXTPOOL:Now create the text pool. In transaction SE80, call the function module"/SCMTMS/TRQ_CHECK_INT_REL_DATA" for this. From the menu, select "Goto" followed by "Text elements"and "Text Symbols".

    Go to the "Text Symbols" tab page and create the individual texts:Sym Text001 Material number002 found with internal number003 not found004 TR ID is005 Location with ID006 found with internal ID007 Business partner with ID008 Unit009 with ISO code010 not found in TM system or found with a different ISO code

    011 found in TM system012 Currency

    Activate and save your entries.

    Import and export parameters:Create the import parameters. Call the function module "/SCMTMS/TRQ_CHECK_INT_REL_DATA" for this.Now go to the "Import" tab page. Create the following import parameters here:

    Parameter Name Typing Associated TypeIV_VBELN TYPE STRINGIV_BSKEY TYPE STRINGIT_MAT TYPE /BOFU/T_STRINGIT_LOC TYPE /BOFU/T_STRINGIT_PARTNER TYPE /BOFU/T_STRINGIV_TYPE TYPE STRINGIV_XML_MESSAGE_ID TYPE STRINGIT_UNITS TYPE /BOFU/T_STRINGIT_CURRENCIES TYPE /BOFU/T_STRING

    Activate and save your entries.

    Now go to the "Export" tab page. Create the following export parameters here:

    Parameter Name Typing Associated TypeET_MAT_OK TYPE /BOFU/T_STRINGET_LOC_OK TYPE /BOFU/T_STRINGET_PARTNER_OK TYPE /BOFU/T_STRING

  • 7/23/2019 0001634677

    11/12

    ET_MAT_FAIL TYPE /BOFU/T_STRINGET_LOC_FAIL TYPE /BOFU/T_STRINGET_PARTNER_FAIL TYPE /BOFU/T_STRINGEV_RESULT TYPE STRINGEV_STATUS TYPE IET_UNITS_FAIL TYPE /BOFU/T_STRINGET_UNITS_OK TYPE /BOFU/T_STRINGET_CURRENCIES_OK TYPE /BOFU/T_STRINGET_CURRENCIES_FAIL TYPE /BOFU/T_STRING

    Activate and save your entries.

    ------------------------------------------------------------------------|Manual Activity |------------------------------------------------------------------------|VALID FOR ||Software Component SAPTM SAP Transportat...|| Release 101 Until SAPK-10101INSAPTM |------------------------------------------------------------------------

    The following description may be too extensive. Some steps have already been taken automatically byyour system depending on the NetWeaver release. Compare the system result with this description. Ineach case, you must create the text pool manually.

    FUNCTION /SCMTMS/TRQ_CHECK_INT_REL_DATA:First create the function module "/SCMTMS/TRQ_CHECK_INT_REL_DATA".

    In transaction SE80, call the package "/SCMTMS/TRQ" for this. Open the function group"/SCMTMS/TRQ_ICPY_RQ_CONS". Create a function module in this function group. Enter the name of thefunction module "/SCMTMS/TRQ_CHECK_INT_REL_DATA" in the input field. Enter "Check integration

    relevant data" as the short text of the function module. Choose "Save" to save your entries.

    TEXTPOOL:Now create the text pool. In transaction SE80, call the function module"/SCMTMS/TRQ_CHECK_INT_REL_DATA" for this. From the menu, select "Goto" followed by "Text elements"and "Text Symbols".

    Go to the "Text Symbols" tab page and create the individual texts:Sym Text001 Material number002 found with internal number003 not found004 TR ID is005 Location with ID006 found with internal ID007 Business partner with ID008 Unit

    009 with ISO code010 not found in TM system or found with a different ISO code011 found in TM system012 Currency

    Activate and save your entries.

    Import and export parameters:Create the import parameters. Call the function module "/SCMTMS/TRQ_CHECK_INT_REL_DATA" for this.Now go to the "Import" tab page. Create the following import parameters here:

    Parameter Name Typing Associated TypeIV_VBELN TYPE STRINGIV_BSKEY TYPE STRINGIT_MAT TYPE /BOFU/T_STRINGIT_LOC TYPE /BOFU/T_STRINGIT_PARTNER TYPE /BOFU/T_STRING

    IV_TYPE TYPE STRINGIV_XML_MESSAGE_ID TYPE STRINGIT_UNITS TYPE /BOFU/T_STRINGIT_CURRENCIES TYPE /BOFU/T_STRING

    Activate and save your entries.

    Now go to the "Export" tab page. Create the following export parameters here:

    Parameter Name Typing Associated TypeET_MAT_OK TYPE /BOFU/T_STRINGET_LOC_OK TYPE /BOFU/T_STRINGET_PARTNER_OK TYPE /BOFU/T_STRINGET_MAT_FAIL TYPE /BOFU/T_STRINGET_LOC_FAIL TYPE /BOFU/T_STRINGET_PARTNER_FAIL TYPE /BOFU/T_STRINGEV_RESULT TYPE STRINGEV_STATUS TYPE IET_UNITS_FAIL TYPE /BOFU/T_STRINGET_UNITS_OK TYPE /BOFU/T_STRINGET_CURRENCIES_OK TYPE /BOFU/T_STRINGET_CURRENCIES_FAIL TYPE /BOFU/T_STRING

    Activate and save your entries.

  • 7/23/2019 0001634677

    12/12

    Validity

    Correction Instructions

    Support Packages & Patches

    References

    This document refers to:SAP Notes

    This document is referenced by:

    SAP Notes (2)

    Software Component From Rel. To Rel. And Subsequent

    SAP_APPL 604 604

    605 605

    606 606

    SAPTM 100 100

    101 101

    Correction Instructions

    Software Component Valid from Valid to Number

    SAP_APPL 604 604 1065371

    SAP_APPL 605 605 1065265

    SAP_APPL 606 606 1065199

    SAPTM 100 100 1035020

    SAPTM 101 101 1035023

    Support Packages

    Software Component Release Support Package

    SAP_APPL 604 SAPKH60411

    605 SAPKH60507

    606 SAPKH60602

    SAPTM 100 SAPK-10004INSAPTM

    101 SAPK-10102INSAPTM

    1647091 TM: Initial transfer of purchase orders to SAP TM

    1625213 SAP TM 8.1-Collection of Notes recommended to be implemented

    1552548 TM: Initial transfer of ERP documents to TM

    1522754 SAP TM 8.0 - collection of notes, pro-active implementation

    1522754 SAP TM 8.0 - collection of notes, pro-active implementation

    1625213 SAP TM 8.1-Collection of Notes recommended to be implemented