How to troubleshoot random PDF export issues with N4V for Webi (Data Analyser, charts, maps)
Anonymised summary of support ticket #931679 (2026-12-04)
Symptom
Random PDF export failures where elements (Data Analyser tables, charts, maps) appear as fragmented/puzzle pieces or missing entirely. Issue occurs intermittently, sometimes affecting one element but not others in the same report.
Environment
SAP BusinessObjects Web Intelligence 4.2 SP8 running on Windows Server 2016. N4V for Webi (Need4Viz) with Puppeteer-based PDF export. Cluster mode deployment. Configuration includes `use_internal_webapp_PRINT = TRUE` and `URL_PORT_WebApp_int_PRINT` set.
Resolution
Enable debug logging in N4V by setting `logDebug = true` in `config.js` (located in `Need4Viz
odejs
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz` or via the admin page at `/admin/configuration`). Restart N4V services (`pm2 restart all` or via admin console).
Use the provided Puppeteer test script to reproduce the issue locally. The script should be placed in `Need4Viz
odejs
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4v` and configured with the correct paths (e.g., `PUPP_Path`, `OUTPUT_DIR`, `USER_DATA_DIR`). Adjust `API_ENDPOINT` for the target component (e.g., `extpivottable` for Data Analyser). Run the script with `node puppeteer.js` and monitor for crashes.
Set `internalProxy_enable = true` in `config.js` to prevent Chromium from attempting external internet access during PDF generation, which may be blocked by network policies. Restart N4V services after the change.
Upgrade to N4V version 2026.3.x or later, as it includes fixes for Puppeteer-based exports. Test the upgrade in a non-production environment first.
Collect and analyze logs (`n4v_*_out.log`, `n4v_*_err.log`) from the `Need4Viz
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4viz
ode_modules
eed4v` directory after each test. Disable antivirus temporarily to rule out file scanning interference during PDF generation.
Other resolution
If the issue persists, consider testing with `LogDebug = 2` for enhanced logging. For cluster environments, ensure all nodes are tested individually. The problem may be related to Chromium rendering inconsistencies or resource contention during parallel exports.