Translate the Escape characters to sapce in mySAP ERP

Hi all,
I am working in mysap ERP(Unicode system). I want to TRANSLATE the Escape characters to SPACE. It is giving me a error saying that the internal table must be a character type. Please let me know how to solve this problem.
Please find the details:
I have 2 internal tables 1) t_file 2) t_trans.
DATA:    BEGIN OF T_FILE OCCURS 0,
           REC(2600)  TYPE C,
         END OF T_FILE.
DATA:    BEGIN OF T_TRANS OCCURS 0,
           X     TYPE X VALUE '00',
           C_00  TYPE C VALUE ' ',
           SOH   TYPE X VALUE '01',
           C_01  TYPE C VALUE ' ',
           STX   TYPE X VALUE '02',
           C_02  TYPE C VALUE ' ',
    end of t_trans.
T_Trans is the conbination of character & hexa decimal.
I am using the statement:
     TRANSLATE T_FILE USING T_TRANS.
I am getting the error for the TRANSLATE.
Thanks & Regards,
Srinivas.

Hi srinivas,
try this one..
DATA: BEGIN OF T_FILE OCCURS 0,
REC(2600) TYPE C value
END OF T_FILE.
DATA : T_TRANS(20) VALUE '0 0 0 1 0 2 '.
WRITE : / T_FILE.
translate t_file using t_trans.
WRITE : / T_FILE.
regards
satesh

