SAP Knowledge Base Article - Public

3071819 - "Base BTD reference of message is incomplete" /SCMTMS/TEND 333

Symptom

  • SAP Transportation Management
  • You are using TransportationOrderGenericRequest_In to create a Freight Order or other TOR object.
  • However, there is error:  "Base BTD reference of message is incomplete" /SCMTMS/TEND 333
  • How can you resolve this error?

Environment

  • SAP Transportation Management 9.1+
  • S/4 HANA 1709+

Cause

This error message is triggered at the following code:

/SCMTMS/CL_TOR_GENRC_RQ_IN_SRV ~ CHECK_BTDREF

  IF /scmtms/cl_common_helper=>is_cloud( ) = abap_true.
    " cloud A2A scenario requires BTD-ID, BTD-TypeCode
    " check completeness of BTD reference
    IF ms_prx_msg-transportation_order-base_btd_reference-id-content IS INITIAL OR
       ms_prx_msg-transportation_order-base_btd_reference-type_code  IS INITIAL OR
       ms_prx_msg-message_header-sender_business_system_id           IS INITIAL.
      lv_msgv1 = ms_prx_msg-message_header-id-content.
      MESSAGE e333(/scmtms/tend) WITH lv_msgv1 INTO lv_msg.

 

Resolution

Ensure that the following nodes are filled in your incoming XML:

  • <SenderBusinessSystemID> in MessageHeader
  • <BasedBusinessTransactionDocumentReference> ID
  • <BasedBusinessTransactionDocumentReference> TypeCode

If any one of these nodes are filled, then the other nodes must also be filled.  In other words, it is all or nothing for this error check.

See Also

KBA 2722559 - Usage of TransportationOrderGenericRequest_In in SAP Transportation Management

Keywords

KBA , TM-FRM-FRO , Freight Order , TM-FRM-FRO-2CL , Freight Order (Public Cloud) , Problem

Product

SAP S/4HANA Cloud 2105