Skip to content

[Bug] RunReport fails in APC context — all spool reading mechanisms blocked #55

@sigurdn

Description

@sigurdn

VSP_RUNREPORT_FIX_REPORT.md

Summary

RunReport's getSpoolOutput step times out because every standard SAP spool reading mechanism is blocked in APC WebSocket context (APC_ILLEGAL_STATEMENT or silent hang).

Affected Version

v2.25.0

Root Cause

APC handlers block: SUBMIT, COMMIT WORK AND WAIT, CALL FUNCTION...DESTINATION, RSTS_OPEN, IMPORT FROM DATABASE. All standard spool FMs use one of these internally.

Solution

Wrapper report + cache table pattern: background job runs wrapper that SUBMITs target report, captures via LIST_FROM_MEMORY + LIST_TO_ASCI, stores in transparent table. APC handler reads via SELECT.

Full Report

See attached detailed report with complete code and architecture diagram.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions