How to insert Thai or Chinese Word into table in IQ 16.0?

Hi guys,
I need your help. How I can insert chinese/ thai words into table?
I have a text file with data (save in unicode)
test你好| test
When I load this file into a table,
The result will become
ÿþt e s t i n g 'O}Y | t e s t
ÿþt e s t i n g 'O}Y - 14 characters
t e s t - 10 characters
How I can load the chinese word properly in the table?
Thanks.

Hi .
You can use these method in sequence as follow:
1)  CALL METHOD cl_gui_frontend_services=>file_open_dialog
     this method let the user choose a file form his computer ad return the file path (ex.: C:/..../file.txt)
2) CALL METHOD cl_gui_frontend_services=>gui_upload
     this method upload the file and return the file content.
After you got the content of the file you can store it inot a custom table .
There are similira merhod for the inverse problem (file download).
Regards,
Fabri

Similar Messages

  • How to insert the select query result into table?

    How to insert the select query result into table?
    SELECT  top 20 creation_time  
            ,last_execution_time 
            ,total_physical_reads
            ,total_logical_reads  
            ,total_logical_writes
            , execution_count 
            , total_worker_time
            , total_elapsed_time 
            , total_elapsed_time / execution_count avg_elapsed_time
            ,SUBSTRING(st.text, (qs.statement_start_offset/2) + 1,
             ((CASE statement_end_offset 
              WHEN -1 THEN DATALENGTH(st.text)
              ELSE qs.statement_end_offset END 
                - qs.statement_start_offset)/2) + 1) AS statement_text
    FROM sys.dm_exec_query_stats AS qs
    CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) st
    ORDER BY total_elapsed_time / execution_count DESC;
    Thanks,
    Tirumala

    1. SELECT INTO
    Below method will create table when data is inserted from one table to another table. Its useful when you need exactly same datatype as source table.
    Use AdventureWorks2008R2;
    Go
    ---Insert data using SELECT INTO
    SELECT AddressLine1, City
    INTO BothellAddresses
    FROM Person.Address
    where City = 'Bothell';
    GO
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    2. INSERT INTO SELECT
    Below method will need table to be created prior to inserting data. Its really useful when table is already created and you want insert data from
    another table.
    Use AdventureWorks2008R2;
    Go
    ---Create Table
    CREATE TABLE BothellAddresses (AddressLine1 NVARCHAR(60), City NVARCHAR(30))
    ---Insert into above table using SELECT
    INSERT INTO BothellAddresses(AddressLine1, City)
    SELECT AddressLine1, City
    FROM Person.Address
    where City = 'Bothell';
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • How to insert  jRadioButton/jCheckBox/jButton etc into table cell?

    Please! Please! Please!

    Inserting UI elements into database columns? (That's what "table cell" means, right?) No, bad idea. Don't do that.

  • How to insert the image or logo into the table as a field in webdynpro abap

    Hi Friends,
    Please tell me how to insert the image or logo into the table as a field in webdynpro abap.........

    Hi Alagappan ,
          In your view layout you take table UI element and then you bind it with some context nodes.
    The attributes of your nodes comes as a field.
    Now in these fields you can set various properties and image is one of them.
    Go to ->
    1. View Layout -> Right Click on ROOTUIELEMENTCONTAINER -> INSERT ELEMENT -> TABLE
    2. Right click on table -> Create Binding.
       Here you have to bind it with the appropriate context node.
    You will get two properties here
    a- Standard Cell Editor :- ( make it image )
    b- Standard properties :- ( If required set image properties ).
    3. If you want put image from out side then import it as a mime object and set the source of your table field ( used as a image )
    also have a look :-
    [Image Properties|http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm]
    Hope this will solve your problem.
    Reply if any case of any issue.
    Thanks & Regards,
    Monishankar C

  • How to insert line or row in a table?

    Hi OAF experts,
    can anyone show me how to insert row or line in a table bean by setting the table.setAutoInsertion(false) ?
    Thank you.
    Jon

    As per Dev Guide:---
    The other change you can make is to suppress the default Add Another Row button behavior of adding a
    single row to the view instance associated with the table, so that you can handle the event with your own code.
    The following code example illustrates how to accomplish this:
    processRequest
    // Enabled add row and turn off the default "Add Another Row" table event
    // The add row event has to be auto-handled by developer in processFormRequest
    tableBean.setInsertable(true);
    tableBean.setAutoInsertion(false);
    processFormRequest
    if ((tableBean.getName()Equals(pageContext.getParameter(SOURCE_PARAM))) &&
    (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))))
    OAApplicationModule am = pageContext.getApplicationModule(tableBean);
    am.invokeMethod("handleInsertRow", null);
    // The ***AMImpl.java in which method "handlInsertRow" has been defined
    public void handleInsertRow()
    OAViewObject vo = findViewObject("voName");
    vo.invokeMethod("handleInsertRow");
    // The ***VOImpl.java which is associated with the table; and in which the
    // handleInsertRow is defined
    public void handleInsertRow()
    Row row = createRow();
    // Set any default attributes
    row.setAttribute(...);
    // Insert the row into the VO
    insertRow(row);
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to insert select columns from one internal table to another

    Hi,
    How to insert select columns from one internal table to another based on condition as we do from a standart table to internal table.
    regards,
    Sriram

    Hi,
    If your question is for copying data from 1 int table to other ;
    we can use
    APPEND LINES OF it_1 TO it_2.
    or if they have different columns then:
    loop at it_1 into wa_it1.
    move wa_it1-data to wa_it2-d1.
    apped wa_it2 to it_2.
    clear wa_it2.
    endloop.
    thnxz

  • How to insert single quote in to the table

    Pl help me out in how to insert the single quote ie ' into the table. If there is no other way, i will go for some other alternative
    Regards,
    Basavaraju

    SQL> desc varchar2_test
    Name                                      Null?    Type
    TEXT                                               VARCHAR2(4000)
    SQL> insert into varchar2_test values ('''ABCDEFGHIJ''');
    1 row created.
    SQL> select * from varchar2_test;
    TEXT
    'ABCDEFGHIJ'Thanks,
    BB

  • How to insert data from JTable to mysql Table....

    hello everybody
    i need help about how to insert data from JTable to mysql table... i know about how to create Table model...facing problem about how to insert data from JTable to mysql table....any helping link or code ... ill be thankfulll....for giving me solution...

    table1.getValueAt(table1.getSelectedRow(),0)you are getting the value of a selected row... or if you want you can just use a loop..
    for(.....){
    table1.getValueAt(x,y);
    }I think you know INSERT STATEMENT.. here on it just string concat
    sample e.g. (This not insert)
    "delete from accrule " +
                    "where ruleid= " + tblRA.getValueAt(tblRA.getSelectedRow(),0)+
                    " and accountname='"+tblRA.getValueAt(tblRA.getSelectedRow(),1)+"'"

  • How to Insert a record in a database table in debugging mode in production

    Hi,
    How to Insert a record in a database table in debugging mode in production ?
    Waiting for kind response.
    Best Regards,
    Padhy
    Moderator Message : Duplicate post locked.
    Moderator message : Warning. Don't create multiple threads for same question.
    Edited by: Vinod Kumar on May 12, 2011 11:02 AM
    Edited by: Vinod Kumar on May 12, 2011 11:04 AM

    Hi Senthil,
    Regards,
    Phani Raj Kallur
    Message was edited by: Phani Raj Kallur

  • How to insert page numbers in word

    I know how to insert page numbers that appear 1, 2, 3 etc.
    But I want to display:    1 out of 6,   2 out of 6,  3 out of 6  or similar - i.e. to have the TOTAL number of pages shown.  I can do this in Excel - is it possible in Word?  Or Pages??
    Thanks,
    Steve
    2013-06-08

    Thanks for the fast, 100% right-on reply!  (And I looked, googled… no luck)---
    I believe I can do this in PAGES, too-----
    REALLY REALLY appreciate the fast and perfect reply--- (I know this is not strictly a "Mac" issue - and nonetheless I got super help from you and appreciate CT's reply too!)
    Steve
    Saturday 8 June 2013

  • How to insert a Bridge photo gallery into a webpage with Dreamweaver

    I have made the changes to the web gallery index page (from Bridge) as indicated in http://foundationphp.com/tutorials/gallery/embed3.php  in DW.  However, I normally do not use DW, but need to now.  I have the new web page where I want the gallery to appear, but am currently stuck.  I need a very clear, basic step by step instruction as to how to insert the gallery/index page.  Below is the DW code screen from the new page where I want it to appear (not sure if this is needed).  Thanks for your help!  Ron
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Visual Arts Gallery Giselle M Olivera</title>
    <style type="text/css">
    <!--
    .style5 {
      font-family: "Kunstler Script";
      font-size: 21px;
    .style7 {font-family: Geneva, Arial, Helvetica, sans-serif}
    a:link {
      text-decoration: none;
      color: #000000;
    a:visited {
      text-decoration: none;
      color: #000000;
    a:hover {
      text-decoration: underline;
      color: #33FFFF;
    a:active {
      text-decoration: none;
      color: #000000;
    .style8 {color: #000000}
    -->
    </style>
    </head>
    <body>
    <div align="center">
      <table width="227" border="1">
        <tr valign="top">
          <td width="217" align="center" valign="top"><div align="center"><span class="style7"><span class="style8"><a href="./">HOME</a></span></span> <span class="style8"><a href="./"><span class="style5">Giselle M. Olivera</span></a></span></div></td>
        </tr>
      </table>
    </div>
    </body>
    </html>

    First define your site folder in Dreamweaver.  Site > Manage Sites > New > Local Site.
    http://foundationphp.com/tutorials/gallery/embed1.php
    Also, to simplify things, you could use an <iframe> to bring your bridge gallery index.html page into your DW web page.
    http://www.w3schools.com/tags/tag_iframe.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Download report with chinese word into Excel

    Hi all,
    I need to create a report with Chinese header title, how can I put in these chinese word in my report?
    And after all, I will need to download this report to Excel sheet.
    I 'm using function GUI_DOWNLOAD to download the report to excel, but the chinese words display as ############## in the excel sheet.
    How can I solve this 2 problems?
    Kindly help !
    Thanks in advance.
    Jane.

    hi
    good
    We need to include CODE PAGE in the FM. This will help SAP to under the language which you are uploading.
    Use GUI_UPLOAD FM to upload the excel sheet. This has a parameter CODE PAGE, which you can pass to the FM.
    thanks
    mrutyun^

  • How to insert a very long string into a column of datatype 'LONG'

    Can anyone please tell me how can I insert a very long string into a column of datatype 'LONG'?
    I get the error, ORA-01704: string literal too long when I try to insert the value into the table.
    Since it is an old database, I cannot change the datatype of the column. And I see that the this column already contains strings which are very long.
    I know this can be done using bind variables but dont know how to use it in a simple query.
    Also is there any other way to do it?

    Hello,
    To preserve formatting in this forum, please enclose your code output between \ tags. And when executing you code as a pl/sql or sql script
    include following lineset define off;
         Your code or output goes here
      \Regards
    OrionNet                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Does anyone know how to insert an Articulate Engage interaction into a Captivate 2 project?

    I would like to insert an Articulate Engage interaction into
    a Captivate 2 project. And,er, that's it really. Does anyone know
    how to do it? When I try to insert the Articulate project as an
    animation, it functions fine in the preview screen, but once it's
    been inserted all I get is the loading screen.

    Hi again darren.winter
    If I were in your shoes, here is what I'd try. Place the
    content from Articulate in a specific folder. Then publish your
    Captivate to the same folder to ensure all files are there
    together. Then test. Obviously, this may work or it may fail. And
    just as obviously, if it works, you're done!
    If it fails, I think I'd try publishing my Captivate using
    different settings. Try publishing for different Flash versions.
    You might find that if you target Flash 6 it fails, but 7 or 8 may
    work.
    If the Flash version bit fails, are there some settings in
    Articulate that allow you to reduce the number of files that are
    required? For example, I know that when Captivate 2 came out, many
    folks had to scramble (and some still do) over the fact that it
    produced multiple output files. Some LMS' didn't like the fact
    there were typically two .SWF files to distribute. We then learned
    we could eliminate one of the .SWF files by turning off the
    borders. So I'm wondering if perhaps Articulate may have similar
    output options you could use.
    Hopefully something here helps... Rick

  • How to insert External XML file content into XMLTYPE through Pro*c

    Could any one sugest me how to insert a external XML file content into Db
    into XMLTYPE datatype through Pro*c program.
    Thanks for any help...... who has done this
    Ghanta Tagore

    Hi
    After some good fight of 3 days, I have done it through Pro*c
    This is the way to handle this
    Buffer-->Temporary Clob-->XMLTYPE(using CreateXml)
    Pasting my piece o code to do this
    ===============
    OCIClobLocator *license_txt;
    varchar h_ttt[1024] = {'\0'};
    ub4 amt;
    int i;
    EXEC SQL ALLOCATE :license_txt;
    EXEC SQL LOB CREATE TEMPORARY :license_txt ;
    GetName(name); /*Gets Name to insert into name column in License Table*/
    for(i=0; i<4;i++)
    GetXMLL((char *)h_ttt.arr); /*Gets a string value of XML into this example*/
    /*<Tagore>Is From TCS Delhi</Tagore>*/
    /*This can be changed to get buffer from FILE */
    h_ttt.len = strlen((char *)h_ttt.arr);
    amt = sizeof(char) * h_ttt.len ;
    EXEC SQL LOB WRITE APPEND :amt FROM :h_ttt INTO :license_txt;
    EXEC SQL
    INSERT INTO license_table VALUES (:sss, :name, sys.xmltype.createXML(:license_txt))
    ================
    Thanks For ur Help
    Tagore Ghanta

Maybe you are looking for

  • Dynamic where clause in select query

    Hi I'm trying for a dynamic query and in the dynamic where clause i'm checking a field for constant.....for instance if i wanna to use WERKS EQ '0478' how to declare it in dync where clause. i tried for the following: SELECT  (TAB_FIELD) INTO TABLE D

  • Writer initialisation error !  has this been resolved in CS3

    I can not encode a wmv from CS3 (since installing CS4) without getting the "writer initialisation error " message. Has there been any resolution to this issue or any one know a fix.? I do not wish to continually export an avi then create a wmv from t

  • Howto process non .jsp files wiht the jsp processor?

    I am building an application that uses a tag to include some resources to the page. This tag simple get in the context the bean assossiated with the tag and include it in its own stead. An engine process the request setting in the request scope a bea

  • Outer Join on view hangs

    Hi there, sorry about the big post but I am wondering if someone could help me with this. I dont seem to be able to figure out what I am doing wrong here: I've created a function that merges a number of lines of text into one row, the function works

  • Camera Raw Doesn't recognize nef files

    I have CS4. I upgraded camera raw plugin tp 5.6. I am shooting with Nikon D7000, Getting error message that photoshop does not recognize nef files. Please help.