Converting English Name into Chinese(China Chinese).

Hi All,
Can anyone say how I can Convert a name in English
say "xyzabc" into Chinese and display it.
Thanks for all for looking in advance.

hi,
By wat I understand u mean to translate or have an equivalent text in chinese.
for the purpose create a properties file for the chinese locale where u can translate this name into unicode japanese characters.
Specify the supported locale.
create a ResourceBundle class with the base class and resource bundle class.
Fetch the localised text at the end.
In case you are looking for some more details check the ResourceBundle API and documentation
Khurram

Similar Messages

  • Convert English fonts into hindi and tamil

    My swing application consists of labels being displayed in english.
    The application has four versions : Tamil ,Telugu,English and Hindi .
    Since its an transaction software as like ATM , I just want to change the fonts alone .
    I did go through the internationalization concept , But it rather needs a translation .
    What other ways are there to implement other than maintaining a properties file..

    So, is there a way to convert the font into vector patch using Adobe reader X pro?
    Not possible with Adobe Reader and not possible with Adobe Acrobat.

  • Convert MIDlet Name in Chinese using Netbeans 5.5

    Hi,
    I am using net beans 5.5 and I want to convert my midlet name into chinese, can anyone have solution to this problem, please suggest any solution.
    Regards

    Is it specified that this actually works?

  • Problem in converting english into spanish

    In one of our POC i need to create a custom workflow and calling it from HTML page.
    I did that by making a self registration workflow and put it under "..user/anonlogin.jsp"
    and then by some minimal customization i called it using link referrence "http://localhost:8080/idm/user/anonProcessLaunch.jsp?id=Self+Registration"
    it is working fine
    Now my problem is that i need to show the form according to the language store in the user session from HTML page.
    Now when i first go to "http://localhost:8080/idm/user/login.jsp" and then go to self registration page it converts the whole page into desired language preferrence but when i directly hit the url "http://localhost:8080/idm/user/anonProcessLaunch.jsp?id=Self+Registration" it doesn't convert my English language into spanish language which i hardcoded into process launch.jsp using
    form.setPostURL(response.encodeURL("user/anonProcessLaunch.jsp?lang=es " + "&cntry=US"));
    Please suggest the alternate way or where me miss in my way .
    Thanks a lot

    Ok , that is clear the customer has another query. He is trying to convert a pdf Arabic file into word formate but it is showing arabic font which is not in a proper form.i am attaching the print screen .

  • Can LR Web module converting file name hyphens into underscores be disabled

    Hi,
    I have problems when creating webpages from within LR.
    First I develop the RAW files and converts them to jpegs. Under Lightroom 3 I use the following settings under "Export location":
    Export to: Specific Folder
    Add to This Catalog: ticked
    Existing Files: Choose a new name for the exported file
    This is thus native Lightroom. For existing files the new filenames are generated with a hyphen follwed by a numeric suffix. as follows: for FileName.jpg this would be FileName-2.jpg, FileName-3.jpg.
    Afterwards I use the web module with the TTG Highslide Pro plugin to generate the webpages. For each image on the page there is a link to the original image to download it. It is here where a problem occurs. With the above mentioend naming convention (adding a hypen when files do already exist) there is no problem at all to display the photos nor as a tumbnail, nor in the slideshow.
    When trying to download the high resolution image however a problem occurs. The file can't be found. This is due to the hyperlink pointing to filenames like FileName_2.jpg and FileName_3.jpg. As the image itself is having a hyphen followed by a numeric suffix it can't be found when the link is pointing to that file using an underscore instead.
    So to me that's a little problem as I am not at the steering wheel at any of the two moments where a naming convention is applied; the automatic filename generation at time of export from Lightroom and the change of the hyphen to the underscore when generating the webpage.
    Any Idea how this can be solved? Or having an underscore used by the automatic naming in Lightroom, or using the hyphen (leaving the filename as it is) when generating the webpage with the LR web module.
    I posted that question already at the TTG forum and got the following respnse from Matthew: "Lightroom's Web module converts file name hyphens into underscores. It's not something I have any control over at all."
    Any help would be appreciated.
    Kind regards,
    Patrick

    I have the same problem in that filenames created with (for instance) photographer-place--year_month_day-filename.cr2 are exported by Lightroom 3.4.1 correctly, without change, into jpg versions, but TTG Highslide Gallery Pro (or, rather, Lightroom) forces a conversion eliminating the dashes and replacing them by underscores. TTG states on its website that this is unavoidable in the Lightroom web module, and recommends entering one's wishes in the "File Handling" tab within Lightroom Preferences.
    However, my LR preferences include the standard File Name Generation option "Replace illegal file name characters with: Dashes (-)" so this would indicate that a dash is not regarded by Lightroom as illegal and therefore should be left alone. As is in fact the case on a normal export from a raw cr2 to jpg: no change in Lightroom and therefore no problem. But export via LR via TTG causes an unwanted conversion from dashes to underscores.
    While searching the web I came across this old post http://thephotogeek.com/ttg-web-gallery-client-selections-lightroom/
    which mentions the question as a LR2 bug.
    I then exported a web gallery using LR's standard web template and here too all file names are converted from dashes to underscores, despite what is entered in LR's preferences. So my conclusion is that this remains a LR bug, and no fault of TTG.
    I am delighted with TTG and couldn't do without it, but am still stuck with this issue which shouldn't need to be an issue at all, if only LR would leave things alone.

  • I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns

    I want to convert a series of names into a table (in either numbers or pages). The list I have has a name and then an email address in brackets, followed by a 'yes' or a 'no'. I would like to separate the list into three columns - the first containing the name, the second containing the email address and the third containing the 'yes' or 'no'.
    Can you help me ?

    The question that needs to be answered is what is separating the columns? Is it a single tab, one or more tabs, spaces, or what?  Or is it the brackets that makes the separation between the three pieces of data?
    If it is always a single tab, that makes it really easy.  All you have to do is find/replace the brackets with nothing (as Wayne said)
    If it might be multiple tabs, you can find/replace tab-tab with a single tab and repeat that a few times until no more double-tabs are found.
    If it is one or multiple spaces, that might be difficult. I'll think about this one if this is what you have. I'll ignore this possiblility for now.
    If it is the brackets separating the three pieces of data, you would Find/Replace the left bracket with a tab then do the same with the right bracket.

  • How to convert a string into an objects name?

    Hi
    I have the following problem;
    I have a string
    String a = "e1"
    and a method
    call(Event e1) that calls the "Event" class with object the name of the string a.
    How can I convert the strings name into an object so as to use it in the "call" method?
    Any ideas?
    Thanks in advance

    I don't know if this helps you, but you can do things like this.
    String a = "com.example.SomeEvent";
    //Instantiate com.example.SomeEvent
    Object o = Class.forName(a).newInstance();SomeEvent must have a non-argument constructor for this to work.
    Class that will be instantiated depens on runtime value of String a, and can be different across different executions of the program.

  • How do I convert visa resource name into string?

    Could please anybody help? I have an ergent need. How do I convert visa resource name into string?
    Thank you in advance.

    Most times you do not need to convert it. Just wire it stright into what ever string input.
    See "Format Into Srting" or "Type Cast" functions
    Omar

  • Mac OS 10.5.2 English Version can't identify Chinese font when I access OWA

    I have a question that is Mac OS 10.5.2 English Version can't identify Chinese font when I access Microsoft OWA. (OWA version is 2003)
    When I access Microsoft OWA, I can see English fonts very well.
    But I will see Chinese fonts as ??? and I can not see them at all.
    I have tried solutions below:
    (1) Install Firefox 2.0.X and Internet Explorer 5.2.2 but still can not see
    Chinese fonts at all.
    (2) I change the text encoding to BIG-5 code or UTF-8 but still invalid.
    Is there anything I can do??

    Is there anything I can do??
    What is the result with Safari?
    Try FireFox 3 beta:
    http://en.www.mozilla.com/en/firefox/all-beta.html
    Try Opera:
    http://www.opera.com/
    With all browsers make sure you try all Chinese encodings (Traditional Big 5, Traditional Windows, Simplified GB 2312, Simplified GB 18030) plus UTF-8 and (if available) UTF-16.
    Also you might ask on the Chinese Mac mailing list:
    http://groups.google.com/group/chinesemac/
    Is there a MS forum on Outlook Web Access where you can ask?

  • Convert  multiple rows into single rows for the respective index name

    Dear Experts,
                             I want to convert  multiple rows into single rows for the respective index name,
                            Here is my query.
    SELECT user_tables.table_name, user_indexes.index_name, user_ind_columns.column_name
    FROM user_tables
    JOIN user_indexes on user_indexes.table_name = user_tables.table_name
    join USER_IND_COLUMNS on USER_INDEXES.INDEX_NAME = USER_IND_COLUMNS.INDEX_NAME
    where user_indexes.index_name not like '%PK%' AND user_ind_columns.column_name NOT LIKE '%SYS%'
    ORDER BY user_tables.table_name,user_indexes.index_name;
    Result of previous query
    TABLE_NAME
    INDEX_NAME
    COLUMN_NAME
    T1
    IDX_ACCNTYPCFG1
    ENABLE_SERVICE
    T1
    IDX_ACCTTYPCFG1
    ACC_CODE
    T1
    IDX_ACCTTYPCFG1
    ACCTYPE
    T2
    IDX_ACCTTYPCFGAPP1
    ACCTYPE
    T3
    IDX_ACTLG1
    MOBILE_NO
    T3
    IDX_ACTLG1
    ID
    Desired output required is
    TABLE_NAME
    INDEX_NAME
    COLUMN_NAME
    T1
    IDX_ACCNTYPCFG1
    ENABLE_SERVICE,ACC_CODE,ACCTYPE
    T2
    IDX_ACCTTYPCFGAPP1
    ACCTYPE
    T3
    IDX_ACTLG1
    ACCTYPE,MOBILE_NO
    please help.

    Maybe
    with
    user_tables as
    (select 'T1' table_name,'IDX_ACCNTYPCFG1' index_name,'ENABLE_SERVICE' column_name from dual union all
    select 'T1','IDX_ACCTTYPCFG1','ACC_CODE' from dual union all
    select 'T1','IDX_ACCTTYPCFG1','ACCTYPE' from dual union all
    select 'T2','IDX_ACCTTYPCFGAPP1','ACCTYPE' from dual union all
    select 'T3','IDX_ACTLG1','MOBILE_NO' from dual union all
    select 'T3','IDX_ACTLG1','ID' from dual
    select table_name,
           case index_name when 'IDX_ACCNTYPCFG1' then 'IDX_ACCTTYPCFG1' else index_name end index_name,
           listagg(case column_name when 'ID' then 'ACCTYPE' else column_name end,',') within group (order by null) column_name
      from user_tables
    group by table_name,case index_name when 'IDX_ACCNTYPCFG1' then 'IDX_ACCTTYPCFG1' else index_name end
    TABLE_NAME
    INDEX_NAME
    COLUMN_NAME
    T1
    IDX_ACCTTYPCFG1
    ACCTYPE,ACC_CODE,ENABLE_SERVICE
    T2
    IDX_ACCTTYPCFGAPP1
    ACCTYPE
    T3
    IDX_ACTLG1
    ACCTYPE,MOBILE_NO
    Regards
    Etbin

  • I have change my phone language to english. but the phone shows chinese language in the internet pages and with call details. how to change it. why is this occuring?

    i have change my phone language to english. but the phone shows chinese language in the internet pages and with call details. how to change it. why is this occuring?

    If the phone is not unlocked, let's say for example it is locked to another carrier such as at&t, when you put in the Tmobile SIM in, the phone would complain about the SIM.
    Does your phone do that? If yes, then the party that sold you the iPhone4S (if you purchased it from another person) may have not done the unlocking properly, and that may explain why Tmobile is insisting on the phone being locked.
    If you purchased your iPhone4S new from Apple, did you pick Tmobile, or did you choose unlocked?
    If you picked the Tmobile choice, then it should come up ready to use.
    If you picked the unlocked choice, then you would need to visit Tmobile to purchase a nano-SIM and usually they should be more than willing to help you, since you're paying for their service.
    But as you have indicated, this phone is under AppleCare, so if it doesn't work with a supposedly good Tmobile SIM, the quickest way to fix this is to get a replacement phone. When we troubleshoot we always try the least time consuming methods first.
    You may have noticed it, that a good number of unfortunate uses of the iPhone4S have had their wifi become strangely disabled after upgrade to iOS7. Your situation is the reverse, your wifi is useable but not your cellular network.
    In the mean time, you can apply for a Google Voice account (see http://www.google.com/voice), and obtain a free North American telephone number. You can then download one of many free Google Talk applications. Set it up, and you will be able to call and receive phone calls using your wifi. This would be just for the transition period before you get a useable phone.
    Google voice provides average voice quality calls to and from US & Canada numbers for free for 1 hour per call. You can use this as a temporary work around while you are waiting for your replacement phone.
    Cheers!

  • Convert English to Thai Language

    Hi everyone.
    Is there anybody know how to convert English word to Thai ???
    I very tired searching and asking.
    Let say I want to convert a name Uthit to Thai.
    Any one who expert or Thai people.
    Thanks
    Regards
    hairi

    Once more, don't call it translation. It will only confuse the issue (and everybody trying to help you).
    The code you post has to do with yet another concept, that of character encoding conversion from one encoding to another. Two issues with that code:
    1. It will not work correctly for conversion from one encoding to another because it attempts to convert between incompatible encodings (do not cover the same character set). And ISO8859-7 covers Greek, as far as I know, so I don't know why that would be useful in connection with Thai.
    2. It will never do any kind of transcription or transliteration.
    But since you now bring encoding conversion into the mix via your code example I am in doubt again about what you want to do. And it looks as if you don't understand the various terms used with respect to this whole internationalization area. That makes it difficult to help you.

  • Report for converting the documents into the PDF format.

    Hello Experts,
    I need to know if any report/ T-code is available in SAP to convert the files into  PDF format.
    We are processsong these PDF's then into IXOS system.
    Regards,
    Anna.

    Hello ,
    You may check with the below programs:
    Program name                   Report title
    RSTXCPDF                       Routines for Converting OTF Format to PDF Format
    RSTXPDF2                       Administration/Upload of type 1 and TrueType font files
    RSTXPDF3                       Customizing for OTF-PDF Conversion
    RSTXPDF4                       Help Report from CONVERT_OTFSPOOLJOB_2_PDF
    RSTXPDF5                       Help Report from CONVERT_ABAPSPOOLJOB_2_PDF
    RSTXPDFT                       Test report for PDF conversion - converting standard texts to PDF
    RSTXPDFT2
    RSTXPDFT3                      Test
    RSTXPDFT4                      Convert SAPscript (OTF) or ABAP Lists Spool Job by PDF
    RSTXPDFT5                      Test: GUI Download of Spool Request
    Regards
    Ramesh Ch

  • Converting binary data into pdf and placing into application server

    Hi Friends,
    I am able to get PO details in binary format and then using GUI_DOWNLOAD  with file type with 'bin' and file name with 'sample.pdf' extension , got  PO in pdf  format.
    But i need to get with pdf extension in application server without using GUI_DOWNLOAD.
    Is there any functional modules for it?
    With Warm Regards,
    Madhu!!!

    Hi Madhu,
    Check this code.
    *& Report  ZSPOOLTOPDF                                                 *
    *& Converts spool request into PDF document and emails it to           *
    *& recipicant.                                                         *
    *& Execution                                                           *
    *& This program must be run as a background job in-order for the write *
    *& commands to create a Spool request rather than be displayed on      *
    *& screen                                                              *
    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '[email protected]',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    Hope this resolves your query.
    <b>Reward all the helpful answers.</b>
    Regards

  • Entry of non-English characters into the db

    Hi
    We are facing a problem in inserting non-English characters into the database.For example, we have a company name field which can accept German characters. This field has been defined as of varchar2 type of size 50 in the db. When we enter 49 English characters and then one German character, the database is throwing the error that the inserted value is too large for the column.Is it that the German character is taken as equivalent to two English characters ? Or is there any database level setting that can be done for this ? For the time being we have identified certain critical fields and have doubled the size of their fields in the db. But I guess there has to be another solution to this....
    Please help.
    null

    Indeed, your German character is using two bytes to store itself. Consult the Oracle JDBC Developer's Guide.
    null

Maybe you are looking for

  • Dunning Letter Print being submitted with wrong language

    We have two German operating units. When we run the Dunning Letter Generate program it will then submit the Dunning Letter Print program. For one of our German OU it submits the letter program correctly using the German language but for the other Ger

  • Split Charging for PO-Framework Order with Item category B- Blank Item

    Hi, how can i make the system split the qty percentage/charging  for Framework Order ,Charge to Project and Item Category of B- Blank item during PO creation/change. This functionality is behaving normal for  a standard PO charge to P and item catego

  • 8830 - tethering capability does not work after os upgrade

    I upgraded the software on my 8830 world edition from 4.2.2.176 to 4.2.2.196 to increase functionality of business use.  The tethering capability that i had with the previous version of software does not work.  Installed newest version of VZAccess Ma

  • Required assistance in ALV filter

    Hi Experts, I am not very good in ALV's I have an issue with REUSE_ALV_GRID_DISPLAY function module.The issue is on the initial output if I select the 1st field BOM Header and click on filter it is working fine.I am getting a selection screen and if

  • Using one keyboard and mouse with two computers

    I have just bought a 27" iMac and have connected my MacBook to it via the DisplayPort. When using the iMac as an external display for the MacBook I want to be able to use my iMac keyboard and mouse to control. What is the best way of doing this, as I