Error when loading XML file

When using Load XML Data utility I am getting an error:
ORA-00942: table or view does not exist
Error loading XML.
Loading as CSV text works except some records with new line characters.
Also, when xml file is really small – “Load XML” works too. The actual file is ~ 12 MB.
How to resolve this issue?
Application Express 3.2.0.00.27
Oracle 10.2.0.1.0
Your help will be appreciated,
Anatoly

Hi Anatoly,
I suspect this is a problem with the underlying package DBMS_XMLGEN and not directly in APEX.
Can you reproduce this issue on apex.oracle.com?
Joel

Similar Messages

  • FDF error while loading xml file onto PDF

    Need some help here folks. Im getting a FDF error while loading some value into pdf form. It not happening all the time, 1 out of 60 times with the same xml file onto a new pdf form. Anyone know why this happening.  Is there some technical support i can purchase to get this resolved.

    9.1  and 9.3.4
    Date: Fri, 5 Aug 2011 00:56:19 -0600
    From: [email protected]
    To: [email protected]
    Subject: FDF error while loading xml file onto PDF
    Could you let me know which version of Adobe Reader are you using?
    >

  • Error while loading XML files into scott user

    Hi All,
    I'm new to xml files. I need to load xml files into database through OWB.
    I have xml file in my local machine & am trying to load into table PO of Scott. Scott is registered as repository user.
    Followed same steps as specified in userguide.
    But, when executing the procedure ( in two ways one as just table name, and other as user.table name) it is showing the below error:
    Procedure is:(1)--with username.tablename
    begin
    wb_xml_load(
    '<OWBXMLRuntime>'||
    '<XMLSource>'||
    '<file>&&SAMPLES_DIR.sample1.xml</file>'||
    '</XMLSource>'||
    '<targets>'||
    '<target dateFormat="yyyy.MM.dd">scott.PO</target>'||
    '</targets>'||
    '</OWBXMLRuntime>'
    end;
    ERROR at line 1:
    ORA-20006: Error occurred while truncating target database object SCOTT.PO.
    Base exception: ORA-01031: insufficient privileges
    ORA-06512: at "OWBSYS.WB_XML_LOAD_F", line 12
    ORA-06512: at "OWBSYS.WB_XML_LOAD", line 4
    ORA-06512: at "SCOTT.SAMPLE1", line 3
    ORA-06512: at line 1
    Procedure is:(2) with out username
    begin
    wb_xml_load(
    '<OWBXMLRuntime>'||
    '<XMLSource>'||
    '<file>&&SAMPLES_DIR.sample1.xml</file>'||
    '</XMLSource>'||
    '<targets>'||
    '<target dateFormat="yyyy.MM.dd">PO</target>'||
    '</targets>'||
    '</OWBXMLRuntime>'
    end;
    ERROR at line 1:
    ORA-20006: Error occurred while truncating target database object PO.
    Base exception: ORA-00942: table or view does not exist
    ORA-06512: at "OWBSYS.WB_XML_LOAD_F", line 12
    ORA-06512: at "OWBSYS.WB_XML_LOAD", line 4
    ORA-06512: at line 2
    xml file:
    <ROWSET>
    <ROW>
    <ID>100</ID>
    <ORDER_DATE>2000.12.20</ORDER_DATE>
    <SHIPTO_NAME>Adrian Howard</SHIPTO_NAME>
    <SHIPTO_STREET>500 Marine World Parkway</SHIPTO_STREET>
    <SHIPTO_CITY>Redwood City</SHIPTO_CITY>
    <SHIPTO_STATE>CA</SHIPTO_STATE>
    <SHIPTO_ZIP>94065</SHIPTO_ZIP>
    </ROW>     
    </ROWSET>
    Note: Everything works fine if I create PO table in OWBSYS user and execute the procedurein OWBSYS user. OWBSYS.PO table will be loaded.
    What privileges are missing, what shouldI do if I want to execute the procedure from scott user and load the table of scott.
    Thanks in advance for the help.
    Regards,
    Joshna

    Hi Joshna,
    Please follow below steps to load xml file to oracle database.
    1.First connect to owb (Design Center) through your repository owner user (ex : REP_OWNER).
    2. Import WB_XML_LOAD procedure . and exit to repository owner.
    3. connect to owb design center through your repository user (ex : REP_USER)
    Create New mapping and drag one Constant Operator and create one attribute, paste / edit following code
    '<OWBXMLRuntime>'||
    '<XMLSource>'||
    '<file>E:\SOURCE\emp.xml</file>'||
    '</XMLSource>'||
    '<targets>'||
    '<target truncateFirst = "FALSE" dateFormat="yyyy.MM.dd">rep_user.emp</target>'||
    '</targets>'||
    '</OWBXMLRuntime>'
    4. Drag pre mapping operator and select WB_XML_LOAD procedure
    5. Connect Constant Operator attribute to pre mapping operator.
    6. Drag two dummy tables and connect source to target. (ex : drag t1 (table) tab two times and connect.
    7. Validate and deploy the mapping.
    8. grant necessary grant command to rep_owner user to rep_user user.
    (Note : target truncateFirst = "FALSE" by default truncate the table. So you have to give grant privileges
    To rep_user , select ,insert, delete privileges.
    9. Execute the mapping , and check EMP table. (Note : before loading EMP table delete all records ).
    10 . If you want more description please go through the below link
    http://download.oracle.com/docs/html/A95931_01/apf.htm
    Regards
    Venkat

  • Error while loading xml files using JDBC

    Hi,
    I am trying to load xml files into an xmltype table using JDBC calls and am getting this error for some files
    LPX-00200: could not convert from encoding UTF-8 to UCS2
    The xml files and our database are both UTF-8 encoded. The version of oracle that we have here is 9.2.0.6
    Any suggestions in this matter will be greatly appreciated.
    Thanks,
    Uma

    I also experienced this problem and unfortunately this solution didn't work for me given that the tag you suggested was already on the XML file.

  • Error while loading XML file to XML_type column

    I am trying to load a huge xml file in table having xml_type column. I am getting an error
    The following error has occurred:
    ORA-20010: Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00216: invalid character 140 (0x8C)
    Error at line 2 at location: 10
    Any suggestions why I might be getting this errors?
    Is there any size restriction on the file that we can load with loadfromfile?
    THis is the procedure I have written to load the file--
    CREATE OR REPLACE procedure vsave_xml_file_to_table(
    p_directory in varchar2,
    p_filename in varchar2 )
    AUTHID DEFINER
    as
    v_filelocator bfile;
    v_cloblocator clob;
    v_filelength number;
    v_loc number :=10;
    begin
    dbms_lob.createtemporary(v_cloblocator,true);
    v_filelocator := bfilename(p_directory, p_filename);
         dbms_lob.fileopen(v_filelocator, dbms_lob.file_readonly);
         dbms_lob.loadfromfile(v_cloblocator, v_filelocator,dbms_lob.getlength(v_filelocator));
         v_filelength := dbms_lob.getlength(v_filelocator);
    DBMS_OUTPUT.PUT_LINE('File is loaded and its size is :'|| v_filelength);
         dbms_lob.fileclose(v_filelocator);
         --insert into vxml values(1, XMLType.createXML(v_cloblocator));
         insert into vxml values(1, XMLType(v_cloblocator,null,0,0));
         DBMS_LOB.FREETEMPORARY(v_cloblocator);
    exception
    when others then
    -- close the cursor and file, and reraise.
    if dbms_lob.fileisopen(v_filelocator) = 1 then
    dbms_lob.fileclose(v_filelocator);
    end if;
         rollback;
    raise_application_error (-20010,'Error: '||sqlerrm|| ' at location: '||v_loc);
    end vsave_xml_file_to_table;
    The input file is of size 5K.
    The procedure loads a file of size around 100 bytes with no problem.
    I am on Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    Please help
    Thanks!

    As you said, i have changed the Code, But still the same error,
    CREATE OR REPLACE FUNCTION fn_Ins_CLOBDOCUMENT(FILENAME IN VARCHAR2,
                                               CHARSET  IN VARCHAR2 DEFAULT NULL)
      RETURN CLOB DETERMINISTIC IS
      FILE        BFILE := BFILENAME('FXLMBAH', FILENAME);
      CHARCONTENT CLOB := ' ';
      TARGETFILE  BFILE;
      LANG_CTX    NUMBER := DBMS_LOB.DEFAULT_LANG_CTX;
      CHARSET_ID  NUMBER := 0;
      SRC_OFFSET  NUMBER := 1;
      DST_OFFSET  NUMBER := 1;
      WARNING     NUMBER;
    BEGIN
      IF CHARSET IS NOT NULL THEN
        CHARSET_ID := NLS_CHARSET_ID(CHARSET);
      END IF;
      TARGETFILE := FILE;
      DBMS_LOB.FILEOPEN(TARGETFILE, DBMS_LOB.FILE_READONLY);
      DBMS_LOB.LOADCLOBFROMFILE(CHARCONTENT,
                                TARGETFILE,
                                DBMS_LOB.GETLENGTH(TARGETFILE),
                                SRC_OFFSET,
                                DST_OFFSET,
                                CHARSET_ID,
                                LANG_CTX,
                                WARNING);
      DBMS_LOB.FILECLOSE(TARGETFILE);
      RETURN CHARCONTENT;
    END;
    INSERT INTO XMLTABLE
    VALUES(XMLTYPE(fn_Ins_CLOBDOCUMENT('purchaseorder.xml')))
    ORA-22288: file or LOB operation FILEOPEN failed
    No such file or directory
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "LCC.FN_INS_CLOBDOCUMENT", line 17
    ORA-06512: at line 1raja
    Edited by: KrChowdary on Feb 18, 2009 3:36 PM

  • Problem when loading xml file using sql loader

    I am trying to load data into table test_xml (xmldata XMLType)
    i have an xml file and i want whole file to be loaded into a single column
    when i use the following control file and executed from command prompt as follows
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl direct=true;:
    LOAD DATA
    INFILE *
    TRUNCATE INTO TABLE test_xml
    xmltype(xmldata)
    FIELDS
    ext_fname filler char(100),
    xmldata LOBFILE (ext_fname) TERMINATED BY EOF
    BEGIN DATA
    /u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml
    the file is being loaded into table perfectly.
    unfortunatley i cant hardcode file name as file name will be changed dynamically.
    so i removed the block
    BEGIN DATA
    /u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml
    from control file and tried to execute by giving file path from command line as follows
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml direct=true;
    but strangely it's trying to load each line of xml file into table instead of whole file
    Please find the log of the program with error
    Loading of XML through SQL*Loader Starts
    SQL*Loader-502: unable to open data file '<?xml version="1.0"?>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<Root>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<Type>Forms</Type>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '</ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<Type>PLL</Type>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '</ScriptFileType>' for field XMLDATA table TEST_XML
    SQL*Loader-553: file not found
    SQL*Loader-509: System error: No such file or directory
    SQL*Loader-502: unable to open data file '<ScriptFileType>' for field XMLDATA table TEST_XML
    please help me how can i load full xml into single column using command line without hardcoding in control file
    Edited by: 907010 on Jan 10, 2012 2:24 AM

    but strangely it's trying to load each line of xml file into table instead of whole fileNothing strange, the data parameter specifies the file containing the data to load.
    If you use the XML filename here, the control file will try to interpret each line of the XML as being separate file paths.
    The traditional approach to this is to have the filename stored in another file, say filelist.txt and use, for example :
    echo "/u01/APPL/apps/apps_st/appl/xxtop/12.0.0/bin/file.xml" > filelist.txt
    sqlldr $1@$TWO_TASK control=$XXTOP/bin/LOAD_XML.ctl data=filelist.txt direct=true;

  • Error With loading XML file.Help me

    Hi!
    I am trying to make an mp3 player for my web site but I am
    having a little problens and I hope you can help me out.
    It is a xml driven mp3player. I have a mp3player.as file and
    a songs.xml file. Inside my flash movie I only have #include
    "mp3player.as".
    Here is my mp3player.as code :
    [CODE]
    //Setup Sound Object
    var s :Sound = new Sound();
    s.onSoundComplete = playSong;
    s.setVolume(75);
    //Array of sounds
    var sa:Array = new Array();
    //Current Playing Song
    var cps : Number = -1;
    //Load the XML into a xml file
    var xml :XML = new XML();
    xml.ignoreWhite = true;
    xml.onLoad = function()
    var nodes : Array = this.firstChild.childNodes;
    for(var i=0;i<nodes.length;i++)
    sa.push(nodes
    .attributes.url);
    playSong();
    xml.load("mp3player.xml");
    // Play mp3 file
    function playSong() :Void
    if(cps == sa.length -1)
    cps = 0;
    s.loadSound(sa[cps],true);
    else
    s.loadSound(sa[++cps],true);
    [/CODE]
    And here is my songs.xml file :
    [CODE]
    <?xml version="1.0" encoding="UTF-8"?>
    <songs>
    <song url="music\setsite.mp3" />
    <song url="music\Soul Magic - Soul Magic.mp3" />
    <song url="music\Technotronic - NRG Flow.mp3" />
    </songs>
    [/CODE]
    Everytime I test my movie I have this msg :
    Error opening URL
    'file:///C|/Documents%20and%20Settings/Administrator/My%20Documents/Web%20Sites/site%20MA IO%202007/undefined'
    What is wrong with my code?
    When I comment this line xml.load("songs.xml") my movie runs
    fine.But I cant fix it..
    thank you

    Others here in the forums know more about the Sound class
    than I do... I haven't used it so much. You are using the
    'streaming' type of sound with the isStreaming flag set to true
    which means that it starts to play before its fully downloaded. So
    on a slow connection I presume it could play and stop in the same
    way that the timeline on a movie will pause playing if the rest of
    it has not downloaded yet.
    For a streaming sound, I guess you could get around this by
    implementing a partial preload by using s.stop() after issuing the
    s.loadSound command. Then do a "regular" preloader style checking
    s.getBytesLoaded vs. s.getBytesTotal ... to a percentage (you could
    even monitor the speed over 5-10 seconds to determine an
    appropriate level of buffering...maybe) and then use s.start()
    again.
    That's how I'd tackle it, but like I said others here know
    more about this, and perhaps they'll have better ideas. There
    appear to be some quirks with the Sound class based on comments in
    the flash 8 livedocs...

  • Namespace error when reversing xml file

    Hi everybody,
    I am using ODI 11.1.1.5.0 and an Oracle 11g database.
    I have an xml file generated by a web service that I cannot reverse engineer in ODI.
    The xml file is called responseFile. xml on disk C.
    The content of the xml file is like this:
    <?xml version = '1.0' encoding = 'ISO-8859-1'?>
    <n0:ZMODIFY_CLOCO_TASK_LOGResponse xmlns:n0="urn:sap-com:document:sap:rfc:functions">
    <LOG_MESSAGE>
    etc .......
    In topology manager, I created an XML data server:
    daya server Name: F_Response
    JDBC driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    JDBC url: jdbc:snps:xml?f=c:/responseFileDiesel.xml&s=RESPO
    For the physical schema I specified:
    SCHEMA: RESPO
    WORK SCHEMA: RESPO
    I used the value RESPO for the schema name because the documentation says: 'the schema name (variable s) must be the name of the relational schema where the xml file will b loaded.
    if this property is missing, a schema named after the first five letter of the xml file will automatically be created.'
    When testing the data server in Topolgy or reversing in Designer, I get the error:
    [2012-01-18T15:16:44.157+01:00] [odi] [ERROR] [] [oracle.odi.jdbc.driver.xml] [tid: 3320] [ecid: 0000JJlB4D0FS8T5qBL6iY1F3g1P0000o9,0] ODI-40837: An error occurred during the creation of the schema: ODI-40750: The model generated by the model mapper was not accepted by a validator: Model not accepted: ODI-40817: Namespace not found:
    What is that I do wrong? What is this xml's namespace? Should I use it for the JDBC url?
    I appreciate any help, I am completely blocked.
    thank you,
    Daniela
    Edited by: daniela.alexandru on Jan 18, 2012 4:02 PM

    Hi Daniela,
    The only time I've seen namespace errors was when using the incorrect driver, not XML in my case but the same ODI error.

  • Error while loading xml file

    I am getting error while loading the XML file. I have attached the jpg file which shows error details.....pls let em know the solution....
    thanks

    What is the error message?  Where is the jpeg?

  • Getting error when reading xml file from a remote connection

    Hi all,
    I want to read an xml file from a remote connection, not from my local machine.So when i am creating the data server i am giving the host name(that is the ip of the machine where the xml file is located), giving the proper username and password and giving the path of the xml file. When i am testing the connection the error that is coming:- "Connection failed and the xml file could not be created, verify that you have write permission in the directory"...
    but read write and execute permissions have been given on the directory as well as to the file...
    Regards,
    Sourav

    Hi Sutirtha,
    Initially I have started the agent.sh giving the agent name <agent name>and port number 20910 and defined it in the topology manager it is showing that the agent test is succesful. Then I tested a particular Data server against that agent and the test was successful.
    After this we had stopped the agent and restarted it.
    However now suddenly the testing against the remote agent is failing with the following excep:
    java.lang.Exception:
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.s(pm.java)
         at com.sunopsis.graphical.l.pm.g(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.pm.a(pm.java)
         at com.sunopsis.graphical.l.iz.actionPerformed(iz.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at com.sunopsis.graphical.l.pm.q(pm.java)
         at com.sunopsis.graphical.l.pm.<init>(pm.java)
         at com.sunopsis.graphical.frame.b.jh.bx(jh.java)
         at com.sunopsis.graphical.frame.bo.w(bo.java)
         at com.sunopsis.graphical.frame.bo.d(bo.java)
         at com.sunopsis.graphical.frame.w.actionPerformed(w.java)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    PS: do i have to modify any file after or before starting the odi agent
    Thnks and Rgds,
    Sourav
    Edited by: user13263578 on Mar 15, 2011 9:35 PM
    Edited by: user13263578 on Mar 15, 2011 9:48 PM

  • Error when loading security file .sec

    Hi
    I am getting error when tried to load security file
    Below  is extract of security file
    !FILE_FORMAT=2.0
    !VERSION=11.12
    !USERS_AND_GROUPS
    Praveen@Native Directory
    admin@Native Directory
    !SECURITY_CLASSES
    [Default]
    123
    !ROLE_ACCESS
    Provisioning Manager;Praveen@Native Directory
    Journals Administrator;Praveen@Native Directory
    Advanced User;Praveen@Native Directory
    Data Form Write Back from Excel;Praveen@Native Directory
    Inter-Company Transaction Admin;Praveen@Native Directory
    Provisioning Manager;admin@Native Directory
    Application Administrator;admin@Native Directory
    !SECURITY_CLASS_ACCESS
    123;Praveen@Native Directory;All;N
    i want to add a user and wan to give provision in the above security  file .sec (without doing it in Sharedservices )
    for the above security file i have added balaji and loaded it to HFM its not working.
    !FILE_FORMAT=2.0
    !VERSION=11.12
    !USERS_AND_GROUPS
    Praveen@Native Directory
    balaji@Native Directory
    admin@Native Directory
    !SECURITY_CLASSES
    [Default]
    123
    !ROLE_ACCESS
    Provisioning Manager;Praveen@Native Directory
    Journals Administrator;Praveen@Native Directory
    Advanced User;Praveen@Native Directory
    Data Form Write Back from Excel;Praveen@Native Directory
    Inter-Company Transaction Admin;Praveen@Native Directory
    Provisioning Manager;balaji@Native Directory
    Journals Administrator;balaji@Native Directory
    Advanced User;balaji@Native Directory
    Data Form Write Back from Excel;balaji@Native Directory
    Inter-Company Transaction Admin;balaji@Native Directory
    Provisioning Manager;admin@Native Directory
    Application Administrator;admin@Native Directory
    !SECURITY_CLASS_ACCESS
    123;Praveen@Native Directory;All;N
    123;balaji@Native Directory;All;N
    Can we add users and give provision in security file without creating user in shared services  ?
    Thanks

    If you have your application built using MSAD, then you an load the file the way you built it above, however because you're using the NativeDirectory, you need to create the user in the Directory(HSS) first.  Once the user is created, you can then go through and use the .sec method to assign access/roles, but the actual user creation can't be done through a load file.
    One of the easiest reasons to understand why this can't be done is that when you load the .sec file, you're not setting up a password for the user.

  • Issue with Date Conversion when loading XML File into Oracle 10g Database

    Hello all,
    I have the interface shown in the screenshot below. In it, amongst other actions, I'm mapping an XML file element representing a date to an Oracle table column defined as DATE. The source and target columns are highlighted in the screenshot.
    !http://img223.imageshack.us/img223/1565/odiscr275.jpg!
    When I execute the interface, I get the following error message:
    java.lang.IllegalArgumentException at java.sql.Date.valueOf(Date.java:103)
    I'm assuming this refers to the date conversion!
    I've already tried replacing SRC_TRADES.DEAL_DATE with TO_DATE( SRC_TRADES.DEAL_DATE, 'DD/MM/YYYY' ) in the Implementation tab. This function was not recognised when I executed the interface, so it didn't work! The date value in the XML file is in DD/MM/YYYY format.
    I'm guessing that Oracle SQL Date functions don't work in the Implementation tab. Please could somebody let me know:
    1. Which Date Conversion function I could use instead?
    2. Where I can find a reference for the methods/functions I can use in the Implementation tab (if such a reference exists)?
    Cheers.
    James

    Hi.
    Try to change the execution area to staging area. After You change it, write in the mapping box just SRC_TRADERS.DEAL_DATE. When You use TO_DATE, the source field typu should be varchar2, not date (as it is in your source datastore)

  • Errors when loading flat file data

    We just test to load a very simple flat file data with only two lines and the two lines of data in preview of InfoSource is correct.  But when run InfoPackage to load data, the monitor of the InfoPackage shows the following errors (see in between two dashed lines below):
    Error getting SID for ODS object ZDM_SUBS
    Activation of data records from ODS object ZDM_SUBS terminated
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Error when assigning SID (details in long text)
    Value 'Bottom' (hex. '0042006F00740074006F006D') of characteristic ZRATEPLN contains invalid characters
    Value 'Dealer' (hex. '004400650061006C00650072') of characteristic ZCHANNEL contains invalid characters
    Value 'Bottom' (hex. '0042006F00740074006F006D') of characteristic ZRATEPLN contains invalid characters
    Value '19884/' of characteristic 0DATE is not a number with 000008 spaces
    Value '/19812' of characteristic 0DATE is not a number with 000008 spaces
    Value '19884/' of characteristic 0DATE is not a number with 000008 spaces
    In the flat file (excel sheet saved as a CSV file), for each row of the data, there are two fields which are start_date and end_date and the date format is MM/DD/YYYY and in the Transfer Rule, we transfer the date format from MM/DD/YYYY to YYYYMMDD which is required by DATS InfoObject type in BW.  If you need the excel sheet of data in order to answer our questions about the above errors, you can give us your e-mail address and we can send the simple two rows of data excel sheet file to you.
    Thanks!

    Hi Kevin,
    1.You can use lowercase letters in the values for your characteristics provided you have checked the lowercase checkbox in the general tab page of Create characteristic screen.But when you do so no masterdata tables,text tables, or another level of attributes underneath are allowed.
                            OR
    Use only upper case letters in your characteristic unchecking the above mentioned box.
    2.The date format in the CSV file should be yyyymmdd.It should have 8 characters . I guess there is something strange in your "calendardays" since I could not find 8 characters irrespective of the order.Do not forget to use zeroes.
    Hope this works.
    Reward if it is helpful.
    Regards,
    Balaji

  • HFM APP error when loading security file

    <p><font size="2" color="black">Good Day,</font></p><p> </p><p><font size="2" color="black">I am getting this error whenloading security file in HFM APP.</font></p><p> </p><p><font size="2" color="black">User not found with identity=native://DN=cn=0a3b0f123e6a9b46:1f9eca5f:10f110fd853:-7d24,ou=People,dc=css,dc=hyperion,dc=com?USER</font></p><p> </p><p><font size="2" color="black">File: Version: 9.2.0.0.1077 Line:-1 Error: (-2147216700)(0x800412C4)(User not found with identity =native://DN=cn=0a3b0f123e6a9b46:1f9eca5f:10f110fd853:-7d24,ou=People,dc=css,dc=hyperion,dc=com?USER)File: CHsxDSSecurity.cpp Version: 9.2.0.0.1077 Line: 6859 Error:(-2147216700)(0x800412C4)() File: CHsxSecurity.cpp Version:9.2.0.0.1077 Line: 2307 Error: (-2147216700)(0x800412C4)() File:CHsvSecurityAccess.cpp Version: 9.2.0.0.1077 Line: 3980 Error:(-2147216700)(0x800412C4)() File: CHsvSecurityLoadACM.cpp Version:9.2.0.0.1077 Line: 2864 Error: (-2147216700)(0x800412C4)() File:CHsvSecurityLoadACM.cpp Version: 9.2.0.0.1077 Line: 535 Error:(-2147216700)(0x800412C4)()</font></p><p> </p><p><font size="2" color="black">Anyone seen this before.</font></p><p> </p><p><font size="2" color="black">Thanks</font></p><p> </p><p><font size="2" color="black">Azmat Bhatti</font></p>

    If you have your application built using MSAD, then you an load the file the way you built it above, however because you're using the NativeDirectory, you need to create the user in the Directory(HSS) first.  Once the user is created, you can then go through and use the .sec method to assign access/roles, but the actual user creation can't be done through a load file.
    One of the easiest reasons to understand why this can't be done is that when you load the .sec file, you're not setting up a password for the user.

  • PL/SQL: numeric or value error when extracting xml file from tables.

    create or replace FUNCTION proc_generate_xml_from_tables(p_directory in varchar2,
    p_areaname in varchar2)
    return integer
    AS
    qryCtx DBMS_XMLGEN.ctxHandle;
    result CLOB;
    clob_len number := 0;
    file_ptr utl_file.file_type;
    oTableName restore_metadata.table_name%type;
    o_filename restore_metadata.table_name%type;
    cursor metadata_restore_list(p_area varchar2) is
    select * from restore_metadata
    where instr(area_name,upper(p_Area)) > 0
    order by degree;
    vtabcount number := 0;
    sql_stmt varchar2(300);
    BEGIN
    dbms_lob.createtemporary(result, true,dbms_lob.session);
    oTableName := upper('MAINT_ACTVS');
    vtabcount := 0;
    sql_stmt := 'select count(*) from ' || oTableName;
    execute immediate sql_stmt into vtabcount;
    o_filename := oTableName || '.xml';
    file_ptr := utl_file.fopen(p_directory,o_filename,'W');
    dbms_output.put_line(oTableName);
    qryCtx := dbms_xmlgen.newcontext('select * from ' || oTableName);
    result := dbms_xmlgen.getxml(qryCtx);
    --dbms_output.put_line(result);
    clob_len := dbms_lob.getlength(result);
    dbms_output.put_line('Length of the clob file' || clob_len);
    utl_file.put_line(file_ptr,result);
    utl_file.fclose(file_ptr);
    dbms_xmlgen.closeContext(qryCtx);
    dbms_lob.freetemporary(result);
    return 0;
    EXCEPTION
    when others THEN
    utl_file.fclose(file_ptr);
    dbms_output.put_line('Table Name into Consideration :- ' || oTableName);
    dbms_output.put_line('Oracle Error Number:- ' || sqlcode || ' Ora Message :- ' || sqlerrm);
    return -1;
    END;
    I am getting the following errors..
    SQL> @temp1.sql
    MAINT_ACTVS
    Length of the clob file34245
    Table Name into Consideration :- MAINT_ACTVS
    Oracle Error Number:- -6502 Ora Message :- ORA-06502: PL/SQL: numeric or value error
    What am I doing wrong here?
    DB version is Oracle 10g
    Edited by: userAtoZ on May 6, 2011 2:55 PM

    >
    My problem lies that my xml file is having data more than 32 K.
    When I write it 32K at a time then it work fine.
    >
    Then break it down.
    l_pos number;
    WHILE (l_pos <= clob_len)
      LOOP
        UTL_FILE.PUT_LINE (file_ptr,DBMS_LOB.SUBSTR ( RESULT , 32767,l_pos));
        l_pos := l_pos + 32767;
      END LOOP;
    utl_file.fclose(file_ptr);
     

Maybe you are looking for

  • Exchange subfolders do not sync

    I recently started using my iphone to sync an Exchange email account through the default iOS mail app.  I noticed that the exchange account subfolders rarely sync.  Anybody else having this issue?  How can I get them to sync?  I am willing to downloa

  • Lightroom with HP smartmedia server - mac and pc

    Hi Everyone, I was considering buying a new HP Smartmedia Home Server, but before I did I wanted to make sure I could store my pics and catolog files on the server to be accessed by my mac and PC. My wife uses my PC to put her photos into lightroom a

  • Using iPhoto to make books with NetBoot on an apple server in computer la

    I teach an artist book course at NKU. We have an intel imac lab that serves up the software over a NetBoot system on the network from an xServe. We are using iPhoto to make our books. Our problem is that students cannot save their books to work on fo

  • Impact of 603 mvt type

    i would like to know impact of 603 mvt type. my user is using vl01no transaction for outbound delivery process.    in this transaction system is generating 603 mvt type. even though receiving plant is not processing GR for this OBD,still system is sh

  • Something is eating up all my memory on IPad air

    Something is eating up all my memory on IPad air. I have deleted everything I can but it is still full. Took away pictures, videos, apps, movies, music etc... but somewhere something is still installed that is eating up the memory. Where do I look? A