Discoverer - Import PL/SQL Function - Function Not Appears
Hi,
I´m trying to import 15 PL/SQL Funtions inside a custom package into the discoverer administrator, but they do not appear in the list, when trying to do an automatic import.
Also, when I press the Import Button, it takes aproximately one hour to display the list.
I´m using discoverer with Applications.
Do you know what schemes are listed in there ? Because my package is in a CUSTOM Scheme, not the APPS, but it has a Public Synonym.
I need to automatically import these functions in order to not having to do it manually, becasuse it takes to much time.
Also, do you know if there is any way to export the BA and include this functions in there, so I won´t need to register them again in another instance after migration ?
I´m using Discoverer 4.
Thanks in advance.
Nicolas.
Hi Nicolas
When you use the import capability you can import from a named schema so if you have your functions in a schema other than APPS or SYS, which have hundreds if not 1000s of functions, the list should populate quicker.
I'm afraid I don't know of a way to automate the importation of PL/SQL functions. However, if you know the definition of the function rather than importing it why not try creating it manually using the New button? It takes a little getting used to, particularly in getting all of the pointers and arguments correct, but after a while it becomes second nature. This will be quicker than waiting an hour for the list of functions to popuklate.
As for your third question, do you know if there is any way to export the BA and include this functions in there, so I won´t need to register them again in another instance after migration ? the answer is no. PL/SQL functions cannot be exported using Discoverer Administrator and need to be manually imported in the other EUL. You could take screen shots of your existing definitions and manually create them in the new environment using the New button. Once again this will be quicker.
I'm so sorry all of the answers appear negative and please don't shoot the messenger.
Best wishes
Michael
Similar Messages
-
When exporting and then importing Apple Mail from one mac to another I get "Some messages could not be imported. Partially imported mailbox will be labeled IMPORT" . That mailbox does not appear.
Any help would be welcomeThis is a bug in Mail. The mailbox archiving function does not include attachments, which gives the error with the import. To workaround this you can create a mailbox in Mail and copy to it all emails you want to export. Then go in Finder to [user]/Library/Mail/Mailboxes en select the created mailbox. Copy this to the public directory of your other mac. Then start Mail on that other mac and import the mailbox from the public directory. Should work now.
-
Import pricing Conditions JEDB,JSEC not appearing in M/06
Dear Friend,
Import pricing Conditions JEDB,JSEC not appearing in M/06. We need them for Cess & HEcess on Customs duty.
May I know how to create them or do we need to activate them?
Appreciate your early response.
KishoreHi,
You have to cretate following conditions & they are copied from as follows
Ref JCV1 IN CVD
From above condition create following two conditions:
JECV ECess on IN CVD
J1CV H&SECess on CVD
Ref JCDB IN Basic customs
From above condition create following two conditions:
JEDB ustoms Edu Cess
JSDB Custom H&SE ED Cess
JADC Add. Customs Duty
Maintain these conditions in MEK1
Through this way your problem is solved. -
Importing PL/SQL function in Discoverer Admin
Gents
I'm trying to import a PL/SQL function. In fact this functions is in a package.
When I try to import in Discoverer Admin, I'm not able to see this package and the function.
It's possible import a function from a package in Discoverer?
Must a grant some privilege in package or create a synonym?
Regards
HonorioHey,
I have a similar problem.
I created a PL/SQL Function which i registered in my EUL. Bun when I'm using this function on an item in a custom folder, this custom folder disappeared from my Discoverer Plus list of folders? When I delete the item which uses this function the folder shows up in my Discoverer Plus list of folders. -
Hi
I included in a process flow a PL-SQL function as user defined transformation.
This PL-SQL function resides in my source database, from where I imported it in OWB.
When I am trying the run the Process Flow (from control center manager) I get the following message upon executing that function.
ORA-12154: TNS:could not resolve the connect identifier specified
When I don't include that function my process flow works. Mappings in my process flow read from the same source database as where the function is.
So I don't think it is caused by a problem with tnsnames.ora..
Thanks in advance for anybodies help.
HansHi Oleg,
Thanks for your reply. Indeed I didn't create a runtime repository.
However don't like to do that to for the source DB.
I wonder if I can get around that by executing a SQLplus script instead.
I tried this but my script does never complete when it is started from the process flow. If I run it in SQLplus it runs fine and completes instantly.
My script does:
update 1 column in one record of a table.
commit;
exit;
What do you think?
Thanks,
Hans -
Text Functions Not Appearing in PDF (Financial Reports)
In the header of Financial Reports we are using common text functions to create the report titles with POVAlias and related functions. These headers correctly appear when printing or web viewing the reports. However, when viewing or printing to PDF - the header appears blank - the function results are not displayed.
<p>Hi Brianeccher</p><p>We've the same problem. We use the financial reporting studio9.3.0.502. The background color from text boxes do not appear, whenprinting to pdf.</p><div dir="ltr" id="result_box">Did you find a solution?Thanks</div>
-
Partner Functions not appearing
Hi
When the PO is created manually, the Partner Function is being picked up from the Vendor Master. But when the PO is created for the same vendor with reference to the PR, the Partner Functions are not being populated in PO. The Vendor Master has Partner Functions defined and the Partner Schema is assigned to the concerned Puchasing Document type and Vendor Account Group. Any specific reason why the Partner Functions are not appearing in PO when created with ref. to PR?
Regards
PrashanthHi,
Check vendo subrange or plant level data is ativated for that vendor.
Are you using the same material & Plant for both manual PO & PR to PO ?
Also check in partner determination > partne settings in purchasing documents > defie partner schemas, here end & higher level check mark is there?
Regads,
Prabu -
Bg_absence_duration sql function not working in Self Services
I Have SQl Function registered and used in formula BG_ABSENCE_DURATION, it is working fine in the professional forms, but in "Leave management" form in self services it gives error:
PER_EMP_NUMBER not found at line 231 of bg_absence_duration Cause: a sql select statement obtained from application dictionary return no rows when executed.
Edited by: Elrefai on May 29, 2013 10:11 PMHi Jay,
were you finally able to access DFF in BG_ABSENCE_DURATION , did the following piece of code worked ?
IF ABS_INFORMATION_CATEGORY = 'CA'
THEN
(If ABS_INFORMATION3 = 'Half Day'
THEN
( IF date_start = date_end THEN
(deduct_days = 0.5
days_between = days_between - deduct_days
duration = to_char(days_between) return duration, invalid_msg
ELSE
( duration = 'FAILED'
invalid_msg = 'Half day leave can be applied only for a day'
return duration, invalid_msg -
TDM Importer in Excel 2003 does not appear in the COM Add-In Menu
I have a program that will create a TDMS file with the data, and after execution is complete, I would like to import the data into Excel and manipulate it using a macro. I can import the file manually and run the macro by opening a second file containing the macro, but opening up the second file is a hassle.
I would like to expand the macro so that it automatically imports the TDMS file, and based on what I've seen on the forums, in order to do this, I need to register the TDM importer as a COM Add-In. When I go to the COM menu in Excel and try to add ExcelTDM.dll, it does not appear in the menu.
Some additional details that may be helpful:
Excel TDM Importer is version 3.4.0.0
I have already tried uninstalling and reinstalling the importer
Using the Excel toolbar works to import the data
Double-clicking on a file works to import the data
The installed files are located at C:\Program Files\National Instruments\Shared\TDM Excel Importer. Moving them to C:\Program Files\National Instruments\Excel TDM had no effect.
Thank you in advance for your help.
Solved!
Go to Solution.StefanR wrote:
Does the simple VBA example as described here:
http://www.ni.com/white-paper/10207/en
work in your case?
No, it doesn't. Excel does not see the add-in in the COM Add-In window, so I cannot access it using VBA. -
Sql agent Operator not appearing in drop down box for job mail notification
I have created a new sql agent operator but operator is not appearing in the drop down box when setting up email notification for job failure?
SQL server 2008 r2
windows server 2008 r2
*Resolved deleted the existing job and recreated and then new operator was available in the dropdown boxHi ghw,
Thanks for your post and glad to hear that the issue is resolved. Thanks for you posting your solution. That way, other community members could benefit from your sharing.
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support -
PL/SQL function not showing DMBS_OUTPUT.PUT_LINE result
I have compiled a function and when I call it, the DMBS value is not shown.
I have set serveroutput on
I am using 9i.
The function completes and provides a result:
SQL> select textrawio.HEXTONUM('0D') from dual;
TEXTRAWIO.HEXTONUM('0D')
13
The script:
CREATE OR REPLACE PACKAGE BODY textrawio
AS
FUNCTION hextonum(v_hex VARCHAR2) RETURN NUMBER
IS
hex VARCHAR2(4);
num NUMBER;
num1 NUMBER;
num2 NUMBER;
BEGIN
dbms_output.put_line ('hello');
hex := SUBSTRB(v_hex,1,1);
IF ( hex >= '0' and hex <= '9' ) THEN
num1 := TO_NUMBER(hex);
END IF;
IF hex = 'A' TH...Any ideas from this snippet?
I have never had a prob with DBMS_OUTPUT previously.
There is no DMBS_OUTPUT_GET_LINE code.The full PL/SQL is
CREATE OR REPLACE PACKAGE TEXTRAWIO
IS
FUNCTION tidblobchar(v_object_id char) RETURN VARCHAR2;
END; -- Package Specification TEXTRAWIO
SET SERVEROUTPUT ON
CREATE OR REPLACE PACKAGE BODY textrawio
AS
FUNCTION tidblobchar(v_object_id char) RETURN VARCHAR2
-- This function converts the long raw column of TIDBLOB to
-- its character representation for manipulation.
-- It can only be called for an object type of T.
IS
raw_data LONG RAW;
rawlen NUMBER;
hex_data VARCHAR2(32760);
char_data VARCHAR2(32760);
loop_counter NUMBER;
BEGIN
-- Get the blob using the rowid passed in.
-- Will always retrun only one row.
dbms_output.put_line ('1');
SELECT data
INTO raw_data
FROM ifsapp.client_profile_load
WHERE v_object_id = rowid;
dbms_output.put_line ('2');
-- Convert the raw data to hex.
hex_data := rawtohex(raw_data);
rawlen := length(hex_data);
loop_counter := 1;
dbms_output.put_line ('3');
-- Loop through and convert the hex to characters.
WHILE loop_counter <= rawlen LOOP
char_data := char_data || CHR(to_number(SUBSTRB(hex_data,loop_counter,2),'xx'));
loop_counter := loop_counter + 2;
END LOOP;
RETURN char_data;
END;
END;
/Both parts compile but when I run it:
SQL> select
2 user_name, profile_name, data_length, textrawio.tidblobchar(rowid) data, timestamp
3 from ifsapp.client_profile_load
4 where data is not null
5 ;
user_name, profile_name, data_length, textrawio.tidblobchar(rowid) data, timestamp
ERROR at line 2:
ORA-06502: PL/SQL: numeric or value error
ORA-06512: at "IFSAPP.TEXTRAWIO", line 18I was hoping to use DBMS_OUTPUT to find which is the actual line having the error and later, what values it was dealing with.
Thanks -
"Like" sql function not working in Business Service
Hi all,
I have created a query with few Joins (Processing around 4-5 tables).It has Two scenarios, One with Equals and the other with Like function.
SELECT
ST.STREET,
ST.DECOMPLEMENT,
ST.STATE,
LC.LOCALITY,
DS.DISTRICT,
ST.CDZIP,
SP.street_type
FROM
STREET ST,
DISTRICT DS,
Locality LC,
Street_Type SP
WHERE
ST.CDZIP LIKE ?
AND ST.STARTDISTRICT = DS.DISTRICT (+)
AND ST.LOCALITY = LC.LOCALITY (+)
AND ST.STREET_TYPE = SP.street_type (+)
When There is an Equal Sign after Where clause, The query gives desired output. But when there is a LIKE it does not give any output at all. How can i use this Query using perform operation.Hi Arun,
How are you using it? Using DB Adapter / X-Query function? I have run similar SQL Queries easily through DB Adapter.
Regards,
Anuj -
Standard SQL function not compiling in formula
I'm getting an error trying to use nvl2 inside a formula. It's returning an "identifier nvl2 must be declared" error. I'm connected to a database while trying to compile. What could be the problem?
I've got:
Report Builder 10.1.2.0.2
ORACLE Server Release 10.1.0.4.2
Oracle Procedure Builder 10.1.2.0.2
Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
Oracle CORE 10.1.0.4.0 Production
Oracle Tools Integration Services 10.1.2.0.2
Oracle Tools Common Area 10.1.2.0.2
Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
Resource Object Store 10.1.2.0.2
Oracle Help 10.1.2.0.2
Oracle Sqlmgr 10.1.2.0.2
Oracle Query Builder 10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle ZRC 10.1.2.0.2
Oracle XML Developers Kit 10.1.0.4.2 - Production
Oracle Virtual Graphics System 10.1.2.0.2
Oracle Image 10.1.2.0.2
Oracle Multimedia Widget 10.1.2.0.2
Oracle Tools GUI Utilities 10.1.2.0.2
Connecting to an 11g database and it does not work. -
SQL Server Agent not appearing in Management Studio
Hi there,
I have SQL Server set up on a server and I can't see the Agent in Management Studio.
When I check the services it says it is there and started.
I have the Enterprise edition installed.
Funny thing is it doesn't show when I am on the server itself through Management Studio, however, on my local pc, when I connect to the server through Management Studio, I can see the Agent through there and I have jobs there that run successfully and everything.
Its just when I log directly on the box and load up Management Studio, I don't see it.
Any thoughts?
Thanks!a) Is there a possibiity that you are using SQL Server Management Studio Express edition, on your server instead of (full or complete edition of management studio that came with SQL enterprise edition media)
one way to tell if you are using sql express studio is under management you will be missing Resouce Governor under management node, Resource governor mangeability feature is only available if you have install management studio that comes with an enterprise
edition only
OR
b) account under which you are logged in your server does not have privileges to view SQL Server Agent (the user need to be member of certain role in msdb database to view sql agent see
http://msdn.microsoft.com/en-us/library/ms188283.aspx )
c) When you installed SQL managment stuido, which option did you choose for management studio (Basic or Complete)..? -
There is a workflow "Change request status changed" which periodically fails to run, and it does not show up in "All instances" tab. For instance when I cancel a CR, all activities remain as-is in their respective statuses.
SQL - "SubscriptionStatus" from
http://blogs.technet.com/b/servicemanager/archive/2013/01/14/troubleshooting-workflow-performance-and-delays.aspx
shows increasing number of "minutes by" each minute for this particular workflow.
Restarting "Management service" does not give enything. As well as "UpdateSubscriptionWatermark" SQL from the link above (except resetting the "minutes behind" counter)
Please help!
Egils Zonde from TechnetTake it to an apple store and see if you can get an out of warranty replacement. It won't be free, I think the fee for an Air replacement is $299, but it sounds like the insides are broken.
Maybe you are looking for
-
When I turn on my macbook pro (end of 2010 so it isn't old), I wait for the usual things it needs to run through, and before my icons etc load up (the ones on the desktop), my screen rushes through all the images I have told it to rotate through as a
-
Intergrating RSS Feeds into Flash Builder 4...
I am very new to Flash builder 4 and I want to make an application where the app user can read through all the RSS Feeds and get updates everytime their connected to the internet. I am making this for the BlackBerry Playbook if that makes a differenc
-
Accessing images outside the application
Hello! I've been developing a web app as a part of my learning of JSP and now have stumbled onto a problem I haven't been able to Google out yet. Maybe I'm missing something, but here goes... The app I'm developing is in Croatian and I've had a first
-
I can not activate my apple id
i can not activate my apple id. my id is [email protected] i have already tried sending a verification mail to it but to no result. how do i activate it
-
Wifi Not catching signal iphone 6 , disgusting