How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?

How to get UTF-8 encoding when create XML using DBMS_XMLGEN and UTL_FILE ?
Hi,
I do generate XML-Files by using DBMS_XMLGEN with output by UTL_FILE
but it seems, the xml-Datafile I get on end is not really UTF-8 encoding
( f.ex. cannot verifying it correct in xmlspy )
my dbms is
NLS_CHARACTERSET          = WE8MSWIN1252
NLS_NCHAR_CHARACTERSET     = AL16UTF16
NLS_RDBMS_VERSION     = 10.2.0.1.0
I do generate it in this matter :
declare
xmldoc CLOB;
ctx number ;
utl_file.file_type;
begin
-- generate fom xml-view :
ctx := DBMS_XMLGEN.newContext('select xml from xml_View');
DBMS_XMLGEN.setRowSetTag(ctx, null);
DBMS_XMLGEN.setRowTag(ctx, null );
DBMS_XMLGEN.SETCONVERTSPECIALCHARS(ctx,TRUE);
-- create xml-file:
xmldoc := DBMS_XMLGEN.getXML(ctx);
-- put data to host-file:
vblob_len := DBMS_LOB.getlength(xmldoc);
DBMS_LOB.READ (xmldoc, vblob_len, 1, vBuffer);
bHandle := utl_file.fopen(vPATH,vFileName,'W',32767);
UTL_FILE.put_line(bHandle, vbuffer, FALSE);
UTL_FILE.fclose(bHandle);
end ;
maybe while work UTL_FILE there is a change the encoding ?
How can this solved ?
Thank you
Norbert
Edited by: astramare on Feb 11, 2009 12:39 PM with database charsets

Marco,
I tryed to work with dbms_xslprocessor.clob2file,
that works good,
but what is in this matter with encoding UTF-8 ?
in my understandig, the xmltyp created should be UTF8 (16),
but when open the xml-file in xmlSpy as UTF-8,
it is not well ( german caracter like Ä, Ö .. ):
my dbms is
NLS_CHARACTERSET = WE8MSWIN1252
NLS_NCHAR_CHARACTERSET = AL16UTF16
NLS_RDBMS_VERSION = 10.2.0.1.0
-- test:
create table nh_test ( s0 number, s1 varchar2(20) ) ;
insert into nh_test (select 1,'hallo' from dual );
insert into nh_test (select 2,'straße' from dual );
insert into nh_test (select 3,'mäckie' from dual );
insert into nh_test (select 4,'euro_€' from dual );
commit;
select * from nh_test ;
S0     S1
1     hallo
1     hallo
2     straße
3     mäckie
4     euro_€
declare
rc sys_refcursor;
begin
open rc FOR SELECT * FROM ( SELECT s0,s1 from nh_test );
dbms_xslprocessor.clob2file( xmltype( rc ).getclobval( ) , 'XML_EXPORT_DIR','my_xml_file.xml');
end;
( its the same when using output with DBMS_XMLDOM.WRITETOFILE )
open in xmlSpy is:
<?xml version="1.0"?>
<ROWSET>
<ROW>
<S0>1</S0>
<S1>hallo</S1>
</ROW>
<ROW>
<S0>2</S0>
<S1>straޥ</S1>
</ROW>
<ROW>
<S0>3</S0>
<S1>m㢫ie</S1>
</ROW>
<ROW>
<S0>4</S0>
<S1>euro_€</S1>
</ROW>
</ROWSET>
regards
Norbert

