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.
VSP_RUNREPORT_FIX_REPORT.md
Summary
RunReport's
getSpoolOutputstep 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.