SAP Knowledge Base Article - Public

2982468 - Error 'MSR_MM 004' when creating rSTO


You receive error message: 'MSR_MM 004' - 'Shipping data for plant required in Advanced Returns PO' when you create rSTO.


  • Advanced Return Management (ARM) 
  • S/4 HANA

Reproducing the Issue

  1. Select 'Create Purchase Order Advanced' App (App ID: ME21N)
  2. Fill in header and the item information of the PO
  3. You receive error: 'MSR_MM004' - 'Shipping data for plant required in Advanced Returns PO'


Cause of this error message can be many not well configured customizing, check each:

  1. Make sure delivery type is properly maintained (V_T161V_W) for ARM return to supplier process (Normally RL will be determined for return delivery. Delivery type = EKPO-LFRET but this field's filling happening in include MM06EFPV_PTV_FUELLEN_RETOURE_L, subroutine PTV_FUELLEN_RETOURE_LIF only if function module SD_TRANSFERDATA_DETERMINE ends without exception, so all shipping data found well)
  2. Setting the Returns Vendor Indicator in the Vendor Master Record  (BP -> Supplier -> Purchasing Data -> Returns Supplier) and that a vendor master is assigned to the receving plant.
  3. Also customer no. is properly maintained for corresponding plant (V_001W_IV) 
  4. Check that customer is maintained in BP role supplier  (Tab general data)
  5. Check that the customer master data is properly maintained ( BP -> Customer (FLU01) ) including: 
    •     Tab Sales and Distribution - Sales Org, Distribution Channel, Division, delivering plant, shipping condition
  6. Make sure material is maintained for suitable sales org. and distribution channel (you can find this check in debug, include LV50NF01, form MAEPV_SELECT)
  7. Check the shipping point is correctly maintained: (V_TVSTZ)  
    •      Following Factors will have impact on determination of shipping point
      •       Shipping Condition (derived from customer - Shipping condition, point 5)
      •       Loading Group ( derived from master data -> MM01/MM02 -> Sales General/Plant ) 


Setup all the above mentioned customizing well.


ME21N, rSTO, STO, Advanced Returns PO, MSR_MM004, Create Purchase Order Advanced MSR_MM 004 , KBA , LO-ARM-MM , Advanced Returns Materials Management , MM-PUR-GF-STO , Stock Transfer , LO-ARM-MM-2CL , Advanced Returns Materials Management (Public Cloud) , How To


SAP S/4HANA Cloud all versions