Similar Messages

  • How to get the input values when create shpping cart(FPM_OIF_COMPONENT)?

    We want to remote other applications when create a new SC(neither ordered nor saved).
    We must transport the screen data which entired by users.
    Do you have a methord to get the screen value of SC in the FPM component FPM_OIF_COMPONENT?
    Thank you very much!
    I am looking forward to your reply!

    Solved,use the BADI BBP_DOC_CHANGE_BADI

  • Error when creating Recordset using CF and Postgres

    I'm a complete newbie when it comes to databases and development so go easy on me.
    I have created a simple database with a schema (ABC) and 2 tables (_Address, _Member) in Postgres 9.0.  I have installed CF 9 in development and am creating a new application using the Construction Kit Vol 1 as my guide.  I got to the point where I am to make a Recordset and keep getting an error of:
    -1:ERROR: schema "ABC" does not exist
    org.postgresql.util.PSQLException: ERROR: schema "ABC" does not exist
    ...about 20+ lines of at errors follow (can post a screenshot if they would be helpfull)...
    From the Database tab I am able to browse my database just fine but I cannot create this recordset in the bindings tab.  I also followed the examples in the book and using their database I am able to create a recordset just fine.  CF says my data source verifies correctly.  I have verified that my password is correct as well as when in the database tab of DW I can test the connection fine.  I cannot edit the connecton from there but I get the same error when I try to edit on all of the databases, including the default test databases.
    Any suggestions would be greatly appreciated.

    Hi Loan,
    In your stock transfer Purchase Order has the correct 'Shipping Point' been determined for this item - i.e. the 'Shipping Point' associated with your 0002 Storage Location?
    The 'Shipping Point' determination is setup in config in <OVL2>, you can use the 'Loading Group' field in the Material Master (Sales:General Plant) tab to influence the shipping point that is automatically determined for a Material.
    Assuming the Shipping Point has been determined correctly for your 0002 SLoc - then in <VL10B> you will have selected this 'Shipping Point' for your delivery creation.  I also noticed that in <VL10B> on the Material tab you have the option to specify a SLoc (I'm assuming this is a source SLoc since the help doesn't clearly specify) - try entering this data too and see if you can generate your delivery.
    Good luck,
    Ravelle

  • How to get the Details Regarding the tcode like used by  and used in .

    Hi all,
    My requirement is if i give the Z* Tcode in the selection screen I should get the details like program Name and Creator Name and created on and last Changed by and used by and used in Related Data.
    Somehow i managed to get all the data except for two fields used by and used in .Please let mke know is there any Function Module to fetch the used by(User Name ) and used in data or any table where this data is saved.
    Thanks in Advance.
    Regards,
    Naveen

    Hi Naveen,
    What are you exactly looking for in "used by" (if it's who launched the transaction lastly -> performance statistics, transaction ST03N, search forum how to read it) and "used in" (programs in which the transaction is statically defined in CALL TRANSACTION, and other statements -> CROSS table)?
    BR
    Sandra

  • How to get or show multiple record data pagewise using JSPBean and HTML

    Hi ,
    I am using JSP bean for getting the data from database and html toe present the data.
    The problem is when the user inputs data
    in the search field and clicks on Search button ,i need to get all matching rows fromw the database ,which i am already getting.
    Now if i have got suppose 100 rows i need to show 6 recrods on each page the rest should be shown when the user clicks NEXT or PREV buttons.
    example
    Name: input data here
    Description: input data here
    SEARCH Button
    Show here the first 6 records
    PREV 1 2 3 4 5..... NEXT
    The page will look somewhat like this.
    So the rows will be shown just below the search fields .If i am getting more than 6 record i should show PREV and NEXT with the number for each page holding 6 records.
    Have anybody worked on such thing can you help me out .
    Thanks

    Hi This may help, Previous does not work properly, coz I didnt find much difficult to code so you can build on your own from Next option logic
    Here is the code. Here and there couple of probs exist but they are solvable easily,
    <HTML>
    <%@ page language="java"
         import="
         java.util.* "
    %>
    <%!
         Vector customers;
    %>
    <%!
    void dummyMethod()
         customers = new Vector();
         for (int i=0;i<30;++i)
              // Prints only one time when browser opened first time.
              System.out.println("I:"+i);
              customers.add(i+"");
    %>
    <body>
    <script language=JavaScript>
    function getNextRows(begin,end)
         document.frmPage.begin.value = begin;
         document.frmPage.end.value = end;
         document.frmPage.which.value = "next";
         document.frmPage.action = "getRows.jsp";
         document.frmPage.method="post";
         document.frmPage.submit();
    function getPrevRows(begin,end)
         document.frmPage.begin.value = begin;
         document.frmPage.end.value = end;
         document.frmPage.which.value = "prev";
         document.frmPage.action = "getRows.jsp";
         document.frmPage.method="post";
         document.frmPage.submit();
    </script>
    </body>
    <%! int x = 0; %>
    <HEAD>
    <TITLE>Customer Account Information</TITLE>
    <META HTTP-EQUIV="Expires" CONTENT="0">
    </HEAD>
    <BODY BGCOLOR = "#FFFFFF" >
    <form name=frmPage>
    <input type=hidden name="begin" value="0">
    <input type=hidden name="end" value="10">
    <input type=hidden name="which" value="">
    <H2 ALIGN="CENTER"><FONT COLOR="#000099">Customer Account Information</FONT></H2>
    <H2><FONT COLOR="#000099"></FONT></H2>
    <P>
    <TABLE BORDER="1" cellpadding="0" cellspacing="0" WIDTH="80%" ALIGN="CENTER">
    <TR>
    <TD WIDTH="10%" BGCOLOR="#CCCCFF"><FONT FACE="Italic">Acct# </FONT> </TD>
    </TR>
    <%
    int begin = Integer.parseInt((request.getParameter("begin")==null)?"0":request.getParameter("begin"));
    int end = Integer.parseInt((request.getParameter("end")==null)?"10":request.getParameter("end"));
    int max=0;
    if (request.getSession(false).isNew() ||
    request.getSession(false) == null)
         dummyMethod();
    max = customers.size();
    String     which = (request.getParameter("which")==null)?"next":request.getParameter("which");
    if (which.equals("next"))
         for (x = begin; x < max && x <= end; ++x)
              out.println("<TR>"+
                   "<TD WIDTH='50%' BGCOLOR='#CCFFCC'>"+customers.elementAt(x)+"</TD>"+
                   "</TR>");
         begin = end;
         end +=10;
    else
         for (x=begin; x <max &&x <= end; --x)
              out.println("<TR>"+
                   "<TD WIDTH='50%' BGCOLOR='#CCFFCC'>"+customers.elementAt(x)+"</TD>"+
                   "</TR>");
         end = begin;
         begin -=10;
    %>
    </TABLE>
    <%
         if (begin == max)
              out.println("<tr><td>Next  <a href='javascript:getPrevRows("+begin+","+end+")'>Previous </a></td></tr>");
         else
              out.println("<tr><td><a href='javascript:getNextRows("+begin+","+end+")'>Next </a></td></tr>");
    %>          
    </BODY>
    </HTML>

  • Creating XML using DBMS_XMLGEN with a namespace

    Is it possible to create an XMLTYPE using the DBMS_XMLGEN function set that contains a namespace. As far as I can see only the 'setrowsettag' function allows any control over what goes into the root element - should I be including, for example, an attribute called 'xmlns' with a value?
    The reason I ask all this is I'm trying to validate xml created from a select statement against a registered xsd.
    The xsd I've registered:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <xs:schema targetNamespace="http://www.sepa.org/2007/XMLSchemas/Site" xmlns:sit="http://www.sepa.org/2007/XMLSchemas/Site" elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sepa.org/2007/XMLSchemas/Site Site.xsd" xmlns:oraxdb="http://xmlns.oracle.com/xdb" oraxdb:flags="311" oraxdb:schemaURL="http://www.sepa.org/2007/XMLSchemas/Site.xsd" oraxdb:schemaOwner="XMLDBMASTER" oraxdb:numProps="14">
    <xs:element name="site" oraxdb:propNumber="5953" oraxdb:global="true" oraxdb:SQLName="site" oraxdb:SQLType="site1681_T" oraxdb:SQLSchema="XMLDBMASTER" oraxdb:memType="258" oraxdb:defaultTable="site1683_TAB" oraxdb:defaultTableSchema="XMLDBMASTER">
    <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
    </xs:annotation>
    <xs:complexType oraxdb:SQLType="site1681_T" oraxdb:SQLSchema="XMLDBMASTER">
    <xs:sequence>
    <xs:element name="SiteIDType" type="xs:ID" oraxdb:propNumber="5940" oraxdb:global="false" oraxdb:SQLName="SiteIDType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="SiteNameType" type="xs:string" minOccurs="1" oraxdb:propNumber="5941" oraxdb:global="false" oraxdb:SQLName="SiteNameType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="SiteAddressStructure" oraxdb:propNumber="5947" oraxdb:global="false" oraxdb:SQLName="SiteAddressStructure" oraxdb:SQLType="SiteAddressStructure1682_T" oraxdb:SQLSchema="XMLDBMASTER" oraxdb:memType="258" oraxdb:SQLInline="true" oraxdb:MemInline="false" oraxdb:JavaInline="false">
    <xs:complexType oraxdb:SQLType="SiteAddressStructure1682_T" oraxdb:SQLSchema="XMLDBMASTER">
    <xs:sequence>
    <xs:element name="AddressLine1" type="xs:string" minOccurs="1" oraxdb:propNumber="5942" oraxdb:global="false" oraxdb:SQLName="AddressLine1" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="AddressLine2" type="xs:string" minOccurs="0" oraxdb:propNumber="5943" oraxdb:global="false" oraxdb:SQLName="AddressLine2" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="AddressLine3" type="xs:string" minOccurs="0" oraxdb:propNumber="5944" oraxdb:global="false" oraxdb:SQLName="AddressLine3" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="AddressLine4" type="xs:string" minOccurs="1" oraxdb:propNumber="5945" oraxdb:global="false" oraxdb:SQLName="AddressLine4" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="PostCode" type="xs:string" minOccurs="0" oraxdb:propNumber="5946" oraxdb:global="false" oraxdb:SQLName="PostCode" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="SiteTelephoneNoType" type="xs:string" minOccurs="0" oraxdb:propNumber="5948" oraxdb:global="false" oraxdb:SQLName="SiteTelephoneNoType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="SiteMobilePlantType" type="xs:string" minOccurs="0" oraxdb:propNumber="5949" oraxdb:global="false" oraxdb:SQLName="SiteMobilePlantType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="SiteFaxNoType" type="xs:string" minOccurs="0" oraxdb:propNumber="5950" oraxdb:global="false" oraxdb:SQLName="SiteFaxNoType" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <!--***Location code must reference the code in the Location Dataset***-->
    <xs:element name="SiteLocationCode" type="xs:string" minOccurs="1" oraxdb:propNumber="5951" oraxdb:global="false" oraxdb:SQLName="SiteLocationCode" oraxdb:SQLType="VARCHAR2" oraxdb:memType="1" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    <xs:element name="SitePopulationEquivType" type="xs:positiveInteger" minOccurs="0" oraxdb:propNumber="5952" oraxdb:global="false" oraxdb:SQLName="SitePopulationEquivType" oraxdb:SQLType="NUMBER" oraxdb:memType="2" oraxdb:SQLInline="true" oraxdb:MemInline="true" oraxdb:JavaInline="true"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    The method for generating the XML:
    DECLARE
    v_ctx DBMS_XMLGEN.ctxhandle;
    v_xml XMLTYPE;
    BEGIN
    v_ctx:=DBMS_XMLGEN.newcontext
    SELECT e.site_id "SiteIDType", e.site_name "SiteNameType", sit_address(e.addr_line1, e.addr_line2,
    e.addr_line3, e.addr_line4, e.post_code) AS "SiteAddressStructure", e.tel_no "SiteTelephoneNoType"
    , e.mobile_plant "SiteMobilePlantType",
    e.fax_no "SiteFaxNoType", e.ge1_location_code "SiteLocationCodeType" ,e.population_equivalent "SitePopulationEquivType"
    FROM EL03_SITES e
    WHERE e.site_id = 15'
    DBMS_XMLGEN.setrowsettag (v_ctx, 'site');
    DBMS_XMLGEN.setrowtag (v_ctx, NULL);
    v_xml := DBMS_XMLGEN.getxmltype (v_ctx);
    INSERT INTO js_xml_test
    (ID, xml_data
    VALUES ('site test', v_xml
    COMMIT;
    DBMS_XMLGEN.closecontext (v_ctx);
    END;
    The resulting XML:
    <site>
    <SiteIDType>15</SiteIDType>
    <SiteNameType>Finlas Water Treatment Works</SiteNameType>
    <SiteAddressStructure>
    <AddressLine1>Finlas Water Treatment Works</AddressLine1>
    <AddressLine2>Shermor Farm</AddressLine2>
    <AddressLine3>Luss</AddressLine3>
    <AddressLine4>Alexandria</AddressLine4>
    <PostCode>G83 8RH</PostCode>
    </SiteAddressStructure>
    <SiteTelephoneNoType>01389 850224</SiteTelephoneNoType>
    <SiteMobilePlantType>N</SiteMobilePlantType>
    <SiteLocationCodeType>123428</SiteLocationCodeType>
    </site>
    When I try to validate it, I get:
    ORA-30937: No schema definition for 'site' (namespace '') in parent '/'
    ORA-06512: at "SYS.XMLTYPE", line 345
    ORA-06512: at line 30
    How do I get a namespace declaration in the XML? Any suggestions gratefully received.

    Did you change any of the text in the lob write statements ?
    I believe you get this error if you increase the number of characters without increasing the 1st argument which looks as though it represents the number of characters

  • How to get rid of hiss when/noise/static using EarPods on MacBook Air'13 (and other macs)?

    I still haven't found any solution to that and i love my EarPods. That's a big discomfort, especially when listening at low volume, which i do quite often.

    I think what you are hearing is just air flowing around in the room causing a very similar white noise, I noticed this myself when using the "EarPods" on my Macbook Pro. It could also be caused by a damaged Audio port or the Earpods audio jack itself. Twisting the jack while inside the port may help if this is the case, but I would first highly recommend trying to wear the Earpods and then covering your ears and see if the noise goes away, as twisting could potentially cause damage. If covering your ears seems to remove the sound, then it would most likely just be airflow. If neither work and persist, I would then recommend trying to return the Earpods, or getting a new In/Out for your Mac. I am experienced with music production and sound design so if none of these solutions work, please let me know. ~SirFox

  • Error message when importing data using Import and export wizard

    Getting below error message when importing data using IMPORT and EXPORT WIZARD
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    <dir>
    <dir>
    Messages
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Could not allocate a new page for database REPORTING' because of insufficient disk space in filegroup 'PRIMARY'.
    Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.".
    (SQL Server Import and Export Wizard)
    Error 0xc0209029: Data Flow Task 1: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Destination - Buyer_.Inputs[Destination Input]" failed because error code 0xC020907B occurred, and the error row disposition on "Destination
    - Buyer_First_Qtr.Inputs[Destination Input]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
    (SQL Server Import and Export Wizard)
    Error 0xc0047022: Data Flow Task 1: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Destination - Buyer" (28) failed with error code 0xC0209029 while processing input "Destination Input" (41). The
    identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information
    about the failure.
    (SQL Server Import and Export Wizard)
    Error 0xc02020c4: Data Flow Task 1: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
    (SQL Server Import and Export Wizard)
    </dir>
    </dir>
    Error 0xc0047038: Data Flow Task 1: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on Source - Buyer_First_Qtr returned error code 0xC02020C4.  The component returned a failure code when the pipeline engine called PrimeOutput().
    The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
    (SQL Server Import and Export Wizard)
    Smash126

    Hi Smash126,
    Based on the error message” Could not allocate a new page for database REPORTING' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting
    autogrowth on for existing files in the filegroup”, we can know that the issue is caused by the there is no sufficient disk space in filegroup 'PRIMARY' for the ‘REPORTING’ database.
    To fix this issue, we can add additional files to the filegroup by add a new file to the PRIMARY filegroup on Files page, or setting Autogrowth on for existing files in the filegroup to increase the necessary space.
    The following document about Add Data or Log Files to a Database is for your reference:
    http://msdn.microsoft.com/en-us/library/ms189253.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to get the search option when we are creating new view

    Hi,
    How to get the search functionality when we are creating new view.
    Ex:- if we see the standard component BT112S_SC. Under this
    AdvancedSP  is the view,
    same kind of view if i want to create new view with same bol entity in my new component. I am unable to get that search functionality.
    for search functionality,,i think view should inherit the super class CL_BTSRV_ADVS_CNTRL, but in my new view controller class, i am unable to find this class.
    Can anybody give me some inputs on this.
    Thanks,
    neelam

    In case you are still not able to proceed please refer the following blog.
    http://blogs.moovar.com/sap/sap-crm-web-ic-create-a-new-search-view-and-result-view
    Regards,
    Harshit

  • Error 1030723 Unable to get UTF-8 locale when using Essbase API 11.1.1

    Now I got a question about how to connect to an Essbase Server by using essbase client API (11.1.1). I encountered an error “Unable to get UTF-8 locale” when I tried to EssInit((pInitStruct, phInstance) API.
    However, I had no problem to call the API if I uses essbase previous client APIs (7.1 or 9.3).
    I passed the “ESS_API_UTF8” to usApiType field in the ESS_INIT_T struct. When I openned the “essapi.h” header file, I found these are some new fields (highlighted in red color below) added in the essbase client API (11.1.1)
    ESS_TSA_API_typedef_struct(ess_init_t)
    ESS_TSA_ELEMENT(ESS_ULONG_T, Version); /* This should be set to ESS_API_VERSION */
    ESS_TSA_ELEMENT(ESS_PVOID_T, UserContext); /* void pointer to user's message context */
    ESS_TSA_ELEMENT(ESS_USHORT_T, MaxHandles); /* max number of context handles required */
    ESS_TSA_ELEMENT(ESS_SIZE_T, MaxBuffer); /* max size of buffer that can be allocated */
    ESS_TSA_ELEMENT(ESS_STR_T, LocalPath); /* local path to use for file operations */
    ESS_TSA_ELEMENT(ESS_STR_T, MessageFile); /* full path name of message database file */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, AllocFunc); /* user-defined memory allocation function */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, ReallocFunc); /* user-defined memory reallocation function */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, FreeFunc); /* user-defined memory free function */
    ESS_TSA_ELEMENT(ESS_PFUNC_T, MessageFunc); /* user-defined message callback function */
    ESS_TSA_ELEMENT(ESS_STR_T, HelpFile); /* user-defined help file path */
    ESS_TSA_ELEMENT(ESS_PVOID_T, Ess_System); /* reserved for internal use */
    ESS_TSA_ELEMENT(ESS_USHORT_T, usApiType);
    ESS_TSA_ELEMENT(ESS_PCATCHFUNC_T, CatchFunc); /* user-defined kill-own-request signal callback function */
    ESS_TSA_ELEMENT(ESS_PCATCH_INIT_FUNC_T, CatchInitFunc); /* user-defined kill-own-request signal initialization callback function */
    ESS_TSA_ELEMENT(ESS_PCATCH_TERM_FUNC_T, CatchTermFunc); /* user-defined kill-own-request signal termination callback function */
    ESS_TSA_ELEMENT(ESS_PCOOKIE_CREATE_FUNC_T, CookieCreateFunc); /* user-defined cookie creation function */
    ESS_TSA_ELEMENT(ESS_PCOOKIE_DELETE_FUNC_T, CookieDeleteFunc); /* user-defined cookie creation function */
    } ESS_TSA_END(ESS_INIT_T);
    I could not find any document to introduce the API (11.1.1. And what does the error “Unable to get UTF-8 locale” mean? How can work around it. Any environment parameters or paths need to be set?
    Please advise.

    Hi,
    The API documentation for V11 is available from :- http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_apiref/frameset.htm?launch.htm
    Hopefully it might point you in the right direction.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to get Manager id automatically when Employee Id is given.

    How to get Manager id automatically when Employee Id is given.
    1) I created a simple BO with two elements namely
        1.Employee Id
        2.Manager id
    How to get employee's first name and last name?
    And how will i get manager id  automatic when i click employee id in element field.
    Anbu.

    Have you tried to use "APPS.FND_CONCURRENT" API?
    http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE
    http://etrm.oracle.com/pls/trm11510/etrm_pnav.show_object?c_name=FND_CONCURRENT&c_owner=APPS&c_type=PACKAGE%20BODY
    Thanks,
    Hussein

  • How to get those Char Description when i record please give a solution

    Hi Experts
    when i try to extend using BDC the meterial all data is getting copied to new plant but in MRP3 Configure varients is not getting copied in bdc i am getting all the values from parent plant but these values are not getting displayed in new plant for only *MRP3 Configure varients
    how to get those values please give a solution
    and
    when i am trying to make the BDC recording of creation of meterial in this process
    in MRP3 when i give configurable meterial  = Lamp  or CT or VOLTMETER and when
    i go for configurevariants button it's not displaying any Char Description  for the perticular meterial
    but in general when i creat a material process  there Char Description  are coming where i can give the values
    how to get those Char Description when i record please give a solution

    Hi Maen Anachronos
    i am Getting popup where i can give any value
    but in creation of meterial for a perticular config meterial there is will be 1 templete in which we will get some constant  Char Description where we'll have some options to give the value
    but when it 's done in BDC Recording  it's not displaying any values Char Description then how can we decide the values to what to give when Recording

  • I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !

    I have lost sound on my iPad in apps unless I use headphones ,does anyone know how to get sound back without them .I have used the mute volume on the bar at bottom of screen and the slider volume control there only shows when headphones are plugged in !
    I also tried resetting settings all to no avail ...I looked up some advice and watched utube video advice on how to fix without success..
    The volume control button on side does not work ,I got the iPad last August and wonder if it is a fault that means I must return it for replacement from where it was purchased ?

    The Retrospect you used way back when is no longer around. The company was sold and that company produced a new version of Retrospect - Retrospect 8.x
    So, as you've been told, you would have to be running a Tiger system with an old version of Retrospect software (5.x or 6.x - you would need to know) assuming you can find the software.
    As best I can remember you cannot extract files from a Retrospect backup except using the software since Retrospect did not normally make a file by file backup rather it created an archive of the files in the backup. I'm assuming that the EMC/Retrospect people have told you that old Retrospect backups are not accessible by Retrospect 8.x?

  • Why do I get so much noise when creating a real instrument track?

    Why do I get so much noise when creating a real instrument track?

    Creating a real instrument track is a very silent matter normally. Once you start recording, you can indeed pick up noise - but that depends on what you're recording, how you're recording etc. - you didn't tell us anything about it.

  • How to get the Useru2019s position when the user doesnu2019t have CP relation

    We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
    Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
    Regards
    Paul

    Hi Paul,
    Have a look at these tables.
    Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
    Central business partner address data
    The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
    Relationships between business partners
    Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
    Hope this helps,
    Kind Regards,
    Matthew

