====== How to troubleshoot PDF/HTML/XLS export issues with N4V elements in SAP BusinessObjects Web Intelligence ====== //Anonymised summary of support ticket #209574 (2022-05-31)// ===== Symptom ===== Exports of Web Intelligence documents containing N4V elements (e.g., charts, bars) to PDF, HTML, or XLS never complete or take an abnormally long time. The issue also occurs during scheduled exports. ===== Environment ===== SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension installed. N4V components rely on a web application (N4VCustomElements) and Chromium (via Puppeteer) for rendering N4V elements during export. ===== Resolution ===== - Enable debug mode in the N4V configuration file (config.js) by setting LogDebug to true. - Restart the N4V components in debug mode using the command: pm2 start 3. - %%Attempt to export a Web Intelligence document containing N4V elements to PDF/HTML/XLS while monitoring the logs.%% - Disable debug mode by setting LogDebug back to false and restart the N4V components: pm2 start 3. - Check if the N4V server can access the N4VCustomElements web application URL directly. This URL must be reachable from the N4V server for Puppeteer to render N4V elements correctly. - If a proxy is configured on the N4V server, ensure it allows outbound connections to the N4VCustomElements URL. Configure the proxy in config.js (if required) and restart the N4V components. - Verify network connectivity between the N4V server and the N4VCustomElements web application (e.g., using telnet or curl). - %%Review the logs (n4v_bars_out.log, n4v_bars_err.log) for errors related to Puppeteer or HTTP access issues.%% ===== Other resolution ===== %%If the issue persists, check the N4V documentation for additional configuration steps related to printing/exporting. Ensure no environment variables (e.g., http_proxy) are interfering with HTTP/HTTPS requests.%%