BI Publisher (MOSC)

MOSC Banner

Issues in System Variable in BI Publisher

edited Aug 16, 2014 5:01AM in BI Publisher (MOSC) 1 commentAnswered

Hello,

I have been using :xdo_user_name for displaying the user name. The system variable is running successfully in following command-

select "PAN_TM_JURISDICTION_HRCHY"."AREA_CD" as "CCIT" from "APPDB"."PAN_TM_JURISDICTION_HRCHY" "PAN_TM_JURISDICTION_HRCHY" where "PAN_TM_JURISDICTION_HRCHY"."CCIT_BLDG_ID"= :xdo_user_name

But when I use the same query in Case Statement, then the system variable doesn't work. The query used is:-

select unique case

when "PAN_TM_JURISDICTION_HRCHY"."CCIT_BLDG_ID"=:xdo_user_name

then

("PAN_TM_JURISDICTION_HRCHY"."AREA_CD")

end

from "APPDB"."PAN_TM_JURISDICTION_HRCHY" "PAN_TM_JURISDICTION_HRCHY"

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center