SAP Knowledge Base Article - Preview

2962004 - Error: 'VsrMG' Illegal location/hub assignment: unknown loc <location_id> for hub <transshipment_location_id>


  • SAP Transportation Management - Optimizer Planning
  • You are getting an error "Error while creating model" with FU in transportation proposal .
  • In the log file , there is error similar to:

    <e> <time> vsrmg_build_locations.cpp(81)'VsrMG' Illegal location/hub assignment: unknown  loc <location_id> for hub <transshipment_location_id>

  • These location ID correspond to a location and a transshipment location.
  • Note that FU to be planned does not have these locations.  For the FU, there is a direct lane between the FU source location and destination location.
  • What is causing this error and planning to fail?



  • SAP Transportation Management 9.x
  • S/4 HANA 1709+


SAP S/4HANA 1909


tp planning fail <e> , KBA , TM-PLN-TP , Transportation Proposal , TM-PLN-VSR-OPT , Optimizer , TM-MD-TN-LOC , Location , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.