Table of Contents

How to use a variable value in the HTML export filename

Anonymised summary of support ticket #530487 (2023-09-19)

Symptom

The user wants to include a variable value (e.g., ship code) in the filename of an HTML export from Web Intelligence to avoid duplicating reports for each entity.

Environment

SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions, Web Intelligence 4.x or later.

Resolution

  1. Create a section in the Web Intelligence report based on the variable containing the desired value (e.g., ship code).
  2. Use the section placeholder in the export filename pattern, such as '%SECTION%1%' for the first section.
  3. If multiple sections are needed, nest them in the filename, e.g., 'ship_%SECTION%1%_%SECTION%2%.html'.

Other resolution

Note: Directly passing a variable value as a parameter in the export filename is not supported in Web Intelligence. Using sections is the recommended workaround.