ABAP short dumpObjectCONNE_IMPORT_WRONG_COMP_TYPEModuleABAP

CONNE_IMPORT_WRONG_COMP_TYPE — IMPORT Structure Mismatch Runtime Error

CONNE_IMPORT_WRONG_COMP_TYPE is raised when an ABAP IMPORT statement reads data (from ABAP memory, a database cluster table, or a shared buffer) into a target whose component types do not match the structure that was originally used to EXPORT it. The runtime cannot map the stored bytes onto the current data object, so it terminates instead of writing into the wrong field.

This page covers the CONNE_IMPORT_WRONG_COMP_TYPE dump, which happens when the layout of an IMPORT target does not match what was EXPORTed into ABAP memory, a cluster table, or a shared object. It focuses on the transport, versioning and memory-ID reuse patterns that actually cause it, how to read the dump quickly, and why suppressing the check with IGNORING STRUCTURE BOUNDARIES is the wrong reflex.

Published 16 Sept 2026· 1,333 words

What the dump means

IMPORT/EXPORT in ABAP does not move typed data directly; it serializes the source into a self-describing stream and later deserializes it into the target, checking that the component types line up field by field. CONNE_IMPORT_WRONG_COMP_TYPE fires during that deserialization step when a component in the stream has a type, length, or structure that the IMPORT target does not expect. It belongs to the CONNE (communication/connection) error class because the runtime treats the mismatch the same way it treats a broken RFC or file transfer: the data received does not match the contract the receiving side assumed. The dump is not a database error and not a user-data error in the business sense — it is a structural incompatibility between what was written and what is being read back, almost always introduced by a program or dictionary change that happened between the EXPORT and the IMPORT.

Root causes that actually produce it

  • Structure changed between EXPORT and IMPORT: a DDIC structure or local TYPE used in the EXPORT statement gained, lost, or reordered a field (including via an append structure or an include) after data was already written to a cluster table or memory, and the reading program still uses the old or the new definition inconsistently.
  • Memory ID reused for different payloads: a program does EXPORT ... TO MEMORY ID 'ZKEY' with one structure at one point in the call stack and a different program or a later call does IMPORT ... FROM MEMORY ID 'ZKEY' expecting a different structure, because the ID string was chosen generically and reused across unrelated features.
  • Transport landscape inconsistency: the exporting program version and the importing program version are not on the same transport level — common when a cluster table is written by an old batch job whose data is only read after a transport moved a changed structure into production, or when two systems in an interface (via RFC or a shared cluster) run different support package levels.
  • Generic versus specific type mismatch: the target of the IMPORT is declared with a generic type, a different table kind (STANDARD versus SORTED versus HASHED), or a different line type than the object that was exported, so the runtime cannot reconcile the internal table descriptors even though the field content would fit.
  • Custom cluster table misuse: a Z-table modeled as an INDX-type cluster (with a RAW/STRING data field storing serialized structures) is written by one program and read by another that was updated independently, so the two programs disagree on the layout of the payload stored inside the cluster field.
  • Upgrade or enhancement side effects: an SAP upgrade or a customer enhancement changed a standard structure used internally by EXPORT/IMPORT logic, and old cluster data written under the previous release is read by the new one without a conversion step.

What to inspect in ST22

  • Error class and short text at the top of ST22: confirms this is a component-type mismatch, not a generic serialization failure, and usually names the offending component or its position in the structure.
  • 'What happened' section: states whether the source is ABAP memory, a database cluster (EXPORT/IMPORT TO DATABASE), a shared buffer, or a file, which narrows the search immediately — memory-ID reuse points to program logic, cluster-table sources point to structural or transport drift.
  • Source code display and line number: identifies the exact IMPORT statement and the target variable or structure named after it; check whether the same variable name is reused earlier in the same program for a different EXPORT.
  • Active call stack: shows the calling chain, which is essential when the EXPORT and IMPORT happen in different programs or function modules, since the mismatch is otherwise invisible from either side alone.
  • Container/cluster ID if applicable: note the memory ID or cluster key string; search the codebase for every EXPORT using that same literal string to find the conflicting producer.
  • Follow-on checks: SE11 on the structure or table type named, to compare its current definition against what a transport log or version management (SE38 program version comparison) shows for the exporting program's assumed layout at the time the data was written.

Resolution path

If the cause is a changed structure, the fix is either to convert the old cluster data to the new layout with a one-time conversion report, or to version the structure so old and new records can both be read (add fields only at the end, never insert or reorder) — this requires a change request and, for productive cluster tables, a data migration step. If the cause is memory-ID reuse, rename the memory ID to something unique per feature and re-test both producer and consumer together; this is a straightforward code change but still needs regression testing of every place that reads the old ID. If the cause is a transport-level inconsistency between systems or between a batch job and a later online step, the fix is procedural: align transport schedules so structure-changing transports and the jobs that depend on them move together, or add an explicit version tag to the exported payload so the importer can detect and reject stale data cleanly instead of crashing. If the cause is an SAP-delivered structure changed by an upgrade, check whether SAP ships a conversion program for the cluster table before writing a custom one.

The fix people try first (and why it fails)

The reflex fix is adding the IGNORING STRUCTURE BOUNDARIES addition to the IMPORT statement, or wrapping the IMPORT in a TRY/CATCH that swallows the exception and moves on. Both suppress the crash but not the mismatch: IGNORING STRUCTURE BOUNDARIES tells the runtime to map bytes across field boundaries regardless of type, which silently populates fields with garbage or shifted values instead of failing loudly. A caught exception that is logged and ignored leaves the program running on an incomplete or wrongly typed data object, which produces incorrect business results discovered much later and far harder to trace than the original dump.

Prevention

Never reuse a literal memory ID string across unrelated features; prefix it with the program or function group name. Treat any structure used in EXPORT/IMPORT to a persistent cluster table as a versioned interface: only append fields at the end, document every consumer, and write a conversion report before any structural change reaches production. For interfaces between systems on different release levels, exchange an explicit version indicator in the payload rather than relying on implicit layout agreement. Include IMPORT/EXPORT usage in code review checklists whenever a structure feeding a cluster table is touched.

Whose problem this is

This is an ABAP development issue, not a Basis or functional one, except when it surfaces after a transport sequencing problem across systems, in which case Basis needs to confirm which transports landed where and when. The handover note should list the memory ID or cluster table involved, the exporting and importing program names and line numbers, the structure definition before and after the suspected change, and the transport request that introduced the change.

Related SAP objects

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

Source: ERPClimb — https://erpclimb.com/sap-abap-dumps/conne-import-wrong-comp-typeERPClimb is an independent platform and is not affiliated with SAP SE. Reference pages are written and reviewed by SAP consultants for learning and troubleshooting.