Similar Messages

  • How to find the difference in BI Content between SAP ERP 4.7 and ECC 6.0

    We are looking at upgrading our SAP system from 4.71 to ECC 6.0, and I have been tasked with determining what new data may become available in our BW system after the upgrade.  I was wondering if there was a site that would tell me what new datasources/infoproviders are made available after an upgrade to ECC 6.0.
    I do not need to see the list of all Business Content in ECC 6.0, just what has changed.
    Also, the type of upgrade we are looking at performing is a "Technical Upgrade", which presumably just upgrades the SAP back end without affecting the front end.  Can someone confirm that the new BW content will then be available after a technical upgrade?
    Thanks
    Michael
    PS - our BW system has been on version 2004s for two years now.
    Edited by: Michael Frank on Feb 3, 2010 3:07 PM

    Hi,
    http://service.sap.com/erp
    http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)
    http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    For Functionality Differences pls refer to the below site -
    http://solutionbrowser.erp.sap.fmpmedia.com/
    After opening the site, please select the Source Release Version which is 4.6 b Then Select the Target Release Version which is "mySAP ERP 2005" or ECC 6.0
    Select the Solution Area like Financials, Human Capital Management, Sales....
    Select module like MM, PP, SD, QM.....
    Click on Search
    Then it displays the Release Version and the Delta Functionality. which can be downloaded to a word document if required.
    and also check the release notes of ECC 6.0 in service.sap.com.
    -Vikram

  • Upgrade from SAP R/3 4.7 to mySAP ERP 2005 : technical changes

    Hi All,
    I wanted to know what objects(tables,structures,data elements ,ZPrograms,SAP Programs,Roles etc..) in d the entire SAP landscape will bear difference when compared with older version (SAP R/3 4.7).
    I would like to know technically which objects will be modified after the system is upgraded.
    Need urgent reply,
    Answers will be rewarded

    Dear Rohan,
    Please visit the following links:
    http://service.sap.com/erp
    http://solutionbrowser.erp.sap.fmpmedia.com/ (Functional prespective)
    http://service.sap.com/instguides --> mySAP Business Suite Applications --> mySAP ERP --> mySAP ERP 2005 --> Upgrade
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    For Functionality Differences pls refer to the below site -
    http://solutionbrowser.erp.sap.fmpmedia.com/
    After opening the site, please select the Source Release Version which is 4.6 b Then Select the Target Release Version which is "mySAP ERP 2005" or ECC 6.0
    Select the Solution Area like Financials, Human Capital Management, Sales....
    Select module like MM, PP, SD, QM.....
    Click on Search
    Then it displays the Release Version and the Delta Functionality. which can be downloaded to a word document if required.
    and also check the release notes of ECC 6.0 in service.sap.com.
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh

  • Source system icons changes when connecting SAP BW to mySAP ERP 2004

    Hi,
    Just an Interesting observation in relation to the creation of source systems in SAP BW to SAP Web AS 6.40 based systems (mySAP ERP 2004, mySAP SRM, etc).
    I thought it would be interesting to share!
    The behavior is logical but can be a surprise for a BW administrator who is not aware of the new internal SAP BW systems within mySAP ERP 2004.
    Scenario:
    The customer was connecting a stand-alone BW system to two new systems with latest and greatest mySAP ERP 2004 (ECC 5.00) and mySAP SRM.
    Observation:
    In the past the SAP R/3 source system would be created with a "SAP R/3 icon" indicating a SAP Source system.
    <b>As of mySAP ERP 2004, the source systems will be created in the SAP BW standalone system with the "SAP BW System icon".</b>
    Note: This is also the same behavior for new releases of mySAP SRM, and other SAP applications that are <u>based on SAP Web AS 6.40 or greater</u>
    Why?:
    The standalone SAP BW system is connecting to a system that contains an internal SAP BW system. The standalone SAP BW system determines that it is possible to extract <u>both</u> from the internal BW System <b>and</b> from the Plug-in extractors. It simply denotes that this source system is a SAP BW system and uses the BW Source system icon. (Remember SAP BW is client independent*!).
    Note: This behavior will still occur even if you do not use the internal SAP BW system within mySAP ERP! It is there whether you use it or not.
    Second Note: You can still use the ERP Content extractors from the mySAP ERP Source System as you did in prior releases.
    Another related observation:
    I would expect that this case will probably be true even if you only use the internal SAP BW.
    Scenario: You use the internal SAP BW in another client in the mySAP ERP system than your ERP processing.
    Result: The connection between the BW client and the ERP client source system(s) (i.e. client 001 for ERP, client 100 for BW), both the 'myself' and ERP client source systems, will show up as BW source systems!
    Source system 001 and source system 100 will be displayed as SAP BW icons because SAP BW is client independent*
    user master and authorizations are client dependent
    I hope this was interesting.
    Cheers,
    Mike.

    Hello,
    I used my user id to login. I recieved a message :
    User already exists in source system  I continue:
    Anothre window pops up : "Check  RFC connection" and it asks
    'RFC connection already exists in source system . Do you want to check, use or cancel source system connection'
    Here I select Use - but i get an error : Error in source system'.
    how can i track down this error.
    Kindly inform.
    Regards,
    Nikekab

  • Changes in ABAP programming 4.7 - mySAP ERP 2004

    Hello,
    are there any changes or obsolete ABAP commands concerning the upgrade from 4.7 to mySAP ERP 2004?
    Are there any documentations on this topic?
    Thank you in advance.
    Best regards,
    M. Weiskat

    Hi,
    Refer to the link..
    These link talk on these issues..
    http://sap.ittoolbox.com/groups/strategy-planning/sap-projectmanagement/r3-47-vs-mysapsap-enterprise-883745#
    http://www.absoft.co.uk/absoft/web/site/AbsoftSAPServices/Upgrade.asp
    Also refer to this PDF topic
    Upgrade Dilemma – SAP R/3 Enterprise
    or mySAP ERP?
    at this link...
    http://www.infosys.com/sap/Whitepaper_Upgrade_Dilemma_SAP_R3_Enterprise_or_mySAP_ERP.pdf
    Regards,
    Tanveer.
    Please mark helpful answers

  • Web Dynpro Screen in ESS for mySAP ERP 2004

    I have uploaded the Business Package for ESS for mySAP ERP 2004 and I am expecting the Webdynpro screen to be seen, but unfortunately I am able to see only the typical R/3 screens ...
    our
    R/3 ver ECC 5.0
    EP 6.0
    Any suggestions ?

    If you are using ESS for ERP2004 BP, have you deployed the XSS WebDynpro Components (PCUI100, ESS, MSS .SDAs) to your J2EE Engine?
    Cheers,
    Steve

  • E-Commerce for mySAP ERP: Problem with java source code

    Hello everybody,
    we try to implement web shops on the basis of ECO for ERP 5.0. The shop is running fine and we want to start with some extensions in java classes and web UI with NWDI  2004s.
    We created a new track and our own application as described in "Development And Extension Guide". We need to extend some of the original java classes for the b2b scenario and of course the user interface.
    We got the information from SAP, that the original java classes are not intended
    to be modified by customers and therefore it is not intended to create a project with NWDI that contains that source code. But we should be able to create own DCs and copy the source code into it and then modify them on own risk.
    We tried to do that, but always got errors.
    Due to customer requirements we have to make some modifications otherwise we can not use this solution.
    If there is anybody who has already some experience with this topic we
    would be very glad to get some hints.
    Kind Regards
    Helmut

    Hello Raju,
    I am sorry, but I am no technical consultant, but I am have to change 
    the already installed application for our customers.
    Nethertheless I try to give you some information I have. I had a look at SAP note 883948 you mentioned. The software components which are listed under XECO are the software components which contain the E-Commerce Application. You also find them in the "Development and Extension Guide".
    There are some guides under  http://service.sap.com/instguides -> mySAP Business Suite Solutions -> mySAP ERP -> mySAP ERP 2005 -> Installation. In the document "SAP E-Commerce for mySAP ERP: Business Scenario Configuration Guide" there is a table of the needed components on a high level.
    From the view of the application you need the E-Commerce application itself, the TREX for searching in the product catalog, the IPC if you want to have price calculation in the shop or configuration of products with optional components.
    Hope this helps a bit
    Kind Regards
    Helmut

  • MySAP ERP 2007

    Hi,
    We are currently on 4.6C and have a separate installation of WAS 6.40 with SAP portal for our MSS and are looking in doing the SAP upgrade.
    Does any one have information on when is MySAP ERP 2007 GA and is there any document that compares MySAP ERP 2004 vs MySAP ERP 2007.
    Thanks
    Salim Punjani

    Salim-
    mySAP ERP 2007 is a long way off and, to be realistic, should not figure in your upgrade plans at this time since so little is known about it, including the functional scope and the target release dates.  mySAP ERP 2005 (of which ECC 6.0 is the primary component) has exited Ramp-Up and will ship next week, June 6.
    Since SAP stopped publishing Development News, obtaining a good high-level understanding of the functionality "delta" between two releases is somewhat more problematic.  You could take a look at the Release Notes (help.sap.com -> mySAP ERP -> ECC 6.0 -> SAP ERP Central Component -> Release Notes) to find a list of the new functionality in ECC 6.0 over ECC 5.0, but be forwarned that the Release Notes are quite voluminous  and can take a long time to wade through.
    Generally speaking, at this point in time you should strongly consider ECC 6.0 over ECC 5.0, due to the extra functionality as well as the extended maintenance window.
    Hope this helps.

  • How to escape or remove the special characters in the xml element by regula

    Hi members,
    How to escape or remove the special characters in the xml element by regular expression  in java??
    For Example ,
    <my:name> aaaa </my:name>
    <my:age> 27 </my:age>
    In the above example , i have to retrieve the value of the <my:name> Element(For examlpe -- i have to get "aaaa" from <my:name> tag)...
    How to retreive this value by using DOM with XPATH in java
    Thanks in Advance

    Hi members,
    I forget to paste my coding for the above question....This is my coding......In this display the error...... Pls reply ASAP.......
    PROGRAM:
    import java.io.IOException;
    import java.util.Hashtable;
    import java.util.Map;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    public class DOMReaderForXMP {
         static Document doc;
         static XPath xpath;
         static Object result;
         static NodeList nodes;
         public DOMReaderForXMP() throws ParserConfigurationException, SAXException,
                   IOException, XPathExpressionException {
              DocumentBuilderFactory domFactory = DocumentBuilderFactory
                        .newInstance();
              domFactory.setNamespaceAware(true);
              DocumentBuilder builder = domFactory.newDocumentBuilder();
              doc = builder.parse("d:\\XMP.xml");
              XPathFactory factory = XPathFactory.newInstance();
              xpath = factory.newXPath();
         public static void perform(String path) throws Exception {
              result = xpath.evaluate(path, doc, XPathConstants.NODESET);
              nodes = (NodeList) result;
         public void check() throws Exception {
              perform("//my:name/text()");
              if (!nodes.item(0).getNodeValue().equals("application/pdf")) {
                   System.out.println("Mathces....!");
    ERROR:
    Exception in thread "main" net.sf.saxon.trans.StaticError: XPath syntax error at char 9 in {/my:name}:
    Prefix aas has not been declared

  • Wrong translation of escape codes?

    We use the Oracle XSLT processor on Oracle 8i. Problem is, the source document contains escape codes for foreign characters, an example is &#243;
    However, no matter what escape codes we use, the target document, after xsl translation, always translates this into two bytes: BF BF.
    What are we doing wrong? Our source document AND our xsl sheet contain the ISO-8859-1 encodings, and using a download version of the oracle 9i xsl parser in Cooktop produces the correct result (in our example, the escape code is translated into the byte F3).
    Could it be something in the session NLS settings?

    By the way, we store the result document in a CLOB. Maybe this could be the problem?

  • Stop escaped characters from resolving within String class.

    Hello,
    Is it possible to stop escaped characters from resolving within the String class?
    For example, I define a character array,
    char[] c = {'0','\\','n'}
    and I want to create a String based on this exact sequence (0\n). However, when I call the String constructor String(char[]), it resolves the \n sequence into the newline character, creating a String of length 2 not 3.
    I'm not very familiar with the innards of the Java compiler (does "xyz" translate to char[]{'x','y','z'}?), so maybe this is something very basic.
    Does anyone know if there is a flag that can be set somehow before I create a String instance (it appears that no String constructor supports this kind flag)?
    Or perhaps is there a method in the standard Java release that escapes all escape characters in a character array...? I'm curious if there is a simpler way (like a flag), because the method approach seems superfluous.
    Thanks,
    Brien

    What do you mean?char[] c = {'0', '\\', 'n'};
    String s = new String(c);
    System.out.println(s);does give the string 0\n...
    And by the way, it's not the String class that transforms \n to the linefeed character, it is the compiler..

  • How can I use escaped-characters in an option

    I have the following code that is used to retrieve city-names including parent-child relations from a database and place them in an array:
    <%@ page contentType="application/x-javascript" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <sql:setDataSource dataSource="jdbc/KADOS" var="Raak" scope="session" />
    <sql:query var="bewaringSQL" dataSource="${Raak}">
    SELECT bewaringcode, vestigingsplaats FROM BEWARING order by vestigingsplaats
    </sql:query>
    bewaringen = new Array(
    <c:forEach items="${bewaringSQL.rows}" var="plaats" varStatus="s" >
    new Array( "<c:out value="${plaats.BEWARINGCODE}" />",
    "<c:out value="${plaats.VESTIGINGSPLAATS}" />" )
    <c:if test="${not s.last}">,</c:if>
    </c:forEach>
    i=0;
    <c:forEach items="${bewaringSQL.rows}" var="plaats" varStatus="s" >
    <sql:query var="bewaringGemSQL" dataSource="${Raak}" sql="SELECT KADGEMCODE, KGMNAAM FROM KADGEMEENTE where BEWARINGCODE=? order by KGMNAAM">
    <sql:param value="${plaats.BEWARINGCODE}" />
    </sql:query>
    tmp = new Array(
    <c:forEach items="${bewaringGemSQL.rows}" var="gem" varStatus="s" >
    new Array( "<c:out value="${gem.KGMNAAM}" />",
    "<c:out value="${gem.KADGEMCODE}" />" )
    <c:if test="${not s.last}">,</c:if>
    </c:forEach>
    bewaringen[2] = tmp;
    i = i+1;
    </c:forEach>
    function bewaringenList(selectCtrl, itemArray) {
    for (i=0; i<itemArray.length; i++) {
    selectCtrl.options[i] = new Option(itemArray[i][1]);
    selectCtrl.options[i].value = itemArray[i][0];
    function setList(selectCtrl, itemArray) {
    for (i=selectCtrl.options.length; i>=0; i--) {
    selectCtrl.options[i] = null;
    for (i=0; i<itemArray.length; i++) {
    optie = filter(itemArray[i][0]);
    selectCtrl.options[i] = new Option(optie);
    selectCtrl.options[i].value = itemArray[i][1];
    function filter( invoer) {
    retour = invoer;
    retour = retour.replace("'", "\'");
    return retour;
    The function 'bewaringenList' populates a <SELECT> with parent-names and
    "setList(document.VraagForm.gemSelect, bewaringen[this.selectedIndex][2]);" populates the depending <SELECT> with child-names.
    Some names contain single quotes (like "&#039;t Zandt") and are displayd in the select-box as "&#039t Zandt".
    I expected that the quotes could be replaced by escape-characters by 'filter(invoer)' but this does not work.
    Is there a generic way to show these characters?
    Ben

    I don't understand why but this filter solved the problem:
    function filter( invoer) {
    retour = invoer;
    retour = retour.replace("&#039;", "'");
    return retour;

  • Issue with escaping characters and php

    Greetings,
    We are working on a web page using php and Oracle. We have troubles dealing with the diferent escaping characters when inserting/retrieving data (magic quotes is on but adding the backslash doesn't help :( ).
    We would like to know the correct way of dealing with those characters ( ' " / /n ...).
    Thank you in advance,
    Sincerely,
    Oriol Nonell

    Do NOT use addslashes/stripslashes to escape your queries. I use this function to do the escaping:
    function escapeSQL($string, $wildcard=false)
    $result = str_replace("'","''",$string);
    if ($wildcard == true) $result = str_replace("%","%%",$result);
    return $result;
    It basically replaces ' with ''.
    If you set $wildcard to false, then '%' is considered to be an actual '%' (for 'like' expressions). If you set it to true, a % is escaped to %% too.

  • How to translate the text according the  SAP logon

    Hi Friends,
    I have a report, in the selection screen have 4 radio buttons which characters are displaying in German language , if logon in DE.   But not populating in other language (English,  French , Italian etc ).
    Whenever SAP login in  u201CENu201D , is  displaying an  Information message u201CUntranslated texts from master language DE wi  also be displayedu201D.
    Please guide me how to translate the text according the  SAP logon.
    in GOTO-> Translation -> Original language  "DE"  and traget language is empty.
    Regards,
    Subash

    Did you try transaction SE63?
    Translation -> ABAP Objects -> Short texts, select object type S3 and either REPT or SCRT, probably REPT since it's a selection screen.

  • Oracle Translation Builder: Japanese characters in question mark (????)

    Hi All,
    We need to translate a custom from labels from English to Japanese, so that both US and Japan can use that form.
    So we have used Oracle Translation Builder to specify the translation. As an initial step, we just changed the labels to some other english words. And now we have generated American .fmx and Japanese .fmx. And we are able to see the difference.
    Now in Oracle translation Builder(OTB), if i paste Japanese characters in the translation editor, we are able to see the Japanese characters. But if we save&close the OTB and re-open it, we see all the question(???) marks. Even if we generate/upload the Japanese.fmx to applications, we are seeing the same Japanese ??? marks in the applications.
    Can you please let me know, what am i missing...
    (I have installed the Asian language (ARIALUNI.ttf) in my local system.)

    May be You should set the environment variable NLS_LANG to "JAPANESE_JAPAN.WE8MSWIN1252" or "AMERICAN_AMERICA.JA16SJIS" will allow you to store Japanese providing the input data is truly JA16SJIS and if the database is also in a character set that can store Japanese like UTF8 or JA16SJIS).
    Or use Oracle Translation Hub it is useful tool. It replaces the OTB :-)
    Edited by: user9212008 on 2.4.2010 1:09

Maybe you are looking for

  • Two questions about a G5 Power Mac

    Hi I just got a refurbished Power Mac G5 running OSX 10.4.11 Anybody know what's the most up to date version of MS Office I can run on it? Also I tried to install OSX 10.5.4 (which I have on my Mac Book) but it said it wasn't allowed. Is 10.4.11 the

  • Error message The pprocedure entry point XRT_create app data could not be located in the dynamic link library xul.dll

    Firefox was updating and then crashed. Error message says: The procedure entry point XRE_createappdata could not be located in the dynamic link library xul.dll == User Agent == Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; Inf

  • Dashboard doesn't appear when hiding is on

    Hi, I've have the dashboard set so that it hides it, when it's not being used, and for some weird reason, just today, it's stopped bringing the dashboard up. To gain access to it, i have to turn the hiding off. Any ideas why this would happen?

  • Device error 49.38.07 - Laserjet M4555 MFP

    Laserjet M4555 MFP windows 7 64 bit os Error message - Device Error 49.38.07 To continue turn off and then on. When I do this the error message reappears

  • Help sync problems!!!!

    Please explain this to me or help me find a solution to my problem! I received my iPad 2 this week as a gift (which is turning into a nightmare) and I started to sync my iTunes with it. It went fine, sync 1780 of my songs only a 66 songs that could n