Symptom
The error “Customer name not maintained.” occurs when generating challan/outbound delivery for vendor return (movement type 161).
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to Delivery Challan for intrastate STO - India App
- Enter Company Code ABC (ABC represents the Company Code ID)
- Sending Plant (EFG) (EFG represents the Plant ID)
- Posting Date.
- Click on Vendor Return button
- Enter Vendor number XYZ (XYZ represents the Vendor number)
- Select Create Delivery Challan
- Click in Execute
- Click on Create Challan
- Click on "Display Log" to see the error "Customer name not maintained"
Cause
Error occurs since the plant and supplier details are not maintained correctly.
Resolution
We need to assign the customer Number for the Supplier/Vendor.
- Go to the Maintain Business Partner App.
- Select the Vendor XYZ and BP role as Supplier.
- Under Supplier: General Data tab
- Maintain Customer Number
We need to assign the Plant to the Business Partner created for the Plant EFG
- Go to Maintain Business Partner App.
- Select the Business Partner created for the Plant EFG.
- Open BP role as Supplier.
- Maintain Plant EFG in the Supplier: General Data tab
Keywords
vendor return, challan generation, customer name not maintained, movement type 161, outbound delivery error, s/4hana cloud public edition, materials management, NB2 Enh. Return to Supplier, error message, logistics operations, inventory reconciliation. , KBA , FI-LOC-MM-IN , India (aka XX-CSC-IN-MM) , Problem
SAP Knowledge Base Article - Public