Obsolete -Translate

Hi,
For Translate obsolete statements the following Function modules are used in ECC6.0 and also what is code page and number format..
TRANSLATE...CODEPAGE needs to be changed to  Methods of classes:
CL_ABAP_CONV_IN_CE  
CL_ABAP_CONV_OUT_CE
CL_ABAP_CONV_X2X_CE
TRANSLATEu2026NUMBER FORMAT needs to be changed to  Methods of classes:
CL_ABAP_CONV_IN_CE  
CL_ABAP_CONV_OUT_CE
CL_ABAP_CONV_X2X_CE
And also Some variants of the TRANSLATE statement are not allowed in Unicode programs AND their functions are replaced with methods of the conversion classes..What is the solution for this....
chandra.
Edited by: Chandramohan2501 on Nov 19, 2009 12:18 PM
Edited by: Chandramohan2501 on Nov 19, 2009 12:18 PM

Hi,
    Use REPLACE ALL OCCURRENCES OF syntax
SELECT * FROM znoga23.
REPLACE ALL OCCURRENCES OF '@'  IN znoga23 WITH ' '. " give space with (ALTKEY+255) ASCII for space
MODIFY znoga23.
ENDSELECT.
Regards
Bala Krishna

Similar Messages

  • TRANSLATE, Obsolete.. how to update?

    How do i update this code....
    TRANSLATE znoga23 USING '@ '.

    Hi,
        Use REPLACE ALL OCCURRENCES OF syntax
    SELECT * FROM znoga23.
    REPLACE ALL OCCURRENCES OF '@'  IN znoga23 WITH ' '. " give space with (ALTKEY+255) ASCII for space
    MODIFY znoga23.
    ENDSELECT.
    Regards
    Bala Krishna

  • Alternate of  'Translate Codepage' in ECC 6.0

    Hi Guys, 
    I am having problem with the syntax of the below statement
    TRANSLATE itab  TO  CODE PAGE P_PCODE
    where
    P_PCODE containscodepage value  for UNIX file system I guess.
    and ITAB is
    DATA: BEGIN OF ITAB OCCURS 0,
            RECTYP(1) TYPE C,
            DATA(1000) TYPE C,
         END OF ITAB.
    I found that it is obsolete in ECC 6.0 and I am supposed to use the class CL_ABAP_CONV_OUT_CE  and the method CONVERT_STRUC
    But when I import the signature of this method to pass the parameter I can not make out which parameter to pass.Can you suggest on this. Reward points guaranteed.
    CALL METHOD me->CONVERT_STRUC
      EXPORTING
        DATA            =
        VIEW            =
    IMPORTING
       BUFFER          =
       TRUNCATION_FLAG =
    This is signature of this method ( I am avoiding the try n catch part)
    If you have any alternate solution please suggests.

    Hello Anid,
    Did you read the documentation of the class  cl_abap_conv_out_ce?
    The usage of the method to convert codepages of structures is described including this code sample:
    DATA:
      BEGIN OF struc,
        text(5) TYPE c,
        int TYPE i,
      END OF struc.
    DATA:
      buffer TYPE xstring,
      conv TYPE REF TO cl_abap_conv_out_ce,
      view TYPE REF TO cl_abap_view_offlen.
    view = cl_abap_view_offlen=>create_legacy_view( struc ).
    conv = cl_abap_conv_out_ce=>create(
                                encoding = '0120'
                                endian = 'B' ).
    struc-text = 'Abc12'.
    struc-int  = 65538.
    conv->convert_struc( EXPORTING data = struc
                                   view = view
                         IMPORTING buffer = buffer ).
    I think this should be adaptable to your question.
    best regards,
    Sven

  • Parameter LOG_ARCHIVE_DEST destination string cannot be translated

    Hi,
    After change in spfile and restart to mount mode, I got the error. (System is RH EL4.0 Oracle 10g)
    SQL> startup mount
    ORA-32004: obsolete and/or deprecated parameter(s) specified
    ORA-16032: parameter LOG_ARCHIVE_DEST destination string cannot be translated
    ORA-07286: sksagdi: cannot obtain device information.
    Linux Error: 13: Permission denied
    Another try from pfile which was in sync with spfile, I got
    SQL> startup pfile=/u01/app/oracle/product/10.1.0/Db_1/dbs/initorcl.ora
    ORA-32006: LOG_ARCHIVE_START initialization parameter has been deprecated
    ORA-16032: parameter LOG_ARCHIVE_DEST destination string cannot be translated
    ORA-07286: sksagdi: cannot obtain device information.
    Linux Error: 13: Permission denied
    In the init.ora file, the parameters looks OK. And I can cd to the location from unix console. What can be wrong?
    *.log_archive_dest='/home/oracle/backup'
    *.log_archive_format='arch_%t_%s_%r.arc'
    *.log_archive_start=TRUE
    The 3 commands I've issued before shutdown are:
    SQL> alter system set log_archive_format='arch_%t_%s_%r.arc' scope=spfile;
    System altered.
    SQL> alter system set log_archive_dest='/home/oracle/backup' scope=spfile;
    System altered.
    SQL> alter system set log_archive_start=true scope=spfile;
    System altered.
    SQL> create pfile from spfile;
    File created.

    Linux Error: 13: Permission deniedWhat user is owner of the oracle processes?
    If it is oracle:dba then check whether /home/oracle/ and /home/oracle/backup is have appropriate ownership and rights

  • Obsolete statements in ecc and higher

    can anybody tell me about the obsolete statements that are caught by transaction code uccheck<i><b>(such as open data set,concordinate,translate)function modules ws_upload ws_download</b></i>)

    Hi,
    Check these links,
    Hope this helps,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb33cc358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb3294358411d1829f0000e829fbfe/content.htm
    Regards,
    Pritha.
    Reward points if helpful.

  • Translation pattern not matching

    Hello All
    I am configuring a cucm 4.2 (yes i know its obsolete) integration with Lync 2010 and am having issues with a translation pattern.
    The Lync server is sending me 86xxxxxxxxxx for calls within china and will send 61xxxxxxxx for australia (strips the +)
    I have configured a [^86]! which should match any international numbers (other than China) and be prefixed and sent to the gateway. Here is the wiered thing I can dial +44xxxxxxxxxx using my lync client which proves that this is matching (when i delete the translation the call will fail).
    But when i dial a number like +61xxxxxxxx it doesnt get through and i get
    Cisco CallManagerDigit analysis: match(pi="1",fqcn="", cn="removedbymyself", plv="5", pss="LYNC:PT_Reception", TodFilteredPss="LYNC:PT_Reception", dd="61xxxxxxxx ",dac="0")
    Cisco CallManagerDigit analysis: potentialMatches=NoPotentialMatchesExist" on the traces.
    The LYNC partition has the translation rules. and the CSS assigned to the sip trunk has access to it. the CSS configured in the translation rules is the also the one assigned to the sip trunk.
    Anyone see this sort of thing before? how can i check if there is another transformation taking place?
    Only way i get round is to put a translation patter for " ! " and it works for all international calls.
    Thanks,

    Hi,
    Have you tried testing the call with Dialed Number Analyzer? I find that's a fantastic and often-overlooked tool for this kind of issue. If DNA shows the call will not route, it's probably a CSS issue for the Stafford gateway. If DNA shows the call will route, then it's probably a dial-peer issue on the Stafford gateway.
    -Jameson

  • Request to let me know replacement command for the Translate command.

    Hi,
    Code Inspector show that Translate command is obsolete. please let me know the alternate command to be used for the Translate.
    Thanks & Regards,
    Madhuri.

    Hi,
    no alternative command for translate , use set language before using the translate command .
    Regards
    Appana
    Check this :
    TRANSLATE c TO UPPER/LOWER CASE: Additional Information
    Variants:
    TRANSLATE c TO UPPER CASE.
    TRANSLATE c TO LOWER CASE.
    The way in which the TRANSLATE statement works depends on the R/3 logon language. In general, users log on to the R/3 System in the same language as that in which the data they want to edit was created. Logging on in the wrong language causes loss of data, unless a conversion has been defined to deal with a different language environment.
    For example, if German umlauts are processed in a Russian environment, the TRANSLATE statement returns a '|' for an 'ö' and a '¶' for a 'Ö'. Such discrepancies occur in particular:
    If the wrong language environment has been set inSET LOCALE LANGUAGE
    If the user edits data that was not written in the logon language (without using SET LOCALE LANGUAGE)
    If, for example, the data to be converted is stored in a structure struwith the language key languand the text field text, then you can work round the problem in one of two ways:
    Example
    DATA: BEGIN OF stru,
            langu TYPE sy-langu,
            text  TYPE sy-xcode,
          END   OF stru.
    SET LOCALE LANGUAGE stru-langu.
    TRANSLATE stru-text TO UPPER CASE.
    SET LOCALE LANGUAGE SPACE.
    This solution ensures that every conversion is made in the appropriate language. If struis an internal table, it should be sorted beforehand, to reduce the number of times the system switches between languages. Depending on the table's range, this can substantially reduce processing time, since SET LOCALE LANGUAGE has a long processing time. The runtime is similar to the runtime for SQL statements.
    Example
    IF stru-langu = sy-langu.
      TRANSLATE stru-text TO UPPER CASE.
    ELSE.
    ENDIF.
    The above solution ensures that only texts created in the logon language are edited. If you want, you can bundle all other text lines in another internal table using COLLECT and then convert them using the first solution above.
    Note
    It is important to reset the language explicitly using SPACE, since SET LOCALE LANGUAGE also changes the system field sy-langu. Note also that a language key may not be meaningful, or a language may not be installed correctly, or you may not be able to edit data from a specific application server. In these special circumstances, the following function modules can be used:
    SCP_MIXED_LANGUAGES_1_INIT
    SCP_MIXED_LANGUAGES_1_SWITCH
    SCP_MIXED_LANGUAGES_1_NORMAL
    SCP_MIXED_LANGUAGES_1_FINISH

  • Own ZCX Exception Class, how to translate

    Hi,
    i've written my own ZCX_XYZ exception class. On the tabstrip "Texts" i've entered some texts, but how can i translate those texts? When i'm going to Goto/Translations i'm just getting empty object list...

    Thanks for investigating again. Using SE63_OTR i'm getting the message that this is obsolet and i have to use SE63.
    To make things more clearer i made some screenshots.
    <a href="http://666kb.com/i/atri3x4ib1uryogzr.png">Class with Attributes</a>
    So i have a class ZCX_FTP, the superclass is CX_DYNAMIC_CHECK, and i have an attribut which was generated automatically with the same name of the class.
    The texts are as follows:
    <a href="http://666kb.com/i/atri6gk1z8qn3ff9j.png">Defined Text</a>
    So now i'm going to SE63 (BTW are these texts otr short texts or long ones?), entered the ID and pressed Edit:
    <a href="http://666kb.com/i/atri82j1b5x02q7ev.png">SE63 with ID</a>
    I'm getting Object does not exists....
    Logging on with different language might be a workaround with de/en, but i have some difficulties navigating inswedish, greek, france and half a dozen more languages. On the other hand, i do not want to hand over the source texts to those who translates the texts. I'm really lost in this and cant find online help/documentation dealing with this.

  • Guided Procedures Translation

    Hi all.
    I´ve been trying to translate a Guided Procedure and I have follow this SAP Help: http://help.sap.com/saphelp_nw04s/helpdata/en/cd/c55342eaeab330e10000000a155106/frameset.htm
    I have follow these steps, but I don´t see the GP translated.
    Does anybody can imagine why?? Is this () issue related?? If yes: Where is this configtool??
    Thanks a lot.

    Closed: Obsolete...

  • Currency Translation on Key Date for AR Aging

    Need your valuable advice!
    I have created an AR Aging query including both Open and Cleared Items based on 0FIAR_C03_Q0005 standard query. However the requirement is to do currency translation to Group Currency (USD) on Key Date. This Key date is defaulted to today but the user can change this to go back in time and pull all the ARs as of that back dated key date.
    I was planning to create a currency translation type on M rate based on the Key Date Variable in RSCUR. However I am confused on which variable to base this currency translation. I have several key date variables in my query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date).
    Which Key Date Variable should I use in 'Time Reference from Variable' field in RSCUR? Would it be one of the 3 mentioned above or something else and why?
    Appreciate your valuable advice.
    Thanks,
    Al

    Hi,
    Yes I do want to use the Key date from the variable screen and I am using the standard 0FIAR_C03_Q005 with slight modification including currency translation.
    As I mentioned in my original post I have several key date variables in this query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date). My question is which one should I use if I want to base it on the specific key date variable from the variable screen? I need the specific Key Date variable technical name.
    Thanks,
    Al

  • XML Publisher report - Number translation in Italian

    While i am Doing an XMl publisher report in english and Italian Languages i am facing an issue with the Dot translation.
    For eg: 4.5 is translated to 4,5 in Italian.This creates a problem for me when i am doing summary on this column.So how should i handle in case italian.

    better to ask this question in the BI (XML) Publisher Forum: BI Publisher

  • No Unicode Translation Error

    Hi All,
    I am getting the following error while running a report in Answers tool.
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46115] No Unicode translation is available for some of the input characters for MultiByteWideChar(). (HY000)
    I am seeing this error on my local windows desktop. The database is oracle 10g.
    The error is not very consistent. Sometime it works and then it fails because of the above error. Not sure what is causing it.
    thx,
    Bejoy
    Edited by: bejoy.nair on Sep 1, 2009 9:00 AM

    I am also receiving the same error, but from within Answers. It occurs occasionally, depending on what fields I select. I am trying to narrow it down to a field and field type. I am using OBIEE 10.1.3.4.0 and Oracle 11g.
    Any help would be appreciated.
    Thanks,
    Anne

  • Media Encoder CC 2014.0.1 error on install: I can't unpack the downloaded files (translation).

    I have troubles with the latest update of Media Encoder CC (2014). I get an error which says: I can't unpack the downloaded files (translated from Dutch). Please try again. I try again, but it don't help. I have a MacPro early 2008 with Mavericks.
    =======================================
    Moderator moved thread from Premiere Pro forum to AME, and trimmed the title.

    Looks like one component in Media Encoder is either missing or corrupted somehow.
    Could you uninstall Adobe Media Encoder CC 2014 and please make sure all files are deleted after uninstall?  Then, please try re-installing it.

  • Sapscript translated in non-english language - Garbled output as Email

    Hi Experts,
    I've translated a SAPscript  to Chinese and Thai language.
    As per my requirement, the output can either be printed, emailed or faxed.
    I'm using the standard include  RVADOPFO for Open form.
    For the english version, I'm able to recieve the properly formatted e-mail output.
    However in case of thai and chinese, the Thai and Chinese characters do not appear. Most of them are substituted with blank spaces and some are substituted with boxes and unknown characters. However, the numbers and english characters appear.
    Please help in getting the correct output.
    Thanks!
    Nitya.

    Hi,
    SAP 141343. PDF Conversion: Latin-2.
    SAP 141901. Customer-specific fonts for PDF conversion.
    SAP 163266. PDF conversion: character set for softfonts.
    SAP 171698. SAPconnect: Formats, conversion, device type.
    SAP 317851. Creating PDF format via spooler in 4.6C/4.6B/4.5B.
    SAP 322998. PDF conversion: Cyrillic support.
    SAP 323736. Restrictions with "PDF print" through spooler.
    SAP 398357. PDF converter: Width of letters is incorrect.
    SAP 414325. SAPconnect: Conversion of ALI to PDF.
    SAP 504952. Composite note spool and print.
    Find these notes, there You'll find some answers.
    Regards,
    Nisrin.

  • 1933985     NF-e new layout 3.10 - Versão Obsoleta

    Caros,
    Estou com uma dúvida em relação a aplicação da nota 1933985 - NF-e new layout 3.10.
    Há 2 meses aplicamos completamente  a nota 1933985, porém ao baixarmos novamente esta note via SNOTE, seu status não está mais como "Completamente Aplicada" e sim como "Aplicada Versão Obsoleta". Sendo assim, gostaria de saber se o correto neste caso, é voltar o status de implementação desta nota e executar a SNOTE novamente para ela? Ou se há alguma sugestão para este caso?
    Temos outra nota na mesma situação e não temos certeza se podemos voltar seu status para executarmos novamente a SNOTE.
    Muito Obrigada

    Olá Cristiane.
    Boa tarde.
    A última versão lançada para esta nota 1933985 , é a versão 9, do dia 22 de Agosto de 2014.
    Acredito não ser possível implementar apenas a diferença entre as versões. Então, tente verificar qual versão foi implementada em seu sistema e atente aos detalhes de mudanças entre as versões, como descrito na nota.
    O que acontece é que algumas outras notas foram inseridas como pré requisitos, assim como parte da solução e dos textos, mudaram ao longo das versões.
    Então, verifique a possibilidade de reverter a sua aplicação feita anteriormente para proceder, desde o ínicio, com a última versão (9).
    Atenciosamente,
    Felipe Silveira

