SHPORD message type — SHPORD IDoc Message Type for Shipping Orders
SHPORD is an outbound IDoc message type that carries a shipping order from a shipment document to an external carrier or forwarding agent, instructing them to execute a pickup or delivery leg. It is triggered by shipment output determination once the shipment is planned and checked, and typically passes through an EDI subsystem or an integration layer such as SAP Integration Suite before reaching the carrier's system.
This page covers what the SHPORD IDoc carries, the segment groups it typically contains, the partner profile and output determination setup required for it to fire, and the ordered checklist for diagnosing a stuck or missing shipping order IDoc. It also flags the reflex fix that hides the real cause and the pitfalls that make monitoring this message type misleading.
Published 16 Sept 2026· 1,090 words
What it carries
SHPORD carries a shipping order document from the shipper's SAP system to an external carrier, forwarding agent or logistics service provider. It represents the instruction to execute a specific leg of a shipment: what to pick up, from where, when, and where it needs to go. The IDoc is generated outbound, triggered by the shipment document once that shipment has been planned and checked in the transportation area, and it usually travels through an integration layer such as an EDI subsystem, SAP PI/PO, or SAP Integration Suite before reaching the carrier's own system or portal. It does not carry freight cost or billing information; that is handled through separate documents. The receiving party is always external to the sending system, so a successful send status in SAP confirms only that the message left SAP, not that the carrier acted on it.
Segments
The IDoc is built from the shipment document, so its segment structure mirrors what a shipping order needs to communicate to an external partner.
- Header segment: shipment number, planned pickup and delivery dates, mode of transport, shipping type and overall route reference
- Partner segments: one entry per partner role involved, typically shipper, consignee, carrier and forwarding agent, each carrying the partner's identifying number and address data
- Item or reference segments: one entry per delivery or handling unit assigned to the shipment leg, referencing the delivery number, material or handling unit identifiers and quantities
- Stage or leg segments: for multi-leg shipments, the sequence number, mode of transport and locations for each stage
- Date and time segments: planned versus actual timestamps for loading, departure and arrival at each stage
Configuration
Outbound processing needs a partner profile with SHPORD listed in the outbound parameters for the carrier or forwarding agent's partner number, pointing to a process code that resolves to the function module responsible for building the IDoc from the shipment document. That output must actually be proposed on the shipment through output determination, which usually means an output type tied to a condition record and, in the background, a partner function on the forwarding agent's vendor master marked as EDI or output relevant. A port must exist: a file port if the receiver sits behind a traditional EDI subsystem, or an RFC/ALE-style port if the message passes through a middleware layer such as PI/PO or SAP Integration Suite. The partner profile also decides whether the IDoc is sent immediately or picked up by a scheduled collection job. If the flow terminates in another SAP system, a matching inbound partner profile and process code are needed on that side.
What to inspect when it fails
Work from the shipment document outward, not from the IDoc list inward, since the IDoc is usually a symptom of an upstream shipment or partner problem.
- Display the shipment document and confirm its status has actually reached planned and checked; output for SHPORD cannot trigger before that
- Check output determination on the shipment itself: was the output type for SHPORD proposed at all, or blocked by an exclusion or missing condition record
- Search the IDoc list for the shipment: status 30 means the send to the port failed, status 29 means it is stuck in the ALE distribution layer, status 03 means it left SAP with no further visibility from this side
- Check the outbound partner profile for the carrier's partner number and confirm SHPORD is still listed with the correct process code and message control settings
- Check the port definition referenced by that partner profile: file path or RFC destination still valid and reachable
- If the port is ALE-based, check the transactional RFC queue for failed calls
- If the message is routed through SAP Integration Suite or another middleware layer, check the integration flow's message processing log, since a sent status on the SAP side does not confirm receipt on the other end
- Check for a short dump if the outbound function module itself failed while building the IDoc
Whose problem this is
The functional transportation team owns shipment configuration, output determination and the partner master data behind it. Basis or integration owns the partner profile, port definition, RFC destinations and whatever middleware or BTP integration flow the IDoc passes through. Escalate a partner profile or port change, or a stuck ALE queue, to Basis or integration; escalate a missing output proposal or wrong partner function to the transportation functional consultant. ABAP involvement is only needed if the outbound function module itself dumps.
Common pitfalls
This message type is easy to misread because SAP's own status only covers half the journey.
The reflex is to reprocess the failed IDoc directly or to trigger the shipment output again by hand. This produces a second or third outbound IDoc carrying the same underlying problem, whether that is a missing partner function, an incomplete address, or a shipment that has not actually reached the checked status. The result is a noisier monitoring queue with several error records instead of one, and if the first attempt actually reached the carrier late, a duplicate shipping order on their side. The correct fix is upstream: correct the shipment or partner master data, then let output determination fire exactly once.
- A green outbound status confirms the IDoc left the SAP system; it says nothing about whether the carrier's system or the integration middleware ever received or parsed it
- Multi-leg shipments can generate several SHPORD IDocs, one per leg or per carrier, and a failure on one leg can look like a failure of the whole shipment when the other legs went out fine
- Output determination depends on the forwarding agent's vendor master carrying the right partner function; a shipment can look fully complete and still never propose the output because of a missing partner function rather than a missing condition record
- Manually reprocessing the IDoc resets its timestamp, which can mislead anyone later reconciling send times against carrier acknowledgements
Related SAP objects
Reviewed pages this object connects to in the ERPClimb knowledge graph.
Source: ERPClimb — https://erpclimb.com/sap-idoc/shpordERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.