Skip to main content

13 RFC / INT / IDocs

This view contains RFC failures and IDocs tabs. RFC failures opens by default and investigates failed integrations without collecting call payloads. IDocs investigates operational headers and states without business segments.

SaaS with anonymized data. IDoc filters, counts, and activity chart.
SaaS with anonymized data. IDoc filters, counts, and activity chart.
SaaS, sample data: ledger ordered by last activity, with times in an explicit zone and the “Delivered to port only” note for status 03.
SaaS, sample data: ledger ordered by last activity, with times in an explicit zone and the “Delivered to port only” note for status 03.
SaaS, sample data: “Newer evidence available” notice with Reload first page; the page you are reading is kept.
SaaS, sample data: “Newer evidence available” notice with Reload first page; the page you are reading is kept.
SaaS, anonymized sample data: IDoc in status 53 (success) with participants and status history; messages are masked and the original SAP template stays visible.
SaaS, anonymized sample data: IDoc in status 53 (success) with participants and status history; messages are masked and the original SAP template stays visible.
SaaS on mobile with anonymized data. IDoc counts.
SaaS on mobile with anonymized data. IDoc counts.
SaaS on mobile, sample data: header, participants, and start of the history. Scroll the detail to continue reading.
SaaS on mobile, sample data: header, participants, and start of the history. Scroll the detail to continue reading.

What RFC failures shows​

  • Active and recovered failures by protocol and direction.
  • Destination, queue, function, state, age, and technical error.
  • Filters by protocol, lifecycle, host, time range, and text.
  • The selector offers only protocols present in the range summary: classic traffic is shown as tRFC/aRFC, while qRFC or bgRFC appear only when they have observations.
  • The ledger is globally ordered by age from newest to oldest, including across page boundaries.
  • Paginated history for each failure and recovery.
  • Links from Events to the exact evidence.
  • Current Total/Active/Recovered/Protocols summary and the standard SPOT search control.
  • RFC failure details with state, function, code, technical message, and lifecycle; call payloads are never shown.

The Total, Active, Recovered, and Protocols KPIs describe the SAP source and global time range. Protocol, lifecycle, and search filter only the ledger. Changing any of those filters returns to the first page and closes the previous detail so it cannot be confused with the new result. An initial failureId deep link remains valid until a filter changes.

rfc-failures counts unique IDs per bucket, protocol, and direction. Warning starts at 1 and critical at 5 within 15 minutes; sparse ML can add context for intermittent patterns.

Partial capability​

The producer reports classic RFC, inbound/outbound qRFC, and bgRFC availability independently. An unauthorized or unavailable sub-capability does not block the others. The filter displays only protocols with positive data for the current source and range. An older producer reports Agent upgrade required.

With a very large backlog, SPOT reads at most the first 5,000 failures of each classic RFC and outbound qRFC table per cycle, always in the same order. That subcapability is partial: known failures stay active and are not reported as recovered just because they were not read. New failures beyond that limit do not appear until the backlog shrinks; Agent logs records the sap.rfc_failures.truncated warning.

Investigate IDocs​

With a compatible connector, enable IDocs on the SAP connection and wait for the configuration to apply. It is disabled by default with an initial 300-second interval. The connection's IDoc history (days) setting defines how many days of IDocs, by creation date, SPOT follows (21 by default); see SAP connections. Open the IDocs tab and select the global source and range. The host filter does not apply: in the top bar the host control is dimmed with an n/a badge, and SPOT preserves your selection for other views.

Choose Activity in range for documents active within the range, or Pending / error at range end to include older retained documents whose known state at the end of the range is still pending or in error. Filter by three-digit client, 16-digit IDoc number preserving leading zeros, direction, message type, sender, receiver, SAP code, or classification. Apply filters applies the selection and Reset restores the filters.

The SAP status filter accepts the 2-character code (for example 51). The match is exact and case-sensitive, as for message type, sender, and receiver; SAP usually stores them in uppercase.