Maybe you are looking for

  • Apex Listener config recommendations

    Our DBA is installing Apex Listener 1.1.2.131.15.23 for the first time, and had a question regarding some setup. Right now it's just a stand alone copy. In the JDBC Settings, what are your recommendations for the following settings? Initial Pool Size

  • Error in starting SAProuter.

    Hi! Gurus, To establish remote connection for SAP Support I have installed SAProuter in our ECC Server host. But when I am trying to start the service it cannot start. self testing is OK. I cannot cerate SAProuter (file / table ?) Not sure about real

  • Firmware for Sony Bravia. What?

    I was planning to buy a Sony Bravia LCD HDTV, 32" from Best Buy.  I was reading the reviews and a lot of owners are saying that I would need a Sony "firmware update for video/audio" that can be downloaded from Sony.  What exactly are they talking abo

  • Installing my own copy of Microsoft Office over Trial version

    Just purchased new computer with a trail version of Office.  I would like to install my own CD that I purchased last year for my other computer.  I can install in 3 times and have done it one time.  How should I proceed? Any help will be greatly appr

  • Replacing a whole Company Code

    Dear Gurus, Could you please help me in the following questions? In our businesses a Company Code is created for multiple factories (producing the same product). What processes, settings and rules do we need to keep an eye on, when we will replace a