Maybe you are looking for

  • DBLinks Problem in 10g Release 2

    I have many mappings taking data from tables in a remote database asociated with a Source Database module. All was working OK but after some changes in one mapping, when I triyed to deploy that mapping I got a warning in the Control Center's Job Deta

  • Different results for the same query and same data !  (oracle 9i)

    Hi, This is a mystery for me. I've got on my database exactly the same data that my customer (exported schema). We both launch the same query (generated by the software that we sold him). This query has a criteria IN (SELECT MAX()...) to get only dat

  • CommandLink and Button don't work in nested form

    Hi, I have such a structure: <h:form ...>    <h:datatable ...>        <h:form ...>           <h:commandButton ...>Somehow this structure corrupts the buttons and links. When I remove the inner form element, then they work properly. Interesting point

  • Design view not working after importing project from Flex Builder

    After importing a project from Flex Builder to Flash Builder I am no longer able to see anything in the design view. I am using the flex 4.5 sdk. Any idea how I can get this design view working? I heard it could have something to do with the metadata

  • Portal 3.0.8 and Reports 6i

    We are running Portal 3.0.8 using JSP portlets that have session beans. We are also running reports 6i. When we launch a Reports 6i report in another browser window the JSP portlet session beans from portal seem to become invalid? Does anyone have an