Write Thai font in Unix Directory.

Hello,
Is there specific syntax to write file on the Unix directory in R/3 server in the Thai language. In Debug mode i can see the actual thai characters in the internal table, but when i view the file in Unix directory it gives all garbage characters e.g.
ชื่à¸à¸¥à¸¹à¸à¸„้า
บัญชีเลขที่
รายงานบัญชีวันที่
Can anyone help as to certain whether this is logic issue or font issue.?
Regards,
Mansi.

Hi Mansi,
              Well thats great that the document were of some help.Right now I can send you the syntax for Thai open dataset command.Hope it helps you to resolves your query.
|OPEN DATASET dset
  FOR { INPUT | OUTPUT | APPENDING | UPDATE }
  IN { { BINARY MODE }
     | { TEXT MODE ENCODING { DEFAULT
                            | {UTF-8 [SKIPPING|WITH BYTE-ORDER
MARK]}
                            | NON-UNICODE }
                   [WITH {NATIVE|SMART|UNIX|WINDOWS} LINEFEED]
     | { LEGACY BINARY MODE [{BIG|LITTLE} ENDIAN]
                            [CODE PAGE cp] }
     | { LEGACY TEXT MODE [{BIG|LITTLE} ENDIAN]
                          [CODE PAGE cp]
                          [WITH {NATIVE|SMART|UNIX|WINDOWS}
LINEFEED] } }
  [AT POSITION pos]
  [TYPE attr]
  [FILTER opcom]
  [MESSAGE msg]
  [IGNORING CONVERSION ERRORS]
  [REPLACEMENT CHARACTER rc].

Similar Messages

  • After Effects warning: Can´t write to font cache directory

    Hello everyone,
    I have a problem with After Effects. Every time I open AE CC I get an error with the massage "After Effects warning: Can´t write to font cache directory." I tryed an update but it brought no resolution. After Effects CS6 is still running. Does anyone have an idea how I can solve this problem? I´m currently not able to work.
    I use Windows 7 64 bit.
    Hallo zusammen,
    ich habe ein Problem mit After Effects. Jedesmal wenn ich meine After Effects CC öffne bekomme ich eine Fehlermeldung " After Effects warning: Can´t write to font cache directory."  Ich habe bereits ein update installiert aber es hat das Problem nicht behoben. After Effects CS6 läuft ohne Prbleme. Weiß jemand an was das liegen könnte?
    Habe Windows 7 64 bit.

    http://helpx.adobe.com/after-effects/kb/error-font-dictionary-cant-read.html

  • FM to GET file listing of a UNIX directory.

    Hello everyone,
    Please can anyone provide me a function module that can return to me ALL the files found inside a UNIX directory. I have tried FM EPS_GET_DIRECTORY_LISTING but I can't seem to provide the correct parameter.

    Ryan,
    check this program,
    REPORT ZFTPSAP LINE-SIZE 132.
    DATA: BEGIN OF MTAB_DATA OCCURS 0,
    LINE(132) TYPE C,
    END OF MTAB_DATA.
    DATA: MC_PASSWORD(20) TYPE C,
    MI_KEY TYPE I VALUE 26101957,
    MI_PWD_LEN TYPE I,
    MI_HANDLE TYPE I.
    START-OF-SELECTION.
    *-- Your SAP-UNIX FTP password (case sensitive)
    MC_PASSWORD = 'password'.
    DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.
    *-- FTP_CONNECT requires an encrypted password to work
    CALL 'AB_RFC_X_SCRAMBLE_STRING'
         ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
         ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
         ID 'DSTLEN' FIELD MI_PWD_LEN.
    CALL FUNCTION 'FTP_CONNECT'
         EXPORTING
    *-- Your SAP-UNIX FTP user name (case sensitive)
           USER            = 'userid'
           PASSWORD        = MC_PASSWORD
    *-- Your SAP-UNIX server host name (case sensitive)
           HOST            = 'unix-host'
           RFC_DESTINATION = 'SAPFTP'
         IMPORTING
           HANDLE          = MI_HANDLE
         EXCEPTIONS
           NOT_CONNECTED   = 1
           OTHERS          = 2.
    CHECK SY-SUBRC = 0.
    CALL FUNCTION 'FTP_COMMAND'
         EXPORTING
           HANDLE = MI_HANDLE
           COMMAND = 'dir'
         TABLES
           DATA = MTAB_DATA
         EXCEPTIONS
           TCPIP_ERROR = 1
           COMMAND_ERROR = 2
           DATA_ERROR = 3
           OTHERS = 4.
    IF SY-SUBRC = 0.
      LOOP AT MTAB_DATA.
        WRITE: / MTAB_DATA.
      ENDLOOP.
    ELSE.
    do some error checking.
      WRITE: / 'Error in FTP Command'.
    ENDIF.
    CALL FUNCTION 'FTP_DISCONNECT'
         EXPORTING
           HANDLE = MI_HANDLE
         EXCEPTIONS
           OTHERS = 1.  
    DATA:
    l_pcfile LIKE sapb-sappfad, "Desktop file & path
    l_serfil LIKE sapb-sappfad. "Server File & path
    l_pcfile = 'D:\Data\temp\input.txt'.
    l_serfil = '/tmp/output.txt' .
    CALL FUNCTION 'ARCHIVFILE_CLIENT_TO_SERVER'
    EXPORTING
    path = l_pcfile
    targetpath = l_serfil
    EXCEPTIONS
    error_file = 1
    OTHERS = 2.
    Don't forget to reward if useful.....

  • How to store the File Name from a Unix Directory into a ODI variable?

    Hi,
    I have built a ODI package with the following steps:
    1. ODI is polling for a flat file in a Unix directory. I have used OdiFileWait tool for this purpose. Here the file name is not fixed, so I am using wild character (*) to poll for file. Example: DF*ABC1*.DAT where the first wild character denotes 1 letter and the second wild character denotes 2 digits.
    2. In the second step, if the file is found, I am moving the file to ODI file server path (../oracledi/demo/file). Here I have used ODIFileMove tool.
    3. Then I am using an ODI Interface to Load the file data into a Oracle database table.
    4. I am using a Process log table to keep the log for each step I am executing in ODI that is ODIFileWait, ODIFileMove, Interface etc. for each file. In this table a row needs to be inserted after ODIFileWait tool gets the file, with the File Name and File Date. Later on this row will be updated as the consequent steps are executed.
    Here is my concern, I need to get the exact File Name of the file after ODIFileWait gets the file and I need to insert that in the Process Log table after the ODIFileWait step gets a file. So if I can store the File Name in a ODI Variable, I can insert it into the Process log table at this point. This I am not able to do.
    The files are coming in a different directory (not in ODI file server path), So after getting the file it is moved to ODI file server path (../oracledi/demo/file)
    The Files which I am processing are fixed length format. Also, the File name and File Date is stored in the 1st Record(Header record) of the files.
    Kindly provide me suggestions to implement this in my code.
    Thanks and Regards,
    Anik
    Edited by: 809820 on Nov 10, 2010 11:36 PM

    Look at this link -http://odiexperts.com/getting-one-or-several-unknown-files-from-a-directory
    change the command to fetch the ls command and write into File and then using either java or jython break the data and fetch the file name and date and insert into log table.
    (or)
    you can use the os.system command and get the complete ls command into string and then process and insert it.
    Let us know if you need any other help.

  • Why do we need write access to Java installation Directory

    We are Upgrading from Siebel Analytics 7.8 to OBIEE 10.1.3.4.
    As OBIEE needs Java 1.5 or higher as a pre-requisite we are planning to uninstall Java 1.4 and install latest version of Java 1.5.
    According to OBI Installation and Configuration Guide http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf -> Page 39 "If you are installing using the Basic installation type, make the user or user group permissions
    writable for the user installing Oracle Business Intelligence, for all JDK 1.5.0 installation directories,
    subdirectories, and files". Can anybody let me know why we need write access to Java Installation Directory??
    Thanks,
    Chandra
    Edited by: user6086408 on Apr 5, 2010 3:07 PM

    I had this same question and asked Oracle. Here's what I was told:
    Per Dev:
    "For OBI Presentation Services and OBI Publisher, jdk fonts files are copied into the JDK location because we do not bundle our own JDK. To ensure the install can do this you need to ensure that the Oracle BI installer has permissions to copy files to the specified JDK location.
    This means that if the same user who installer/untarred JDK is also installing Oracle BI, the install should work. In this case the the permissions of the JDK is probably 755.
    It will not work if a root user installs JDK and a normal user installs Oracle BI because the normal user does not have access to write to the JDK location or will not work if the JDK location is read-only, i.e. 444. In this case running chmod -R 777 will work."
    Jerry

  • How to download Thai Font to Blackberry curve 8520

    My blackberry curve 8520, T-mobile network, ver 5.0.0.681 hasn't got Thai Font on it. I would like to download Thai font for reading and input (writing).please explain how to do it step by step because I do have not much knowledge about computer or software.  I have read some topics says that I have to download and choose the network provider which mine is T-mobile and it provides only Muli-language (not All Languages) which I can't write it (only reading). I am not too sure it is correct or not.I believe I need to download Blackberry desktop software as well. please also give advice on these software.

    Hi and Welcome to the Community!
    The simplest way is to, on a PC (you cannot do this on MAC):
    1) Uninstall, from your PC, any BB OS packages (add/remove programs, Uninstall a Program -- it depends on your Windows OS level)
    2) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/apps-software/desktop/?li​d=us:bboftwareesktopSoftware&lpos=us:bboftware
    3) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/downloa​d_sites.jsp
    If your carrier only provides a "Multi Language" package, then you may need to look at other carriers OS packages, and find some that have "East Asia" or "All Languages" ("Multi Language" indeed does not have Thai, as per this KB).
    4) If that OS package is from a carrier other than the carrier for which your BB was originally manufactured, then delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    5) Now launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC, and you should be able to select the languages you desire If, during the process, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    Don't forget to backup.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Number of files in unix directory

    Hi All,
    anyone can help me, how can I get the number of files in specific unix directory and number of files in each
    sub-directory inside that directory?
    Thank You

    Hi,
    Use the following program which will list the files on a unix system.
    Put/modify the logic for getting the file count. (play around)
    REPORT ZUNIXFILES MESSAGE-ID Z1
                      NO STANDARD PAGE HEADING
                      LINE-COUNT 65
                      LINE-SIZE  132.
    Global Variables.                                                   *
    DATA: BEGIN OF TABL OCCURS 0,
              LINE(2000),
          END OF TABL.
    DATA: PARCOM_LOC LIKE RS37A-LINE.
    DATA: SIZE(10) TYPE C,
          LINE     LIKE TABL-LINE,
          SUM(16)  TYPE C.
    DATA: FILE LIKE RS37A-LINE.
    DATA: PATH(255) TYPE C.
    Parameters.                                                       *
    SELECTION-SCREEN SKIP 2.
    PARAMETERS: PARCOM LIKE RS37A-LINE.
    *AT SELECTION-SCREEN.
    AT SELECTION-SCREEN.
      CONDENSE: PARCOM NO-GAPS.
    *TOP-OF-PAGE.
    TOP-OF-PAGE.
      PERFORM WRITE_PAGE_HEADING.
    *INITIALIZATION.
    INITIALIZATION.
      PARCOM = '/usr/sap/*'.               "Only default value
    *START-OF-SELECTION.
    START-OF-SELECTION.
      PERFORM MAKE_LOC.
      PERFORM COLLECT_DATA.
      PERFORM FILE_LIST.
    *AT LINE-SELECTION.
    AT LINE-SELECTION.
      CLEAR FILE.
      FILE = SY-LISEL+55.
      REPLACE '|' WITH SPACE INTO FILE.
      IF SY-LISEL+1(1) = 'd'.
         PATH = FILE.
         PATH+200 = '/*'.
         CONDENSE PATH NO-GAPS.
         SUBMIT ZUNIXFILES
           WITH PARCOM = PATH
           AND RETURN.
      ENDIF.
      SUBMIT ZBROWSEFILE            "Call the browse program
         WITH PARCOM = FILE
         AND RETURN.
    FORM MAKE_LOC.                                                      *
    FORM MAKE_LOC.
      CLEAR: PARCOM_LOC.
      PARCOM_LOC(7)    = 'ls -ld '.
      PARCOM_LOC+7(45) = PARCOM.
    ENDFORM.
    FORM COLLECT_DATA.                                                  *
    FORM COLLECT_DATA.
      REFRESH TABL.
      CALL 'SYSTEM' ID 'COMMAND' FIELD PARCOM_LOC
                    ID 'TAB'     FIELD TABL-SYS.
    ENDFORM.
    FORM FILE_LIST.                                                   *
    FORM FILE_LIST.
      FORMAT RESET.
      CLEAR SUM.
      LOOP AT TABL.
        CLEAR LINE.
        LINE = TABL-LINE.
        WRITE /2 LINE.
        PERFORM VERTICAL_LINES.
        SUM = SUM + SIZE.
      ENDLOOP.
      WRITE:/1(132) SY-ULINE.
    ENDFORM.
    FORM WRITE_PAGE_HEADING.                                          *
    FORM WRITE_PAGE_HEADING.
      WRITE:/1(132) SY-ULINE.
      PERFORM VERTICAL_LINES.
      FORMAT INTENSIFIED.
      WRITE: /2(131) SPACE COLOR 1.
      WRITE:  2    SY-DATUM COLOR 1.
      WRITE: 35 'File Manager' COLOR 1.
      PERFORM VERTICAL_LINES.
      WRITE:/1(132) SY-ULINE.
      PERFORM VERTICAL_LINES.
      FORMAT INTENSIFIED.
      WRITE: /2(131) SPACE  COLOR 3.
      PERFORM VERTICAL_LINES.
      FORMAT RESET.
      WRITE:/1(132) SY-ULINE.
    ENDFORM.
    FORM VERTICAL_LINES.                                              *
    FORM VERTICAL_LINES.
      PERFORM WRITE_VLINE USING ' '  1.
      PERFORM WRITE_VLINE USING ' '  132.
    ENDFORM.
    WRITE_VLINE.                                                      *
    FORM WRITE_VLINE USING MODE POS.
      IF MODE NE 'T'.
        FORMAT INTENSIFIED.
      ENDIF.
      POSITION POS.
      WRITE: SY-VLINE.
      IF MODE NE 'T'.
        FORMAT RESET.
      ENDIF.
    ENDFORM.

  • How to write a file into UNIX!

    Hi Group!
    I am trying to write an error file into UNIX directory using 'OPEN DATASET ERRFILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT'. But unfortunately i am getting a dump as it is giving the subrc 8 and dumping with CX_SY_FILE_OPEN_MODE.
    The path looks like /sap/DE1/batch/data/SCM_YM/partfiles/HGMEH011.20071001150344
    Is there any special command or way to write the file into UNIX?
    Quick response would be of great help.
    Suresh

    The detailed error is
    The file '&FILENAME&' was not opened, or was opened in the wrong mode.
    Can you please try to create a new file that does not exist.
    then we can check whether you have authorization or not.
    OPEN DATASET to a file already opened - in the same internal mode - triggers the exception.
    THtas why you just create a file with some rough name ( may be ur name) intially and then check.
    bye sasi

  • How to submit Thai font JSP

    Hi all,
    I can't submit Thai font in JSP page. I am using tomcat5.0 server and jdk 1.4.
    Can anyone write me, how can i do this.
    Thank You

    "Font"? Well, just because 0x0041 comes up with a Thai glyph for your font instead of an 'A', it's still 0x0041.
    If you're actually talking about characters: try to make sure that the JSP has the proper encoding defined.

  • Request Thai Font disply for Muvo C

    Hi
    I bought this product in thailand. I would like to update Thai font for LCD screen display. Are there
    any Thai font software that I can access it's If so,How can I get it's Help me, Pls. Thank you in advance.
    Sataporn

    star6 wrote:
    Hi?? I bought this product in thailand. I would like to update?Thai?font for LCD screen display. Are there any Thai? font software that?I can?access it's If so,How ?can?I get it's?Help me, Pls. Thank you in advance. Sataporn?
    Are you using XP? If you're using XP then all you need is change the regional setting in XP control panel to allow Thai language input. Then you can write your own thai words without other program.

  • How to check whether a file is present in the UNIX directory of app. server

    Hi,
            I am creating files in the UNIX directory in the application server using :
                       CONCATENATE '/sapmnt/RD1/interfaces/client670/'
                       p_fname '.CSV' INTO w_filename.
               OPEN DATASET w_filename FOR OUTPUT IN TEXT MODE.
              LOOP AT t_output1.
                      TRANSFER t_output1 TO w_filename.
              ENDLOOP.
             CLOSE DATASET w_filename.
    I am unable to check whether a file with the same name exists or not. How to check the duplicate state of the file.

    You can use the following fm
    RZL_READ_FILE
    or
    use OPEN DATASET FOR INPUT.

  • How to  add a folder in unix directory?

    how to  add a folder in unix directory?
    /usr/zz00/zz/mm/..
    i need one more folder
    /usr/zz00/zz/mm/addfolder/text.txt..

    No way with pure ABAP. Either contact your unix adminstration or create a logical system command in SM69/SM49 which can be called via call function 'SXPG_CALL_SYSTEM'

  • Create XML file on application server (unix directory) from internal table

    Hallo everybody,
    I have got the following problem:
    I am working with <u><b>release 4.6C</b></u> and have got to create XML files from HR master data and organizational data respectively.
    This takes place in 3 steps:
    1.     Collect the data in an internal table
    2.     Convert the data to XML format using the function module 'SAP_CONVERT_TO_XML_FORMAT'
    3.     Download the data
    If I download the converted data, which are in an internal table, to the presentation server via the function module ‘WS_DOWNLOAD’ and open it with the Internet Explorer, everything is ok.
    If I download the converted data to the application server, i.e. into a unix directory via
    ‘open dataset’, ‘loop at internal table, ‘transfer working area to file’, ‘close dataset’
    and then try to open it, this is not possible, because after the last tag some unreadable characters, e.g. a square, appear that aren’t supposed to be there. That’s what my colleagues told me, for I haven’t got access to the server.
    I have no idea where these characters come from and how I can get rid of them. I guess that either I have to modify (how?) the table with the converted data before the download or I have to use another way to convert the data. For the second way I would probably have to work with an XML class or an XML interface. Unfortunately I’I am not an expert in working with classes so sample coding would have to be rather detailed.
    Here’s some more information about how I work with the conversion function module:
      call function 'SAP_CONVERT_TO_XML_FORMAT'
           exporting
                i_field_seperator    = lv_field_seperator
               i_line_header        = lv_line_header
               i_filename           = lv_xml_file
               i_appl_keep          = ' '
                i_xml_doc_name       = lv_xml_doc_name
           importing
                pe_bin_filesize      = lv_result
           tables
                i_tab_sap_data       = gt_data
           changing
                i_tab_converted_data = lt_tab_converted_data
           exceptions
                conversion_failed    = 1
                others               = 2.
    lv_field_seperator = ‘X’.
    lv_xml_doc_name = ‘Personalstammdaten Publikation’
    lv_result: type i
    gt_data: fields: PERNR, PERSG, PERSK etc.
      types:
      begin of truxs_xml_line,
        data(256) type x,
      end of truxs_xml_line.
      types:
      truxs_xml_table type table of truxs_xml_line.
    data:
    lv_tab_converted_data type truxs_xml_line,
    lt_tab_converted_data type truxs_xml_table
    open dataset lv_xml_file for output in binary mode.
    loop at lt_tab_converted_data into lv_tab_converted_data.
      transfer lv_tab_converted_data to lv_xml_file.
    endloop.
    close dataset lv_xml_file
    lv_xml_file: /usr/users/.../.../Personendaten_2004-11-02.xml
    Hope the information is detailed enough! Otherwise let me know. Thank you in advance.
    Message was edited by: Johannes Schwehm

    Hi Raja,
    tried the "TEXT" mode, but that didn't help.
    There are still characters after the last tag, that are not supposed to be there including a date that is not
    the creation date of the file.
    Thank you for your help.
    Regards
    Johannes

  • Get_file_list to list content of UNIX directory

    Hi all
    I am trying to list the files in a UNIX directory using the get_file_list action. Not getting anything back, but action is not reporting error.
    In the folder configuration box i have used all combinations of \ and / but none do anything. I can list files on our Mii server using
    server\share but this is a windows machine.
    I think i have a couple of options
    1. get FTP set up on UNIX server and use the FTP_get_file_list action and move files to Mii server for processing.
    2. get something like SAMBA set up on UNIX to allow windows style file sharing.
    Any other ideas out there?

    Hi Les,
    Set the "Get_File_List_0" with the following parameters:
    Folder: "web://PROJECT"
    Mask: "*" for list all files
    http://wbhelp.sap.com/manufacturing/xmii_120/en/44/7108DF9EA03ABEE10000000A155369/content.htm (for more details)
    Or use a XMLQuery
    server://XMII/Catalog?Mode=ListFolders&Folder=[Param.1]&Content-type=text/xml
    [Param.1] = PROJECT
    Hope this help.
    Danilo Santos

  • Getting list of files from Unix directory inclding files frm sub-directries

    Hi All,
            I am trying to use Fm 'SUBST_GET_FILE_LIST'  and
    'RZL_READ_DIR_LOCAL' for getting a list of all files in a Unix directory including files from sub-directories.
    In the first case I am getting an Exception called 'Access Error'
    and when I use the 2nd FM, I am not getting any output.
    Is there a special way to use these FMs.
    Kindly help.
    Regds,
    Shweta

    [url http://java.sun.com/developer/JDCTechTips/2003/tt0122.html#1]READING FILES FROM JAVA ARCHIVES (JARS)

Maybe you are looking for

  • I am trying to order a card made in iPhoto and it stalls at the upload process.

    I am trying to order cards made in Iphoto on my MacBook Pro and it keeps stalling at the upload.  My internet connection is working so I don't understand why it isn't working.  Any suggestions>

  • Torch 9860 headphones not working

    the headphones on my torch 9860 do not mute the phone and play, so cannot listen to music. They did work but have stopped, headphones are fine on other devices, and i can not find a setting on the phone that might have changed

  • Aspect ratio list

    I thought I posted this question a while ago, but can't find it... If 854x480 is a 16:9 ratio, what's the next one down, and the next one after that, etc? I'm trying to get a good file size for exporting to the web so I need to experiment with a few

  • Edit/delete/insert forms using php

    Hi, I have created an application that will allow me to edit/delete/insert data to my database using php. The functions work. But when I click on a tab i get an error like this: ypeError: Error #1009: Cannot access a property or method of a null obje

  • INTEGRATION_CIRECTORY_HMI

    Hi, My INTEGRATION_DIRECTORY_HMI  RFC dest is not working.. as somebody has specified a different user..now when i specify PIISUSER it asks me pwd..how can i get this pwd for PIISUSER also what path prefix do i need to give when recreating this INTEG