Packages oracle not recognized lexical parameter that passed from BIP
Dear all,
My name is Rizal, i've a problem when passing lexical parameter from BIP to Oracle Packages. Below is my data template in BI Publisher that call function f_where_clause on packages :
<dataTemplate name="dtTemplate1" description="dtTemplateTest" dataSourceRef="prodin" defaultPackage="pkg_rep_bip">
<dataTrigger name="cobaTrigReport" source="pkg_rep_bip.f_where_clause(:P_SD)"/>
<dataQuery>
<sqlstatement name="Q1">
<![CDATA[SELECT CODE, SPPD_CODE FROM PRO_SPD01 &v_where_clause]]>
</sqlstatement>
</dataQuery>
</dataTemplate>
and P_SD is one parameter that i created in BI Publisher.
and below is my packages (Spec and Body) :
SPEC :
CREATE OR REPLACE package PRODIN.pkg_rep_bip
as
v_where_clause varchar2(10000);
function f_where_clause (p_sd varchar2)return boolean;
end pkg_rep_bip;
BODY :
CREATE OR REPLACE package body PRODIN.pkg_rep_bip as
function f_where_clause (p_sd varchar2)return boolean is
begin
if p_sd = 'Y' then
v_where_clause := ' where re=11';
else
v_where_clause := ' where re=24';
end if;
return true;
end f_where_clause;
end;
More detail problem is when parameter P_SD = Y (i assigned in BI PUblisher) the result always go to (v_where_clause := ' where re=24'). Any help/answer really appreciate.. Many thanks..
It seems that Reports help is wrong ( or imprecise).
Eg. if we have:
select &p_select
from dept
where &p_where
and the initial values for the parameters are:
p_select: deptno, dname
p_where: 1 = 2
and the code in the Before Reports trigger is the following:
function BeforeReport return boolean is
begin
:p_select := 'deptno, ''abcde'' ';
:p_where := '1 = 1';
return (TRUE);
end;
we get all the rows (where 1 = 1) and we get the value 'abcde' in the field "dname".
However, try to move your code from the Before Report trigger to After Parameter Form trigger.
Regards,
Zlatko
Similar Messages
-
this installation package could not be opened.verify that the package exists and that you can access it,or contact the appliacation vendor to verify that this is a valid windows installer package how can i istaller itunes in my laptop windows 7 64 bits
I'd first try downloading an installer from the Apple website using a different web browser:
http://www.apple.com/itunes/download/
If you use Firefox instead of IE for the download (or vice versa), do you get a working installer? -
While installing itunes i am getting error "this installation package could not be opened.verify that the package exists and that you can access it,or contact the appliacation vendor to verify that this is a valid windows installer package"
I'd first try downloading an installer from the Apple website using a different web browser:
http://www.apple.com/itunes/download/
If you use Firefox instead of IE for the download (or vice versa), do you get a working installer? -
installation package could not be opened verify that the package exists and that you can access it or contact the application vendor to verify that this is a valid Windows package installler what can i do ? help me
Hi,
Firstly make sure you save it to your hard disk, and then run setup from there.
If it doesn't help, you may also try to unregister Windows Installer, and then reregister Windows Installer and check if it helps. To do this, follow these steps:
1. Press Windows Key + R
2. In the "run" box, type "msiexec /unreg", and then press ENTER.
3. Press Windows Key + R
4. In the "run" box, type "msiexec /regserver", and then press ENTER.
Besides that, You could try to create a new user to download and install the application.
Karen Hu
TechNet Community Support -
Ever time I try to download itune on my new packard bell I get the message "this instillation package could not be opened. verify that the package existsmand that you can access it or contact the application vendor to verify that this is a valid windows installed package" PLEEEEASE someone help me as I've lost all of my music!
tried downloading the quicktime installer, I get the same message with it too
-
I have tried and tried to install itunes on my mums zoostorm windows 7 64-bit pc and it comes up with this message "this installation package could not be opened, verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package" i have tried everything that i have been told to do and nothing has worked but then i try to install it on her toshiba satellite pro windows 7 32-bit as she reset it back to factor settings she has done ALL updates she had itunes on her laptop before but when we went to install it back on the laptop it cam up with the same message as it did on the pc i would really like it if someone can please help with this problem as i am getting so annoyed with it. I have a zoostorm windos 7 32-bit laptop and i have reset that bk to factory settings and i installed itunes on there with no problems so a soultion would be really great.
Many thanks DonnaI'd first try downloading an installer from the Apple website using a different web browser:
http://www.apple.com/quicktime/download/
If you use Firefox instead of IE for the download (or vice versa), do you get a working installer? -
When i go to unistall i get, this pack package can not be open.Verify
that the pack package exists and that u can acess it.Or contact the application
vendor, to verify that this is a valid windows installer patch package.I am using a new hp laptop that is running windows 7
-
i am trying to install itunes on my computer which is running windows 7, sp1, 64 bit. i get the message 'THIS INSTALLATION PACKAGE COULD NOT BE OPENED.VERIFY THAT THIS PACKAGE EXISTS, ETC'. any ideas how to fix?
thanks jakeHello tcampbell1549,
Thank you for using Apple Support Communities.
For more information, take a look at:
Issues installing iTunes or QuickTime for Windows
http://support.apple.com/kb/ht1926
Have a nice day,
Mario -
While trying to download Itunes on my lenovo laptop it tells me in an error box the following : " this installation package could not be opened verify that it exsist or contact the vendor for more info" what did i do?
Perhaps the answer provided for this problem in Microsoft's forums will help.
Good luck. -
THIS INSTALLATION PACKAGE COULD NOT BE OPENED, VERIFY THAT THE PACKAGE EXIS
I just purchased an IPod, now I cannot install I Tunes on my vista pc.
No matter how many times I try, it says, the installation package could not be opened, please verify that the package exists and that you hav the right to access it. contact the vendor (apple) to verify that this is a valid windows installer package.
I tried also to open this with administator priveledges, with no changes.
I tried also to re download this 3x and get the same results, on both my computers.Hi,
That did not fix the problem, same error.
But it was sort of fun to do the process!!
Can anyone help me with this?
I now tried installing an old version of i tunes, and vista "does" allow older installs, but i tunes doesn't see the ipod. the ipod sees the computer though because when i unplug it the ipod icon changes. -
I am having trouble downloading Itune, icloud etc onto my Windows 7 PC and keep getting the following error message "this installation pack could not be opened, verify that the package exists and that you can access it"
tried downloading the quicktime installer, I get the same message with it too
-
Not recognizing # while reading the file from application server
Hi
I am reading a file from application server. While reading into internal table with read statement the last field in each record is filling with hash symbol in the last digit. If I write any if condition with HASH symbol its not going inside the if condition, means its not recognizing as hash may be its internally treating as some other. I need to remove the hash from that field. How I can do that.
Thanks,
kishoreI faced exact situation. Yes, internally its treated as some other special character. What i did was, becuase hash symbol was always coming at the end...i created a dummy field in my internal table so that it will not interfere with my actual data. When i see the data in my internal table, the hash always falls in the last field (dummy) which i will ignore. I could not get solution to remove this hash so i adopted this approach and it worked!!
Hope it helps,
SKJ -
Cddb not recognizing US albums that have Japanese versions with xtra tracks
I have imported almost 500 cds this past week with only one obscure one not being recognized. I just hit 2 in a row which I find very odd since these aren't even really obscure titles. After a bit of research what I've discovered is that the 2 albums in question are actually in the cddb/Gracenote database but the track listings have extra cuts due to the fact that they're Japanese imports. I just have the regular US versions. Are they moving toward some sort of weird policy of only having one version of an album in their database? When someone submits a version with extra tracks does it erase the "regular" version from the database? The titles are Steve Stevens-Flamenco.a.go.go and Marnie Stern-In Advance Of The Broken Arm. Any ideas?
I tried all 3 problem discs on my Macbook and they're recognized just fine.
Dunno.
Try to get the names again. Select the Album in iTunes then iTunes menu Advanced -> Get CD track names.
There is no way that Stereolab-Space Age Bachelor Pad Music isn't in the database.
Doesn't show up here -> http://www.gracenote.com/search/?query=Stereolab&search_type=artist -
To finish what it wasys is. Windows Installer package. I just got this new Dell laptop for christmas. Ad it won't let me download any kind of version of Itunes, that just keeps popping up. And it's starting to aggrivate me, how do I get Itunes?!?! HELP ME PLEASEEE.
I'd first try downloading an installer from the Apple website using a different web browser:
http://www.apple.com/quicktime/download/
If you use Firefox instead of IE for the download (or vice versa), do you get a working installer? -
this error comes up everytime i try to install itunes or any apple product in windows 7. I have verified everything with windows and its registered and still there is no success.
If you are not already doing so, install from an Administrator account.
If you haven't already done so, download the iTunes Installer from:
http://www.apple.com/itunes/download/
Then right click on the installer and select "Run as Administrator." (Even though you are using an admin account).
If that doesn't work, try creating a new administrator account and installing from there.
Maybe you are looking for
-
Importance of Common Database in SAP B1
hi guys, Up to this point, its not very clear to me if it is necessary to back the Common Database of SAP business one. As per documentation, it states that Common database includes tables for basic initialization of any new company database (for e
-
Getting objeects ddl in Oracle 8i
Hi , i believed there's no dbms_metadata package in 8i but how can i get the objects' ddl besides the export/import utility ? tks & rgds
-
How do I photomerge using PSE10 for Mac?
I have a photo of a dog in a field and another photo of a different dog on a sidewalk. How do I photomerge these photos into one that has a common background?
-
Is is possible to allow multiple date format strings pass DateFormat.parse?
I'm trying to use DateFormat.parse to validate a date in the 20/12/08 format. I would like to allow users to input 20-12-08 or 20 12 08. The code currently looks like this: formatter = DateFormat.getDateInstance(DateFormat.SMALL, US);It is currently
-
<p>I try to create an average roll up of period hours instead ofsum up to parent in my Regions dimension. The following is the formula that I built within the account(Period Hour).</p><p> </p><p>IF (@CURLEV(Regions) == 0)<br>"Period hours" = "Period