Cards count retained IDocs across the full filtered population. The activity chart keeps the global time range in pending/error mode. Hover, tap the chart, or focus it and use the arrow keys to read inbound, outbound, and unknown-direction counts for each time bucket. Screen readers can also browse the values by time bucket. The adjacent panels show state at range end and the time elapsed from creation to the latest status. Open a document’s history to investigate its status changes.

The ledger supports pages of 20, 50, or 100 rows, with 50 by default. Open an IDoc number to inspect its header, participants, and messages in retained history; Load more status entries continues detail pagination.

The ledger is ordered by last activity, newest first; IDocs without an activity time come last. A refresh keeps the current page and the status history pages already loaded instead of jumping back to the first page. If newer evidence changes a page you are reading, SPOT keeps it and shows “Newer evidence available” with Reload first page to reload from the start. If the next page changes before it loads, you stay on the current page and the notice, also shown next to the pagination, names the page that changed. While another page loads, the previous one stays visible. On a phone the ledger is shown as stacked cards, and long values are cut with an ellipsis and show the full value on hover.

When IDoc collection needs attention, a notice appears below the cards. If collection is disabled, enable it for that SAP connection. If data is stale or coverage is partial or unknown, check collection and connector health. Muted cards count retained evidence and may show lower totals than SAP. On later ledger pages, Page snapshot as of gives the cutoff for the page you are reading.

Right after a start, SPOT may show “Preparing IDoc evidence…” while it prepares the evidence: data already loaded stays, SPOT retries automatically, and no zero totals are shown. If an IDoc request fails (for example, the service does not answer), SPOT keeps the data already loaded, shows “IDoc evidence is temporarily unavailable…” and retries on its own with growing pauses, from 15 seconds up to 5 minutes; Refresh retries at once. If the retained IDoc evidence of a source exceeds what SPOT can show, the screen says so (“The retained IDoc evidence exceeds what SPOT can show here…”) instead of showing partial figures.

The list of current RFC failures is also computed once per source and reused by the summary, the search and refreshes. Right after a start it may show a preparing state: data already loaded stays, and SPOT retries automatically after the pause it indicates.

Times are shown in your browser time zone, with the zone named explicitly (for example UTC or GMT+1). SAP status texts show their parameters already substituted, and the original template stays visible next to the text. Status 03 carries the note “Delivered to port only”: it means passed to the port, not posted by the receiver. When the SAP time of a status cannot be resolved, the history flags it with “Clock unresolved”, shows the raw SAP date and time, and keeps the status classification.

An empty Activity in range list can coexist with older retained documents. Use Pending / error at range end to investigate them and compare coverage: seeing documents does not establish complete collection.

SaaS: retained detail with anonymized participants and messages. History completeness applies to this document.
SaaS: retained detail with anonymized participants and messages. History completeness applies to this document.
SaaS on mobile: header, participants, and start of the history. Scroll the detail to continue reading.
SaaS on mobile: header, participants, and start of the history. Scroll the detail to continue reading.

Read IDoc coverage and freshness​

The collection notice identifies incomplete recent activity or older reconciliation coverage. The first recovery attempts the last 24 hours with a 15-minute overlap. Older reconciliation progresses separately for pending and error documents. A document’s history describes that IDoc alone. Aggregate coverage applies to the retained clients and the configured history.

Older reconciliation walks, in the background at a limited pace, the headers of the IDocs created within the IDoc history configured on the SAP connection (IDoc history (days), 21 days by default), not every header retained in SAP. It reads and sends the full history only for documents whose current status is pending, error, or unclassified; an old document whose current status is successful is confirmed by its header and its history is not sent again. Old successful documents therefore appear only if recent activity captured them or if their header changed to a successful status after they were last read. A complete older reconciliation means every header within the configured IDoc history was checked and every pending, error, or unclassified document in it was reconciled: it is complete for the configured history, not for the whole SAP retention.

