Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

BI Publisher 11g errors with "A parameter name contains ... is not allowed"

Received Response
21
Views
2
Comments

Summary

A parameter name contains any of the characters (~, !, #, $, %, ^, &, *, +, `, |, \",\', \\, <, >, ?, ,, /) is not allowed.

Content

This happens when I add the sql to the edit box. The SQL has been tested verbatim outside BI Publisher, parameters were part of the data model before the current change, any hints would be appreciated.

...

where     shp.shipment_gid = 'REGION.' || :P_SHIP_ID
       and orej.source_location_gid = 'CUSTOMER.' || :P_DEST

Version

Oracle® Business Intelligence Publisher 11g Release 1 (11.1.1)

Tagged:

Answers

  • Saresh-Oracle
    Saresh-Oracle Rank 5 - Community Champion

    Hi,

    This is an expected error message. Did you try using anything without those parameters?

    BI Publisher 11.1.1.9.x Reports No Longer Allow Special Characters in The BI Parameter Display Label (Doc ID 2149297.1)

    Thanks,
    Sareesh

  • Cesar Castillo
    Cesar Castillo Rank 1 - Community Starter

    I narrowed it down to a line:

     to_char(sysdate, 'MM/DD/YYYY HH24:MI') parm_failing,

    If I remove the colon ':' it works fine.

    That's not the format I need though, any hints?

     

    parm error.JPG