IDoc message typeObjectSHPCONModuleBTP_INTEGRATION

SHPCON message type — SHPCON IDoc Shipping Confirmation Message Type

SHPCON carries a shipping confirmation back into SAP, typically inbound from a decentralized warehouse management system or third-party logistics provider, confirming that picking and loading for an outbound delivery is complete. SAP uses it to post goods issue against the referenced delivery document, so the delivery number, item quantities, and actual movement date carried in the IDoc drive a real inventory posting.

This page covers the SHPCON IDoc message type used to confirm shipment execution against an SAP outbound delivery, usually sent from an external warehouse or transport system. It focuses on what triggers goods issue posting, where the confirmation typically fails, and how to trace a stuck or misapplied confirmation back to the delivery it references.

Published 16 Sept 2026· 1,029 words

What it carries

SHPCON moves a shipping confirmation for an outbound delivery. The typical flow is inbound to SAP: an external decentralized warehouse management system, a transport execution platform, or a third-party logistics provider confirms that a delivery has been picked, packed and loaded, and sends that confirmation back so SAP can post the goods issue. The document referenced is an existing outbound delivery created earlier in the sales or stock transfer process, not a new business object. The IDoc effectively closes the loop between physical execution outside SAP and the financial and inventory posting inside SAP. It is distinct from a despatch advice sent to a customer to announce a shipment; SHPCON is the internal confirmation that execution actually happened, and it is consumed rather than issued by SAP in most deployments.

Segments

The main header segment carries the delivery number, shipping point, and the actual date and time of the goods movement that the external system is confirming, along with means-of-transport or shipment reference data where relevant. An item-level segment carries the delivery item number, material, plant and storage location, and the quantity actually confirmed as picked or loaded, which may differ from the planned delivery quantity. Where batch or serial management is active, a further segment carries the batch number or serial numbers being confirmed against the item. Header and item segment field names beyond this description should be confirmed against the active IDoc extension in the system, since custom extensions frequently add carrier, handling-unit or tracking fields on top of the base structure.

  • Header segment: delivery number, shipping point, actual goods movement date and time
  • Item segment: delivery item, material, plant, storage location, confirmed quantity
  • Batch/serial segment: batch or serial numbers tied to the confirmed item quantity

Configuration

Inbound processing needs a partner profile for the sending partner with SHPCON registered as an inbound message type, a process code that routes the IDoc to the function module handling goods issue posting from delivery confirmation, and a port matching however the external system connects, whether file, tRFC, or a middleware queue. The partner is usually modeled as a logical system if the sender is another SAP-adjacent system, or as a vendor/customer partner type if the sender is a genuine external 3PL. Because SHPCON is almost always inbound rather than output-determined, there is normally no condition-technique output type to configure on the SAP side for it; the trigger to send lives in the external system. Where SAP is expected to generate an outbound SHPCON as part of a non-standard integration, that would require its own output determination setup and should be treated as a bespoke build, not a standard flow.

What to inspect when it fails

Work from the IDoc status backward to the delivery, not the other way around.

  • WE02 or WE05: find the IDoc, read the status record text exactly, do not assume 51 means the same cause every time
  • WE20: confirm the partner profile has SHPCON inbound with the expected process code and that the port matches the actual sender
  • VL03N on the referenced delivery: check whether goods issue is already posted, which explains a duplicate-confirmation error
  • Compare confirmed quantity on the IDoc segment against open delivery quantity, including any tolerance settings that might silently absorb or reject the difference
  • For batch or serial managed items, confirm the batch or serial data on the IDoc actually exists and is unrestricted in the plant referenced
  • SM58 for the sending side if the port is RFC-based and the IDoc never arrived at all
  • BD87 to reprocess only after the underlying cause is fixed, never as the first move

Whose problem this is

Functional logistics execution owns the delivery, quantity tolerance, and batch determination rules that decide whether a confirmation posts cleanly. ABAP gets involved only if the inbound function module needs enhancement for custom segment fields. Basis owns the port, RFC destination, and connectivity to the external warehouse or 3PL system, and should be the first call when IDocs never arrive rather than when they arrive and fail.

Common pitfalls

SHPCON's biggest trap is that it looks like a simple status message but it performs a real inventory posting, so errors here are stock errors, not just interface errors.

The reflex is to mass-reprocess failed SHPCON IDocs in BD87 or to post the goods issue manually in VL02N to make the delivery look complete, then let the IDoc sit in error. Both hide the mismatch instead of resolving it. Manual posting creates a delivery state the external system does not know about, so its next confirmation attempt fails against an already-issued delivery, generating a second error that looks unrelated to the first. Reprocessing without checking the delivery status risks a duplicate goods movement if the confirmation was in fact already applied through a different channel.

  • Status 53 in WE05 only means the IDoc function module ran without error, not that the goods issue posting reflects what physically happened in the warehouse
  • Partial confirmations for the same delivery are normal in split-shipment scenarios; treating a second SHPCON for the same delivery as a duplicate error is a common false alarm
  • Confirmed quantity below delivery quantity may post silently within tolerance and never surface as an error, masking a short shipment until stock reconciliation
  • Direction gets misdescribed in project documentation as outbound when the receiving system is actually SAP, which sends people looking at the wrong partner profile
  • Batch-managed materials fail with a generic posting error when the batch on the IDoc was created after the delivery was picked, which is a timing issue, not a data issue

Related SAP objects

Reviewed pages this object connects to in the ERPClimb knowledge graph.

Source: ERPClimb — https://erpclimb.com/sap-idoc/shpconERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.