The configured IDoc history is counted by creation date in the time zone of the SAP connection, the boundary day included, and it moves forward with the calendar. An IDoc created earlier is collected only when it changes (for example, it gets a new status): recent activity picks it up and sends it. After that SPOT does not follow it, neither with the periodic re-read of pending and error documents nor with older reconciliation, until it changes again. An old pending or error IDoc that was created before that history and never changes again therefore does not appear in SPOT. To cover it, raise IDoc history (days) on the SAP connection; see SAP connections.

After the first complete older reconciliation, later ones only re-read pending, error, or unclassified documents whose header changed (status or change date and time) or that were not reconciled yet; the others count as reconciled without re-reading their history. A change of the status grouping makes every document that is still not successful be re-read; documents that become successful only through that change are confirmed by their header and normally not re-read. A change of the connection's SAP server makes all of them be re-read. Known pending and error documents within the configured IDoc history are also refreshed periodically, normally once a day; with many pending or error documents, a full round can take longer. When SPOT can verify the SAP status catalog, unclassified documents are not refreshed periodically: they are re-read when their header or the status grouping changes.

Classification (successful, pending, error) comes only from the SAP status configuration: the customer status groups and, for statuses without a customer group, the SAP standard groups; the customer group takes precedence. A status with no group in either source stays unclassified.

current requires confirmed recent coverage lagging by at most 420 seconds. stale retains previous evidence and unknown means there is insufficient proof; neither means zero or recovered. Classification preserves the raw code when the status catalog cannot be verified. Status 03 means passed to the port, not posted by the receiver. An invalid SAP time or one made ambiguous by a daylight-saving change remains unknown.

Recent activity takes priority over older reconciliation and over re-reading pending and error documents. With a normal volume of new IDocs, the collection delay stays within those 420 seconds even while a long older reconciliation or a large pending re-read runs in the background; those tasks keep progressing at least once per IDoc collection interval. A large burst of new IDocs can exceed the limit while it is being read, and freshness is temporarily stale; it returns to current one interval after that read is confirmed.

If SAP returns a status code that the SAP status catalog cannot confirm, that IDoc stays out of the evidence (it appears neither in the ledger nor in the cards) and coverage is marked as possibly incomplete (gap possible). SPOT retries it automatically in later passes and, once the catalog confirms it, the IDoc enters the evidence; other documents are not affected. Agent logs records the warning sap.idoc.document.quarantined without IDoc numbers or SAP values. A two-digit code is always admitted. If the warning persists, check that the connector's technical user can read the status catalog and ask BASIS whether the code is custom.

The same happens, with the same warning, when SAP returns an IDoc inconsistently in two consecutive reads (for example with duplicate status rows): the other documents keep being reconciled. In recent activity (Recent activity) as well as in older reconciliation and in the re-reading of pending and error IDocs, an IDoc deleted or archived in SAP while SPOT reconciles it simply stops being counted: it does not block the others, does not stall recent coverage and does not mark coverage as incomplete.

An IDoc with a status history that is too large (more than about 14,900 statuses retained in SAP) or one that cannot be processed in three consecutive attempts without making progress (for example because sending it never finishes within the time of one cycle) is also quarantined, with the same warning and reason=history_too_large or reason=no_progress. Nothing of that IDoc is sent. SPOT does not read it again while its header is unchanged (status or change date and time); once it changes, SPOT retries it once: if it can now be processed, the IDoc enters the evidence and leaves the quarantine; if not, it is set aside again. An IDoc that keeps making progress, even if it needs several cycles, is never quarantined: a cycle that runs out of time keeps what it already did and resumes later.

While the current status of a set-aside IDoc is not a confirmed success, the coverage of every pass that meets it (older reconciliation and, if the IDoc is recent, recent activity as well) is marked as possibly incomplete (gap possible). Once its status becomes a confirmed success, because the SAP status catalog changed or because the IDoc itself changed and the retry set it aside again, older reconciliation is no longer marked as incomplete because of it, as with any old IDoc whose status is successful, although nothing of it was sent. The IDoc stays counted in the total of quarantined IDocs until a retry can process it: that total, not the gap possible mark, tells how many IDocs are still set aside.

