Special charecters handling

Hi All,
how to unhide abap codes that were hidden using a special string in the first line of the program:
*@@$$@@SAP
Any solutions ?
Thanks!

Even worse, question were also copied:
>
Letiere Moraes wrote:
>  unhide abap codes that were hidden using a special string in the first line of the program:
> *@#@@[SAP]
>
veni m wrote:
> unhide abap codes that were hidden using a special string in the first line of the program:
> *@@$$@@SAP

Similar Messages

  • Special Charecters handling using BODS flat file

    Hi All,
    I have 2 sets of data one with no special charecters and one with Special Charecters in source. I have generated flat files(with UTF-8 code page bot hdata special charescters and no special chars) thruogh BODS in to a perticular path,  when I am copying file from one path to another path file behaviour is changing it is saving as ANSI (it is only ith the file does not have special charecters, special charecters file if capoying with UTF-8 code page)
    And also I have faced the special chareter file with jumbling of data.
    Like :  ID| Number |Name|Country
              1 |103|TejaIndia
              2|104|Vini|India
    If observed above scenario, in th the 1st record country data concatenated with name.
    I really appriciate, If any one help me to slove this issue.
    Note: Special charecters are like: */„…Ÿ etc and also multilanguage data
    Thanks,
    Lavanya

    Post sample data from your source file, if possible attach it to the post and let us know the expected result.

  • Special charecters handling while Converting XML string to DOM

    Hi,
    I am using the following approach for converting XML string to DOM, but due to Special characters like "&", I am getting Exceptions:
    String xmlString;
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse(new InputSource(new StringReader(xmlString)));
    Can anyone please help me out on how to handle the Special characters in the above code.

    If the XML doesn't parse, then the XML must be invalid. Show a sample of such a special character in the XML data. Please use \ tags to post the actual XML content and any other code.                                                                                                                                                                                                                                                                                                                                                                                           

  • How to handle special charecters in the payload

    Hi
       I'm getting special charecterstics  from R/3 side..   that is also some  large data .. but in XI side.. i have a single field..(that is STRING  data type) ..so it was thrwing message mapping exception...
       but  how can we handle that..  is there any limitation that XI  one field can handle this much of data only(limit) because I'm gettinng huge data  for example 24 kb  and 26 kb like that.. this all the data i want to load in a single field..
    and  this data also contain some special charecters.. how can we handle this  type of problems..
    Thanks
    babu

    Hi Babu
    have a look at this pdf for special character
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/502991a2-45d9-2910-d99f-8aba5d79fb42
    Read this page:
    http://en.wikipedia.org/wiki/Character_encodings_in_HTML
    for more details you can follow these two links
    http://mail-archives.apache.org/mod_mbox/xerces-j-dev/200004.mbox/%[email protected]%3Eerces-j-dev/200004.mbox/%[email protected]%3E
    http://en.wikipedia.org/wiki/Help:Special_characters
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    Regds
    Abhishek

  • How to avoid special charecters in create user form

    Hi all,
    I am new to Sun IDM.Please u people have to help me in giving the solution.
    Actually,in create user form ,we have first name and last name text fields.These two fields accept any special charecters.I want these fields to accept only alphabets.Do i need to create new rule for it?Please tell me the steps to be done to allow only alphabetic charecters in this fields.Thanks in advance,
    regards,
    suresh

    Hi,
    I should thank for the quick response u have done.But,still my problem was not solved.I did wat u hav said in the last reply...Now iam getting "1" in that create user form.I have send the XML code of the "isAlpha" and "Firstname"..Please check whether i have done any mistake..waiting for ur reply.
    <Rule name='isAlpha'>
    <Description>Tests to see if testStr is comprised of only alpha characters.</Description>
    <RuleArgument name='testStr' value='testStr'/>
    <block>
    <defvar name='testList'>
    <appendAll>
    <rule name='Alpha Numeric Rules:AlphaCapital'/>
    <rule name='Alpha Numeric Rules:AlphaLower'/>
    </appendAll>
    </defvar>
    <containsAll>
    <ref>testList</ref>
    <rule name='Alpha Numeric Rules:stringToChars'>
    <argument name='testStr' value='$(testStr)'/>
    </rule>
    </containsAll>
    </block>
    </Rule>
    <Field name='global.firstname'>
    <Display class='Text'>
    <Property name='title' value='_FM_FIRSTNAME'/>
    <Property name='size' value='32'/>
    <Property name='maxLength' value='128'/>
    </Display>
    <Validation>
    <rule name='Alpha Numeric Rules:isAlpha'>
    <argument name='global.firstname'/>
    </rule>
    </Validation>
    </Field>

  • Special Charecters in payment batch run

    All,
    We are getting "(s7B" (special charecters) in every payment batch file that too in PROD only......
    Please let me know if anyone has any idea about this issue.....

    Hi Srini,
    Thank you for the update....
    I have looked at my .PRT file and it already set the properties based on point3 in the note 418940.1
    printer "HPLJ Landscape"
    height 66
    width 132
    between pages control(L)
    return control(M)
    linefeed control(J)
    code "bold on" esc "(s7B"
    code "bold off" esc "(s0B"
    code "underline on" esc "&d0D"
    code "underline off" esc "&d@"
    ----------------------------------------------------

  • How to remove special Charecters

    Hi
    I have a internal table having text 900 charecters.
    Hacving Special Charecters also (like !,@,# etc)
    Here I need to remove all special charecters only from internal table itab.
    Can you please tell me the logic?

    REPLACE, FIND and SPLIT Statements sometimes doesnot work while Working on Special Characters.
    Instead Convert all the 900 characters into HEXADECIMAL codes and Replace the Special characters ( find Hex codes of each Special Character ) with Space(Hex code = 20) .
    After Replacing all the Special Characters , Convert all the Characters back to Normal Text.
    You can use the Function module ''HR_KR_STRING_TO_XSTRING' to Convert TEXT to Hexadecimal String  and
    FM 'HR_KR_XSTRING_TO_STRING' to convert back Hexadecimal String to TEXT format
    You can use the following link to find the Hex code of each Character
    http://scarlethamster.com/binary.html
    Thanks
    Shekar

  • Suitable OSS Note for special charecters when upload a file

    hi,
    can anbody help me in finding OSS Note for
    special charecters in file upload as i was unable to print  'é' this charcter as a result it was going into short dump
    Please help me

    Hi,
    Are u using smatrforms, if it is
    Create text in smart form->click edit button of text->menu->insert->characters->displayable characters->then select ur special charactor.
    that no will display in text node. check that no with OSS note.
    Thanks,
    Sendil

  • Master Data Process chains failing due to special charecters?

    hi experts,
    we have done all the master data(FI,SD,LO,QM,PM,MM,PP,PS) and created process chains and transported into production system.
    when we run the process chains we are facing lot of issues regarding special charecters.
    for example. 0MAT_VEND_ATTR Data source. 
    MATERIAL VENDOR (field - IDNLF).
    'UDGÅET
    &''UDGÅR
    &''UDGÅET
    &''36/5599/LED./FÆLLES
    &''SØTRANSPORT &
    those are the special charecters are coming when i try to execute through RSKC the above Material Vendors, its giving different special chars for different MATERIAL VENDORS like below.
    FÆLLESSØTRANSPORT
    04/5160/FORSØGSAFD.
    (5150)FORSØGSAFD.
    like that there are about 15 master data chains are failing.
    due to that reason the below transcation chars are not executing.
    please suggest me is there any routine or is there any procedure to take care of unpredicted special charecters loading successfully into BW.
    regards
    venuscm

    I don't think its a global setting problem.
    Permit the char in RSKC...
    Check with the functional team why they are getting Special char values in the loads. ask them to rectify the special char so that you can extract the same to BW side.
    go through the blog links provided earlier in my post...
    Check the below link which might be of some use to you,..
    /people/jyothi.velpula/blog/2010/12/23/removing-invalid-characters-using-field-routine
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0afbb81-f219-2c10-4181-b20f6b10e373?quicklink=index&overridelayout=true
    Edited by: prashanthk on Jan 3, 2011 5:35 PM

  • Request.getParameter(): special character handling problem

    Hello, there:
    This should be an easy question for the gurus in here.
    I use a string attached to the url as the parameter string, which includes spaces. the system automatically converts them to %20, but when I receive them in my servlet using request.getParameter, a special character, &Acirc; appears; I couldn't proceed with it.
    I suppose this is a common problem but seems that I didn't find topics about it on this forum.
    So anyone can help? Any encoder/decoder APIs to handle it?
    Thanks a lot,
    Sway

    hi,
    escape can solve ur problem
    use js function to submit form like
    function subForm()
    var any_spcl_value ="kdfhjdf$%@#$% 2FGSFG @%@#%@# V";
    mainForm.action = "index.jsp?value="+ escape(any_spcl_value);
    mainForm.submit();
    and use request.getParameter("value");
    u ll get kdfhjdf$%@#$% 2FGSFG @%@#%@# V as it is.
    AE

  • Special character handling in XI

    Hi,
    I have a scenario wherein edifact files are passed through XI to partners .
    The edifact input file contains special characters like ô which gets converted to Ã.This is causing the despatch advice to fail at the receiver end.
    Can anyone suggest how such characters should be handled in XI ?
    Thanks in advance.

    You can use localejbs/Seeburger/CharsetConversion bean as well. And in the module config table, add teh following parameters
    sourceEnc = UTF-8
    targetEnc = ISO-8859-1(or what ever target encoding you want).
    This is with the assumption that the data is going from SAP to a local(EDI)system via XI.
    Use localejbs/CallBicXIRaBean after the character conversion in the Processing sequence.
    cheers
    danus
    Edited by: Chidambaram Danus on May 8, 2008 3:27 PM

  • Special Character Handling (&) in the payload content in PI 7.1

    Hello All,
    My Scenario is Idoc to File. I need to handle some special characters like "&" in  XML payload content in PI 7.1. I am receiving & character in the text field.
    eg:
    <RECORD>
       <BEGDA>20100901</BEGDA>
       <STAT1>A</STAT1>
       <NAME1>Grandview&MO CLMR</NAME1> 
      <PERL_SUB_AREA>0005</PERL_SUB_AREA>
    </RECORD>
    I created java mapping by using the blog: http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/9420. [original link is broken] [original link is broken] [original link is broken]
    "The code used in java mapping is converting & into &amp"
    Mapping is working fine in the test tab of Operation mapping and the message is successfully handling the record with & character(message with Chequered Flag).In the result tree view,it is showing 
    <PERL_TEXT>Grandview&MO CLMR</PERL_TEXT
    and in the source XML view
    <PERL_TEXT>"Grandview&ampMO CLMR"</PERL_TEXT>
    Issue:
    Now the record is written as
    <RECORD>
      <CUST_STATUS>A</CUST_STATUS>
      <COMPANY>1050</COMPANY>
      <PERL_AREA>1MOB</PERL_AREA>
      <PERL_TEXT>"Grandview&ampMO CLMR"</PERL_TEXT>
      <PERL_SUB_AREA>0005</PERL_SUB_AREA>
    </RECORD>
    Since & is coming as part of text, "it is converting & -> &amp" in the text field and the record is written in the file as
    "A|1050|1MOB|Grandview&ampMO  CLMR|0005 ....."
    While it should come as:
    A|1050|1MOB|Grandview&MO  CLMR|0005 .....
    Java mapping code used is as:
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import com.sap.aii.mapping.api.StreamTransformation;
    public class HandleAmpersand implements StreamTransformation {
         public void setParameter (Map param) { }
         public void execute (InputStream in, OutputStream out) {
              try {
                   int read_data;
                        while ((read_data = in.read() ) != -1) {
                             if (read_data != '&') {
                                  out.write(read_data);
                             } else {                         
                             out.write("&amp;".getBytes());
                        out.flush();
         } catch (Exception e) {  }
    Also, i am using message mapping after java mapping in operation mapping
    Please guide me where it is going wrong.
    Thanks
    Shikha Jain
    Edited by: Jain Shikha on Jan 5, 2011 4:42 AM

    Hi Jain Shikha,
    I have faced similar issue in our production system.
    Our issue:-
    Sender system is sending :- DEKOR " OBS!
    Other middleware is converting it and sending to SAP PI as :- DEKOR &amp ;quot; OBS!
    Because of this, there is increase in size from 12 characters to 21 characters. We were getting error as the target side ABAP table has column width 15.
    Our solution:- Wrote a java mapping to convert &amp;quot; to u201C
    if (strContent.contains("&")) {
                        getTrace().addInfo("& is present");
                        strContent = strContent.replaceAll("&amp ;", "&");
                        strContent = strContent.replaceAll("&quot ;", "\"");
                        strContent = strContent.replaceAll("&apos ;", "\'");
                        strContent = strContent.replaceAll("&amp ;", "&");
                        strContent = strContent.replaceAll("&lt ;", "<");
                        strContent = strContent.replaceAll("&gt ;", ">");
    Note: - quote ("), apostrophe ('), ampersand (&), less than (<), greater than (>) are special characters in XML. They should not be present in data. http://www.w3.org/TR/REC-xml/
    Not Well formed XML:
    <Name>Raghuu2019s</Name>   <Name> Raghu & Vamsee </Name>
    Well formed XML:
    <Name>Raghu&apos;s</Name>   <Name>Raghu &amp; Vamsee</Name>
    Graphical mapping, XSLT, DOM, SAX need well formed XML as input, otherwise they give parser exception.
    Your solution:-
    I understand you are using a graphical mapping. Follow below steps
    Step 1: Convert u201CNot Well formed XMLu201D to u201CWell formed XMLu201D, using java mapping (which your doing already).
    Step 2: Use Graphical mapping for your transformation logic.
    Step 3: Again convert back u201CWell formed XMLu201D to u201CNot Well formed XMLu201D (As this what target system is expecting. Use below java mapping.
    Regards ,
    Raghu
    Edited by: Raghu Vamsee on Jan 6, 2011 1:45 PM
    Edited by: Raghu Vamsee on Jan 6, 2011 1:59 PM

  • FTP_COMMAND MGET doesnt transfer UNICODE special Charecters

    Hi there, we have a program that FTP's files from a server to R/3 using the MGET command with SAP function FTP_COMMAND. We are on the latest release of SAP and I have UNICODE checked on the SAP destination.  Does anyone know why a properly save Unicode UTF-8 file with special characters gets scramble when thye mare moved?
    Here is the call
      CALL FUNCTION 'FTP_COMMAND'
        EXPORTING
          handle        = h_handle
          command       = h_cmd
          COMPRESS      = 'X'
        TABLES
          data          = ftab
        EXCEPTIONS
          tcpip_error   = 1
          command_error = 2
          data_error    = 3
          OTHERS        = 4.

    ls -l /var/run/lighttpd/
    And how are you spawning the php instances? I don't see that in the daemons array anywhere.
    EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
    You will note that with pre-spawned information, the config looks different[1].
    You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
    [1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change"

  • How to prevent Numbers and special charecters entry in character field

    Hi all,
    I have a text field of character type i want to user just enter A-Z or a-z with only space character do not enter 0-9 or or Special Characters, i used format mask like FMAAAAAAAAAAAAAAAA but this not allowing SPACE between characters. Anybody can help!

    That's what regular expressions are for:
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions130.htm#SQLRF06302
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions129.htm#i1239887
    http://docs.oracle.com/cd/B19306_01/server.102/b14200/conditions007.htm#i1048942
    When you validate your item you could replace all character you do not want (or check for their existence with regexp_instr).
    cheers

  • Expdp with schemas containing special charecters

    Hi!
    Need to export a schema which name contains the character "-".
    When using expdp with parameter schemas="Test1-test2" this error comes:
    ORA-39039: Schema expression "IN ('Test1')" contains no valid schemas.
    How do I escape the "-".
    Thanks,
    Kenn

    I have created the function below to replace the special characters before usig XMLElement. Try if it workes for you. Good luck
    FUNCTION NameofFunction(cNUMBER_STRING VARCHAR2) RETURN VARCHAR2
    AS
    BEGIN
    RETURN(
    REPLACE(
    REPLACE(
    --REPLACE(
    TRANSLATE(cNUMBER_STRING,
    'oAAAAAAECEEEEIIIIDNOOOOOxOUUUUYpbaaaaaaaceeeeiiiionooooouuuuypy'
    --' & ','&'||'amp;'),
    CHR(26),''),
    CHR(27),'')
    END NameofFunction;
    Regards,
    Rajesh Kanakagiri
    Edited by: user2899093 on Jan 20, 2010 1:16 PM

Maybe you are looking for