SAP transaction codeObjectWE60ModuleBTP_INTEGRATION

WE60 — IDoc Type Documentation Display

WE60 generates and displays documentation for an IDoc basic or extension type: its segment hierarchy, field-level definitions, and long texts, output to screen, a structure graphic, or a downloadable Word or HTML file. It is a read-only reporting tool built on the same segment repository as WE30 and WE31 and cannot be used to create or change a segment or IDoc type.

This page covers WE60, the transaction used to read out the structure and field documentation of an IDoc type before building or debugging an interface. It focuses on the most common misuse - treating it as a maintenance transaction - and on the version and extension-type traps that make its output not match what actually arrives on the wire.

Reviewed by an ERPClimb SAP consultant on 15 Sept 2026· 1,086 words

Purpose

WE60 renders the documentation for a basic IDoc type or an extension type: the segment tree, mandatory/optional and min/max occurrence for each segment, and the field list with type, length and long text pulled from the underlying dictionary structures. Output can go to the screen as a navigable tree, as a printable structure graphic, or downloaded as a Word or HTML document for handover packs. The one fact that causes most confusion: WE60 is purely a reader. It has no save button and cannot add a segment, change a field length, or extend a type. Consultants who click around looking for an edit option are in the wrong transaction; segment and type maintenance lives in WE31 and WE30, not here.

When it is used

WE60 gets used before writing or reviewing an IDoc mapping, when the interface analyst needs to see exactly which segments and fields a given basic type carries, including custom Z-segments added through an extension. It is also the standard output for interface documentation packs handed to a partner or to an offshore development team, since the Word/HTML export gives a static reference independent of system access. It is not the tool for checking a live instance - that is WE02 or WE05 - and it is not the tool for building a new type, which is WE30/WE31. Reach for WE60 specifically when the question is 'what does this type look like', not 'what did this specific IDoc contain'.

How to use it in practice

  • Call WE60 and enter the basic IDoc type, or the extension type if custom segments must be included.
  • Choose the display variant: IDoc structure (tree with occurrence counts), segment editor view, or field documentation.
  • Expand the segment tree to drill into a specific segment and see its field list and long texts.
  • If a permanent artefact is needed, choose the download option and select Word or HTML, then save the file locally.
  • Cross-check the segment version shown against the release actually running in production before relying on the field list.

Key data objects

  • EDBAS - registers each basic IDoc type and its link to message types; WE60 reads this to resolve the type entered into a segment tree.
  • DDIC structures named with the E1 prefix - each segment is defined as an ABAP Dictionary structure, not as a row in a custom table; field lengths, types and documentation come from here.
  • Segment and field long text objects maintained through the dictionary documentation tool - WE60 pulls these texts for display; if they are empty, the field simply shows no description.
  • No transactional table is written by WE60 itself. It performs no save; every table it touches is read-only for this transaction.

How to prove it in the data

There is nothing to prove by looking at WE60 output alone, since it never writes data. To confirm a discrepancy, take a real IDoc instance from WE02/WE05, note its segment names and the basic/extension type from the control record fields, then reopen WE60 against that same type and version and compare the segment list and occurrence counts field by field. A mismatch usually means the instance was generated against an extension type or a segment version that differs from what WE60 is currently showing.

ECC vs S/4HANA

WE60 is unchanged on S/4HANA; the ALE/IDoc layer it documents is retained for backward compatibility and for interfaces that have not been migrated to API-based integration. There is no Fiori equivalent, since this is a technical documentation tool aimed at developers and interface analysts rather than business users. New interface work on S/4HANA and BTP integration scenarios increasingly favors OData or event-based APIs, but existing IDoc-based interfaces still rely on WE60 for structure review.

Common pitfalls and how to diagnose them

  • Wrong type entered - the analyst opens the basic type and sees no custom fields, then concludes the interface has no Z-segment. The Z-segment lives in the extension type, not the basic type; re-run WE60 against the extension type name to see the full picture.
  • Stale documentation after a dictionary change - a field length or long text was changed in the segment structure but WE60 still shows the old value. This is a display cache issue; regenerate the segment through WE31 and reopen WE60 rather than assuming the change failed.
  • Blank field descriptions mistaken for an error - undocumented dictionary fields show no long text in WE60. This is expected behavior for fields that were never documented, not a defect in WE60 or in the interface.
  • Treating WE60 as a maintenance transaction - there is no way to add or delete a segment or field here. Attempts to 'fix' a structure in WE60 fail silently because no save exists; the fix belongs in WE30 for the IDoc type or WE31 for the segment.
  • Version mismatch against a trading partner - WE60 shows the current release's segment version and field set, which can differ from what an older partner system still sends or expects. Comparing WE60 output directly against a partner's specification without checking segment version numbers produces false negatives in interface reviews.

Whose problem this is

Reading WE60 output is a functional/interface analyst task; changing what it displays is an ABAP/dictionary task done through WE30 and WE31, usually by a development resource with authorization to change segment definitions. A clean handover states the exact basic type, extension type, and segment version being reviewed, plus whether the discrepancy was found against a live instance or against a partner specification.

Related SAP objects

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

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