While the stalled IDoc belongs to older reconciliation or to the re-reading of pending and error documents, recent activity and the other documents keep progressing and the collection delay stays within the 420 seconds. If it is a recent IDoc (created or changed inside the recent activity window), recent activity waits until SPOT sets it aside. A recent IDoc with a history that is too large is set aside within one or two read cycles. One that stalls without being too large is set aside after three attempts, roughly 13 to 18 minutes with the default 300-second interval; during that time the collection delay grows and freshness can become stale, and it returns to current by itself once the IDoc is set aside. This can repeat whenever the header of that IDoc changes.

An older reconciliation whose only gaps are IDocs that were explicitly set aside (status history too large, no progress after three attempts, or a status code the verified SAP status catalog does not contain) counts as reconciled with an explicit gap: every header within the configured IDoc history was checked and the other documents were reconciled. Coverage stays marked gap possible, never complete, and the set-aside IDocs stay out of the evidence. A pass whose gap comes from a status catalog that could not be verified, or from an IDoc that SAP returns inconsistently, does not count as reconciled. To see how many IDocs were set aside and why, filter Agent logs for the warning sap.idoc.document.quarantined and its reason; the connector heartbeat also reports, as aggregate counts without IDoc numbers, how many IDocs were set aside in the last older reconciliation counted this way and the total of IDocs that are still quarantined.

If the local workspace the connector uses for IDocs reaches its limit, the connector pauses only IDocs: it neither reads SAP nor sends IDoc data, keeps the coverage already confirmed, and the other collections continue normally. It resumes by itself once usage drops below 90% of the limit. Agent logs records sap.idoc.staging.limit with paused and, later, resumed. While paused, the collection delay increases and data can become stale.

Changing the SAP connection configuration affects IDoc coverage. Changing the connection alias, technical user, or language, or rotating passwords and keys, keeps coverage. Changing the time zone restarts only the recent 24-hour window. Changing the SAP server (host, instance number, or system ID) or the write destination restarts coverage and discards pending items. After a restart, coverage remains unconfirmed until collection verifies it again. Agent logs records sap.idoc.binding.transition with the change class and the action on coverage.

Changing IDoc history (days) does not restart recent coverage: it only changes which IDocs older reconciliation covers, as described in SAP connections. Agent logs records sap.idoc.history.horizon when the configured history is applied to a connection and sap.idoc.history.pruned when SPOT stops following IDocs outside it; both are informational.

If Agent logs shows sap.idoc.read.incoherent with the message IDoc read coherence check failed, a read coherence check failed. Preserve the warning and previous evidence and review coverage: collection may remain incomplete even when rows are visible. The warning does not establish the cause or turn those rows into complete coverage or recovered documents; its absence does not establish success either.

If a row_key warning includes shape (value_shape) and length, use them to describe the failed check without copying the field value. They describe already decoded text: empty does not prove that SAP returned an empty field, because trailing ASCII spaces have already been removed. Preserve the warning and compare coverage; these details alone establish neither the cause nor complete collection.

If you receive an authorized status diagnostic comparison, preserve its metadata: it reports agreement, disagreement, or an inconclusive result without publishing SAP values. Agreement with the reference read alone does not confirm status classification; disagreement does not identify the cause either. A limit, cancellation, or failed read can leave the result inconclusive. If the catalog query was bounded, not finding a status does not establish its absence. The comparison changes no documents and does not turn incomplete coverage into complete coverage.

For an empty list or partial coverage, check the source, client, filters, enabled collection, applied configuration, capabilities, and Agent logs. If only IDocs fails, disable that collection and keep the others; enabling it again preserves progress. Refresh in the same context retains data while waiting; changing source removes the previous source's data. SPOT provides read-only investigation: it neither displays EDID4 segments nor reprocesses documents, and it does not infer causality with Jobs, Programs, or Work Processes.