Not able to select the other schema objects mrtadata

Hi,
My function returns the matadata of a table (xml format) in the current schema but unable return output of another schema objects. I have the privileges of export full database, import full database and select_catalog_role also.
It doesn't throw any error just throws empty xml.
my code is...
CREATE OR REPLACE FUNCTION TUNER.F_DBEG3(V_Schema VARCHAR2, V_Table VARCHAR2)
RETURN XMLTYPE
AS
Handle NUMBER; --handle returned by OPEN
V_First_Part XMLTYPE;
V_Next_Part XMLTYPE;
V_Output_Total XMLTYPE;
V_Cnt NUMBER := 0;
BEGIN
DBMS_OUTPUT.PUT_LINE('START THE PROGM');
Handle := DBMS_METADATA.OPEN('DATABASE_EXPORT');
DBMS_OUTPUT.PUT_LINE('Open the handle');
DBMS_METADATA.SET_COUNT(HANDLE, 1000);
DBMS_METADATA.set_filter (Handle, 'INCLUDE_PATH_EXPR', '=''TABLE''');
DBMS_METADATA.SET_FILTER(Handle,'NAME', V_Schema,'SCHEMA');
DBMS_METADATA.SET_FILTER(Handle,'NAME', V_Table,'TABLE');
DBMS_OUTPUT.PUT_LINE('Filter the required objects');
LOOP
DBMS_OUTPUT.PUT_LINE('Start the loop');
DECLARE
no_mvlog exception;
pragma exception_init( no_mvlog, -31608 );
BEGIN
V_First_Part := DBMS_METADATA.FETCH_XML(Handle);
EXCEPTION
WHEN no_mvlog THEN
EXIT;
DBMS_OUTPUT.PUT_LINE ('No mv log');
END;
IF V_First_Part IS NOT NULL THEN
DBMS_OUTPUT.PUT_LINE('First Count is '|| v_cnt);
DBMS_OUTPUT.PUT_LINE('Into the process ');
else
DBMS_OUTPUT.PUT_LINE('Exit the loop ');
exit;
end if;
IF V_Cnt = 0 THEN
V_Output_Total := V_First_Part;
DBMS_OUTPUT.PUT_LINE('track the metadata in xml form ');
ELSE
IF V_Cnt is not null and V_Cnt > 0 then
SELECT EXTRACT(V_First_Part, '/ROWSET/ROW') INTO V_Next_Part FROM DUAL;
SELECT APPENDCHILDXML(V_Output_Total,'/ROWSET',V_Next_Part) INTO V_Output_Total FROM DUAL;
DBMS_OUTPUT.PUT_LINE('combining the child xml''s ');
END IF;
END IF;
V_Cnt := V_Cnt +1;
DBMS_OUTPUT.PUT_LINE(' Last Count is '|| v_cnt);
END LOOP;
DBMS_OUTPUT.PUT_LINE('converted into xml');
return v_output_TOTAL;
DBMS_METADATA.CLOSE(Handle);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
RAISE_APPLICATION_ERROR (
-20001,
'Please check! ' || V_Table || ' not an object'
WHEN OTHERS
THEN
DECLARE
SQL_ERROR NUMBER := SQLCODE;
SQL_ERRMESS VARCHAR2 (250) := SUBSTR (SQLERRM, 1, 200);
BEGIN
DBMS_OUTPUT.PUT_LINE (SQL_ERROR || 'Message : ' || sql_errmess);
END;
END;
but when i use like below i got o/p.
SELECT DBMS_METADATA.GET_XML('TABLE','ACT_RAP_T','EMACH') FROM DUAL;
Please tell me where iam wrong.
regards,
Madhavi.

Can you let me know is this problem for the components which are in containers only..
Yes, as Charles said, the problem is for grouping/ungrouping in containers.  If you find otherwise, please let us know.
<br>
This problem you will be looking for next iteration, so is it going to be Service Pack or some Hot Fix..
Is it possible for us to know the issues which will be looked for the next iteration so that we can know what are the issues current version has so that we have the good idea..
Correct, it will be for Fix Pack 1 (size between a Service Pack and a Hot Fix).
We don't have a list of issues.  I don't believe it's procedure to disseminate such information.  Usually we give the information on an individual issue basis.  For instance, this issue is slated for FP1.
<br>
Javier

Similar Messages

  • Unable to sync new iPhone 4s. I have iTunes version 10.6.1. Using Windows 7. My device appears on iTunes but I am not able to select the sync option and it does not automatically start the sync option when plugged in. Ive tried reseting the device.

    I am unable to sync my new iPhone 4s OR my iPod Touch 4 to iTunes.(this is the first time I am plugging them into iTunes) I have version 10.6.1. Both devices are up to date with the latest software version. Once I plug the device in, it is recognized on iTunes.The synce process does not start automatically. I am unable to select the sync option. I've tried reseting the device and restarting iTunes and the same problem happens. I have plugged in my husbands iPhone 3gs and the sync process starts automatically. I have also added my computer as an authorized computer for the new devices. What now?

    Many thanks.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Not able to link the cloned business object in change document

    Hi Experts,
    I cloned standard business object FIPP.  When I give the cloned busniess object in change document linkage, I am getting the error message Business object type ZFI_CREDIT has status modeled. Linkage not possible. Please let me know the proceedue to make the linkage.
    Thanks in advance.
    Regards,
    Viven

    In SWO1 you have a possibility to change the status of your custom business object into implemented.

  • Not able to select the source in hold filter component

    Hi Experts,
                        I am using live office connection in Xcelsius 2008 Enterprise sp 3 .
    I am using a hold Filter component . When ever I select  rows upto 100- 150  in the source that is selected and works fine.
       But when I try to select more than this limit , the selction is retained in the pop up area but does not reflect in the area , where source is written in the Xcelsius. And also , the data is not reflected as it should.
                      Is there any limit for the selection?
    If yes then , is there any work around I can select all the rows in the source?
    Regards,
    Anamika.

    Hi,
    R u loading the data from flatfile or from source system. U can change in trasfer structure if the load is from flat file. U have to change in R3 side in RSA6 just by cliking on change mode of the datasource. U have select selection option in the extract strcture maintanance in R3.
    Khaja

  • Iphone/google calendar and ical - not able to select the calendar

    Ok, I can get my google calendar to sync with ical (using caldav or whatever and not some subcription method) as well as sync to my iphone.
    My problem is entering a calendar event on my iphone. It always ends up in some other calendar. I can never change it. What am I doing wrong?

    BEWARE of the "replacement" - when they say they will replace it, they often mean with a refurbished device, they will not replace it with a new device.
    Because I bought my 4s from a different retailer, even though it is an Apple device that failed less than 24 hours out of the box, Apple will not give me a new phone - they acknowledged that it is a manufacturing defect, and couldn't understand why I was not satisfied with receiving a refurbished device.  This seems ridiculous to me - I'm a long-time, repeat customer - but that doesn't appear to matter.
    I've heard great things about Apple customer service, now that I've needed it, I've found it isn't so great after all.

  • Not able to get the pagebutton bar bean object in the extended controller

    Hi All,
    I am not able to get the button bean object in my page. But, am not able to get the handle of buttonbar itself. any idea?
    Page Structure is:
    PageLayout - not having controller
    ----buttonbar
    ---button1
    ---submitbutton2
    ----regiion1(stack layout)-controller assigned(seededCO)
    I am extending the seededCO and I am trying to get the handle of button1 bean with the following code.
    OAPageButtonBarBean pbb=(OAPageButtonBarBean)webBean.findIndexedChildRecursive("buttonBar");
    if(pbb!=null)
    System.out.println("pbb"+pbb);
    bb= (OAButtonBean)pbb.findIndexedChildRecursive("button1");
    }

    Hi,
    Try like this,
    import oracle.apps.fnd.framework.webui.beans.nav.OAPageButtonBarBean;
    import oracle.apps.fnd.framework.webui.beans.nav.OAButtonBean;
    OAPageButtonBarBean pBar =
    (OAPageButtonBarBean)pageContext.getPageLayoutBean().getPageButtons();
    OAButtonBean ctButton =
    (OAButtonBean)pBar.findIndexedChildRecursive("YourRequiredButtonName");
    Thanks,
    With regards,
    Kali.
    OSSi.

  • I am not able to select a new network printer just installed at work to print to from Firefox. I have tried to reset the printer settings, but this did not work. Do I need to map Firefox to this new printer?

    We recently had a new printer installed at work that has been set as the Default printer on my computer. When I go to print something from Firefox, I am not able to select the new printer from the printer window in the print box. The new printer does not show up

    From another computer, go to http://www.mozilla.com/firefox/, click "Free download" button, click "Save File" button, select your flash drive in "Save as" window. "Firefox Setup 3.6.13.exe" file will be saved in your flash drive.
    You just need to insert it in your new computer and double-click on "Firefox Setup 3.6.13.exe" from Windows Explorer and follow instructions.

  • Not able to select speaker setup in creative audio cons

    Hi, I'm using Creative X-FI Music. Due to a recent re-installation to Vista, after re-installation of drivers and software (with updates from creative support website), I'm still not able to select the speaker setup directly from the audio console. This has prevent me from calibrating my 5. speaker setu
    ps.
    Please help? Thanks....

    what's your os? if you have xp, you should try sp2...that fixed the problems i was having with my card when i upgraded...try telling windows to go to 5. sound through the sound devices in control panel and then go back to surrmixer and see if that works...

  • Not able to select lineitems in planner monitor,SAP GRC10 PC

    Hello Experts,
    We have created plans and we can able to see created plans in planner monitor under assessment planning in NWBC
    we can able to select the plan name and send to recipient by using Notify button up to this everything is fine
    but when we want to send more than one plans to recipients,not able to select the line items.
    any idea to resolve this.
    Thanks
    GRC Admin

    Hi,
    Even if you can choose multiple lines by pressing ctrl key, Notification is
    allowed for one plan at once. So, it won't allow you to do so.
    Regards,
    Smita.

  • Not able to select value in MSC1N

    Hello All,
    I am trying to create the batch using MSC1N. I am not able to select the characteristics values for few characteristcs. I am using selected sets and code groups for those characterisctis. For others it is working properly. I am getting the error as "Value "Z033000  0010" cannot be selected
    Message no. C1853
    Diagnosis
    From a value hierarchy, you want to choose a value that has subordinate values. This is not possible. You can only choose the lowest values in a value hierarchy.
    Procedure
    Explode the structure down to the lowest values and choose one of these.
    Please guide me asap.
    Regards,
    Mayura

    It sounds like you have multiple values available in the characteristic in your batch class.  I'm guessing that the characteristics you are having problems with are set up differently than the ones you aren't having problems with.
    It sounds like SAP thinks that because you selected code A, you can now pick from Codes X,Y,Z.  But if you had selected code B, you can only pick from Codes L,M,N.  The message is saying you have to pick directly from one of these lower subordinate codes.  You can't select Code A as  your choice because it's not an actual choic, ,only a pathway to let you pick from X,Y,Z.
    I'm not sure exaclty how you have your charateristics set up but his sounds like it has variant configuration involved in it.
    FF

  • Not able to select coloums in BAM View Portal

    Hello All,
    I have configure BAM, created activity and view in BAM.
    I am able to see the view on BAM Portal but not able to select the column from it, please help me on this....
    Thanks,
    Nitin...
    Thanks and Regards, Nitin.

    Hello All,
    Got solution for this...issue turn around that I was opening BAM portal in "Capability View" mode.
    I unchecked this option (Check box) in browser and it's working fine now.
    Tools -> Compatibility View Settings -> This will open new window for "Compatibility View Settings" Window. Uncheck check box for    
    [X] Display intranet sites in Compatibility View.
    And this solved my issue.
    Thanks and Regards, Nitin.

  • HT4906 In iCloud system preferences why am I not able to select iPhoto Streams?

    When I go to turn on Iphoto stream in iCloud system preferences on my MacBook Pro I am not able to select the iPhoto Stream option, and it is the only option that seems to me made unavailable to me.
    How do I fix this so my iPhone photos start streaming to my MacBook???

    What version of iPhoto are your running?  Do you have Photo Stream enabled in iPhoto?
    Log out of iCloud in the System/iCloud preference pane aand log back in.
    OT

  • Not able to access the Database & Clusterware from OEM Console.

    hi,
    I had installed Oracle RAC 11g R2 in RHEL 5.3 Operating environment. I had installed my Oracle RAC with Enterprise Manager Console.
    Its with the defailt port 1158. After the installation when i try to access my EM Console, i was not able to access the Database and Clusterware from EM Console.
    When i access the EM console with url, I found with Startup and Perform Recovery option. But whereas my database is already startup and running.
    So when i click startup its saying database is already started. Since it is a prodution environment i dont want to go with Perform recovery option.
    Please tell me hw to attach files in this thread so that i can send the snap shot of the console for your reference.
    with regards
    A.Aravind
    Edited by: 795847 on Sep 21, 2010 10:40 PM

    hi,
    As mentioned due to not having the default listener port 1521, we are facing this problem.
    As meniotned i had changed the emoms.properties file and changed the port and my emctl page is opening.
    But am not able to access the other parameters like ASM, Servers, Clusters etc bcoz since in some file it is looking for 1521 default port.
    So is it better to go for emctl deconfig and config again or to change the port the files which required.
    If i do in what are the file the default port will be located related to emctl.
    with regards
    A.Aravind

  • I am not able to see the installed BI content object in the DWB

    Hi ,
    I am not able to see the installed BI content object in the DWB
    and the BI server is new one, this is the First BI content info object I am installing.
    for example I have selected 0Account BI content info object for installation
    I followed the below steps for installation.
    1 Drag and drop of 0Account info object in right side window.
    2.Grouping option selected as only necessary objects.
    3.collection mode selected as manual collection then executed using execuiton button.
    4.selected the install all below option.
    5.finally installed the object with install in background option.
    job got finished successfully.
    please let me know if I did any thing wrong and please post valuable suggestions.
    Regards.
    Srinivas

    HI
    If yor installing first time you have to select info area and object catalogs also else it will go and stored in unassigned nodes. whatever your doing the option for installing the business content everything is same, but in right hand side panesl select the info ares etc.
    regards,
    Chandra.

  • Error creating EO- The specified schema object is not an existng object

    hi,
    I am getting an error "The specified schema object is not an existing object .Please un check Exisiting Object or select an exisiting object" while creating an EO.
    Does any one knows how to get rid of it.
    Thanks,
    Murlai

    Hello
    Looks like this is an old thread, but since I had the same problem and figured it out, I though I'll share it here:
    What I figured is that in the Select Schema Object wizard, if I prefix the schema object with the schema name, then the attributes are fetched from the database. like this:
    dbo.employeeinstead of this:
    employeewhich is kind of strange because the schema is already mentioned in the database schema section and jdeveloper fills the object value after we choose it.
    Good luck

Maybe you are looking for