Spl characters

Hi
i wan tto print special characters in smartforms.
& * ( ) like those.
how to do that?

Hi
You can even declare a variable, whatever the characters or text you want to give write them in default value and then use the variable in your text with the variable & variable &
Regards
Surya.

Similar Messages

  • Problem in Spl Characters handling

    Hi Friends,
    We are developing a applicatio using J2EE Tech.,
    Problem which we face now is with spl character.
    There is text box in our application, If are entering the data(even spl char) it is storing in the database properly and diaplays it correctly.
    But when we copy paste the content(eg., "," and "'") from MS Word to this text box it is giving problem. ie., in Oracle database it is stored as spl characters�.pls try to give a solution.
    Thanks in advance,
    Balamurali

    Double posted by mistake:
    http://forum.java.sun.com/thread.jspa?threadID=652749

  • Deletion of spl. characters like '&' from source account

    Hi,
    Is there any way to delete a row that has spl. character like '&' in the source flex and replace it with another Mapfile.
    when I try to delete the map that has spl. character I am getting 'Application Error'
    Thanks

    Hello,
    Mapping doesnt allow special characters like '&', etc.so you replace them with 'Z' or some alphabet.
    Now,you write script for import formats to identify special characters with 'Z' so that they will get match.
    Thanks

  • Replacement of Spl Characters- REPORT

    Hi All,
    I want to replace some special characters like & with 'and' # with num. etc in my report.
    I tried using REPLACE ALL OCCURANCE OF but this gives performance issue and the report takes a long time to be executed.
    Moreover i cannot specify offset and length since the special characters can come anywhere.
    Please help me in this. Points will be rewarded for all useful inputs

    Hi,
    Please select required solution from one of the followings:
    REPLACE by Pattern
    Replaces strings in fields with other strings using a pattern.
    Syntax
    REPLACE [ FIRST OCCURENCE OF | ALL OCCURENCES OF ] <old>
            IN [ SECTION OFFSET <off> LENGTH <len> OF ] <text> WITH <new>
            [IGNORING CASE|RESPECTING CASE]
            [IN BYTE MODE|IN CHARACTER MODE]
            [REPLACEMENT COUNT <c>]
            [REPLACEMENT OFFSET <r>]
            [REPLACEMENT LENGTH <l>].
    In the string <text>, the search pattern <old> is replaced by the content of <new>. By default, the first occurrence of <old> is replaced. ALL OCCURENCES specifies that all occurrences be replaced. In the fields <old> and <new>, trailing spaces in C fields are ignored, but included in <text>. The SECTION OFFSET <off> LENGTH <len> OF addition tells the system to search and replace only from the <off> position in the length <len>. IGNORING CASE or RESPECTING CASE (default) specifies whether the search is to be case-sensitive. In Unicode programs, you must specify whether the statement is a character or byte operation, using the IN BYTE MODE or IN CHARACTER MODE (default) additions. The REPLACEMENT additions write the number of replacements, the offset of the last replacement, and the length of the last replaced string <new> to the fields <c>, <r>, and <l>.
    REPLACE by Position
    Replaces strings in fields with other strings by position.
    Syntax
    REPLACE <str1> WITH <str2> INTO <c> [LENGTH <l>].
                                        [IN BYTE MODE|IN CHARACTER MODE].
    ABAP searches the field <c> for the first occurrence of the first <l> characters in the pattern <str1> and replaces them with the string <str2>. In Unicode programs, you must specify whether the statement is a character or byte operation, using the IN BYTE MODE or IN CHARACTER MODE (default) additions.
    Please rewrad points if helpful.

  • Error in PSA with special characters

    Hello,
    I'm having a problem with sprecial characters in PRD system.
    This happen with standard extractor for Confirmations in SRM module, 0BBP_TD_CONF_1.
    I have 5 records with error in PSA. The field that have the error is 0bbp_delref and it has the text: “GUIA ENTREGA Nº2”.
    The error message says that field OBBP_DELREF has special characters that are not supported by BW.
    The field is char 16 and in spro I have the characters:
    QWERTYUIOPASDFGHJKLǪNºZXCVBM/~^´`* '()"#$%&!?.-0123456789«»<>
    In QUA, I created confirmations with this text and it worked fine and the characters in SPRO are the same.
    Any idea?
    Thanks and best regards,
    Maria

    Hi Maria,
    There will be no issue with update rules as the issue is with Data..
    ALL_CAPITAL should resolve your issue, .otherwise try individually executing those spl characters in RSKC..
    have you tried in SPRO...
    Check in this table RSALLOWEDCHAR in SE11 and find what all characters allowed(permitted)  in PRD system...
    please go through the above mentioned blog once
    Thanks,
    Sudhakar.

  • Handling Special Characters in PI

    Hi,,
    We have an XML file where in Payload, we are having some spl characters like
    £ , & , u2018 , u201C < , > we replaced the symbols £ , & , u2018 , u201C with the respective HTML codes using Java Mapping and when trying replace < > , we are facing problem, Since these tags are there in XML file.
    Please provide any suggestions, can we make it generic as we cant change the Mapping each time we get more spl characters, does any encoding/changing code page works in this case.
    Regards,
    Varun

    Hi Stepen,
    http://forums.sdn.sap.com/post!reply.jspa?messageID=9243412#
    Thanks alot for your inputs, As part of the Integrationg Testing, The tester were sending some junk data like this in the XML file
    before ? symbol we have less than greater than symbols which is not visible here.
    so we were able to handle £ & but facing problem with less than greater than symbols. wat u said is true, Its better that we need to discuss with the Testing Team and the Functional Owner.
    Or else I think we can use CDATA tags to pass the Data since its an Description Field
    Regards,
    Varun
    Edited by: Varun Reddy on Jun 24, 2010 1:24 PM
    Edited by: Varun Reddy on Jun 24, 2010 1:25 PM

  • Special characters in utl._url.escape

    Hi I am using httpuri for google translator to convert into different languages.
    While passing the string, to escape the white spaces, I am using utl_url.escape . But many of my words contain special characters like '+ , @ , $ , ) ,. ,; [, ] etc.
    Not sure how to pass these special characters in uri type.
    httpuritype
                  ('http://translate.google.com/?hl=' ||
                    p_from || '&layout=1&eotf=1&sl=' || p_from ||
                    '&tl=' || p_to || '&text=' ||
                   utl_url.escape (p_words) || '#').getclob();few of my words for translation are
    VALERIANA OFFICINALIS L. + HYPERICUM PERFORATUM L. + MELISSA OFFICINALIS L.
    VALERIANA OFFICINALIS L. + HYPERICUM PERFORATUM L. + [ MELISSA OFFICINALIS] L.
    please advise me how to pass these special characters to the URL.

    I am using the below mentioned tranlation function to translate into different languages
    /* Formatted on 16/08/2012 21:55:39 (QP5 v5.215.12089.38647) */
    CREATE OR REPLACE FUNCTION translator (p_words   IN CLOB, -- words to be translated
                                           p_to      IN VARCHAR2, -- language to translate to
                                           p_from    IN VARCHAR2) -- language to translate from
       RETURN CLOB
    AS
       l_uritype   CLOB;
       l_result    CLOB;
    BEGIN
       l_uritype :=
          httpuritype (
                'http://translate.google.com/?hl='
             || p_from
             || '&layout=1&eotf=1&sl='
             || p_from
             || '&tl='
             || p_to
             || '&text='
             || UTL_URL.escape (p_words)
             || '#').getclob ();
       l_result :=
          REGEXP_SUBSTR (
             l_uritype,
             '<span id=result_box class="short_text"><span[^>]*>(.*)</span></span>',
             1,
             1,
             'i',
             1);
       RETURN l_result;
    END translator;
    If i pass input with spl characters - like $ % & + etc - its all getting omited and its not getting translated because i am using UTL_URL.escape (p_words). This is escaping the special characters. But my req is to include those spl character and to get the output.
    converting from german to english
    select translator ('VALERIANA% OFFIC$INALIS L. + HYPERIC+$UM', 'en' , 'de' ) from dual;
    without using the spl chars - program working fine.....
    but if i use spl character i am not gettting o/.p
    Edited by: 950814 on 30 Aug, 2012 7:48 PM

  • FTP ADAPTER: How to handle Special characters

    Hi All,
    We are running into issues with special characters while fpt'ing the file using FTP adapter.
    ex: japanese characters '東邦チタニウム株式会社' would look as '???????????' in the transferred file.
    The following steps are involved in the process.
    1. Reads the data from a database.
    2. Constructs an XML object.
    3. Transforms the data into ftp msg.- In this step the spl. characters are fine
    4. FTP's the msg.
    5. The file on FTP server has issues.
    Tried to change the file type to binary, UTF-8 etc.. but nothing worked.
    Any help/pointers will be highly appreciated.
    Thanks in advance.

    Hi Bhavishya,
    Apparently your SAP database isn't configured to support Unicode. That would be the first solution to your problem, but I can imagine it's a bit drastic to convert your DB.
    A second solution would be to encode the input description to ASCII before storing it in the database. When reading from the database, decode again to Unicode. This way, no information is lost. A suitable encoding would be Base64. e.g.
    String description = "šunday žebra";
    String descriptionBase64 = new sun.misc.BASE64Encoder().encode(
      description.getBytes("UTF-8")); // ""
    // store descriptionBase64 in the DB
    // later, when reading descriptionBase64 from the DB
    String description2 = new String(
      new sun.misc.BASE64Decoder().decodeBuffer(descriptionBase64), "UTF-8");
    Instead of using Sun's implementation, a better alternative is to use the open source implementation
    org.apache.commons.codec.binary.Base64 from Commons Codec . 
    The 3rd approach is indeed to normalize the description by replacing all special characters with their ASCII equivalent. A rather easy solution is as follows:
    String description = "šunday žebra";
    String descriptionNormalized = sun.text.Normalizer.normalize(
      description, sun.text.Normalizer.DECOMP, 0).replaceAll(
      "[^p{ASCII}]", "");
    sun.text.Normalizer decomposes the string, e.g. "éàî" becomes "e´a`i^", after which non-ASCII characters are being removed using a regular expression.Again, note that it's usually a bad idea to use sun.* packages, see note about sun.* packages. The above code only works with J2SE 1.4 and J2SE 5.0, but it breaks in J2SE 6.0 (where
    java.text.Normalizer became part of the public API ;-). A good open source implementation can be found here: ICU4J (com.ibm.icu.text.Normalizer). 
    Kind regards,
    /Sigiswald

  • FM to Remove Characters

    Hi Fellas ...
    I need a FM to remove all kind of characters in a char variable. See the example.
    DATA: lv_char TYPE char10 VALUE 'ABC123',
                lv_num  TYPE char 10.
      lv_num = lv_char+3(3).
    That is one possibility, however, I also can have:
    DATA: lv_char TYPE char10 VALUE 'A1B2C3',
                lv_num  TYPE char 10.
    How I can separate the lv_char to have the same 123 in variable lv_num ?
    I can have all kind of possibilities of numbers and characters scrambled.
    Thx.

    Hi,
    use SCP_REPLACE_STRANGE_CHARS or
    use FM SF_SPECIALCHAR_DELETE
    Import parameters Value
    WITH_SPECIALCHAR ASDASD@@#$ASDASD<
    Export parameters Value
    WITHOUT_SPECIALCHAR ASDASDASDASD
    or you can use the below statement.
    REPLACE ALL OCCURRENCES OF REGEX '[^[:alnum:]]' IN lv_text WITH ''.
    or here is another sample code.
    first cout the string lenght..
    DATA: w_string(255) TYPE c,
          w_str(255) type c,
          w_c1 TYPE i,
          w_c2 TYPE i,
          w_count TYPE i,
          w_sub_str TYPE c.
    CONSTANTS : c_str(22) VALUE '&*=!@#$%[]{}\^|;`"_~'.   "Prohibited Character still you ca add SPL characters
          w_count = STRLEN( w_str ).
    *   Clears the string
          CLEAR w_string.
          w_c2 = 0.
          DO w_count TIMES.
            w_sub_str = w_str+w_c1(1).
            IF w_sub_str CN c_str OR w_sub_str EQ space.
                w_string+w_c2(1) = w_sub_str.
                w_c2 = w_c2 + 1.
            ENDIF.
            w_c1 = w_c1 + 1.
          ENDDO.
          CLEAR: w_c1,  w_count.
          SHIFT w_string LEFT DELETING LEADING space.
    Edited by: Harini Gopinath on Oct 27, 2009 6:31 PM

  • CE Bank Statement Loading

    Hello,
    I'm trying to load a bank statement to the application by defining a new testing template and populating it with the BAI2 template.
    I have redefined the testing template with sample lines information.
    I ftp the dat file as ASCII to the server Bank Statement Loader program results in the following error:
    Exceptions posted by this request:
    Cannot submit concurrent request for program CESLRPROBAI2
    Check if the concurrent program is registered with Application Object Library.
    Check if you specified the correct application short name for your concurrent program.
    I don't know what went rong exactly because I tried to use the standard BAI2 template in the uploading and it gave me the same error.
    Please help...

    Hi,
    Once you transfer the data file to the server, Run Bank Statement Loader" Concurrent Program from Oracle Applications.
    Mention the parameters. Give appropriate Parameter values.Never mention spaces or Spl Characters in the Name of the Data file.Also mention the Path where this data file is placed.
    If you are getting the mentioned error after runnung this Concurrent Program then Let us Know at what point this exception was arised

  • Its very Urgent Guys!!!

    Hi Guys,
    I used a string (str2(70) VALUE '+ - * / ( ) { } [ ] < > & ^ % $ # @ : ; " _ = ! ~ | \ ? / , . ` '.) to replace all the spl characters in a material description but the thing is i could not able to incorporate ( ' ) this spl character,if i do so in the above list am getting error msg.Then how to do ths?
    Please help me in this regard.Its veryy urgent.
    points will be rewarded.
    Warm Regards,
    Mohandoss P

    Hello.
    Use this and you will understand how it works:
    WRITE 'a''b''c'.
    If you want to use ' between ' ' you must double it ... i.e ' ...''.....'
    Bet regards.
    Valter Oliveira.

  • Disadvantage of RSKC

    Hi,
        Can any one tell me what is the disadvantage of RSKC(for special characteristics)

    HI GURUS I HAVE A QSN ASKED IN AN INTERVIEW?IF I AM GETTING DATA FROM R/3 AND IF THERE R SOME SPL CHARACTERS LIKE %,# ETC,THEN WHERE SHOULD I CORRECT THEM? SHOULD I CORRECT THEM ON R/3 SIDE OR ON BI SIDE?I TOLD THAT I WILL CORRECT IT ON BI SIDE BY MOVING TO RSKC T-CODE?SO PLS ANS MY QSN?
    THANKING YOU,SSHIVA

  • Creation of Hierarchies and Categories - Batch Upload

    Hello Experts,
    I have a requirement to create a batch of catories under each hierarchy of a set. I found the standard recording method for batch(BDC) program lil, difficult by locating a parent level category and then click on NEW Category. Because we had a wrong one entered(Errors spl. characters in the name,etc).. it will not proceed with SAVE option in the end. I have an approach of identifying the possible errors from the source file, but still felt not a valid mechanism.
    Can somebody help me out any other way of batch upload, whether any BAPI or standard program.
    Many yhanks in advance.
    Best wishes, Jilan

    Dear Laura,
    I am unable to find the object family values while creating iobject in webui.
    Please tell me how to assign object family to category in comm_hierarchy.
    I have raised a thread for this concern http://scn.sap.com/thread/3396180. please help.
    Regards,
    Maddy

  • How to remove the Excess space

    Hi,
    I am getting spl characters and excess space at the end .
    how can i remove those.we cannot use condence because there are field values
    like          '2344 3423 3423 4343' so condence cannot be used.
    so can any one tell me how can i remove the excess space at the end and spl chars
    as well

    TNKS

  • Failure in creating a dynamic structure

    Hi Guys,
    i get a strange failure while creating a structure from components.
    lr_out_tab ?= cl_abap_tabledescr=>describe_by_data( it_outtab ).
    lr_out_struc ?= lr_out_tab->get_table_line_type( ).
    lt_out_comp  = lr_out_struc->get_components( ).
    lr_new_struc  = cl_abap_structdescr=>create( lt_out_comp ). <-- cx_sy_struct_comp_name exception
    I get this failure, when i have component-names like xxx-yyyy. Does somebody have an idea how to slove this.
    Greetings
    André

    Hello Andre,
    You're getting the error message because the param P_STRICT of the method CREATE( ) is set to TRUE(by default).
    If you set the creation mode as "strict"(P_STRICT = CL_ABAP_STRUCTDESCR=>TRUE), no special characters are allowed in the column names! Since your component names contain a '-' you're getting the exception CX_SY_STRUCT_COMP_NAME.
    If you set the creation mode as "non-strict"(P_STRICT = CL_ABAP_STRUCTDESCR=>FALSE), following spl. characters are allowed:
    #$%&*-/;<=>?@^{ | }
    So in your call you need to set the "non-strict" mode while creating the dynamic structure:
    *   Get the Dynamic structure definition
        TRY.
            lo_structdescr =
              cl_abap_structdescr=>create(
                  p_components = lt_struc_comp
                  p_strict     = cl_abap_structdescr=>false ).
          CATCH cx_sy_struct_creation .                     "#EC NO_HANDLER
        ENDTRY.
    Hope i'm clear.
    BR,
    Suhas
    PS: Check the source code of CREATE( ) if you want to validate

Maybe you are looking for

  • 11.5.10 Installation error on win2003 enterprise server with AMD sampron

    Hardware : AMD sempron 2200+ processor with MSI mother board, 120 gb hdd (Baracoda) , 256 mb ram. Software : windows 2003 server enterprise edition. Installation Reqiurements for ora apps 11i. completed and checked. Error showed at step 2 of 5. while

  • ITunes/iPod problem

    okay.. i have an iPod mini 4GB and whenever i normally plugged it into my USB port, a little box would come up and say what i would like to do. i'd normally just hit cancel but the last time i used it i decided to check the box to never bring up this

  • How can I find the source of report in the executable method= "Spawned" ?

    Dear all: how can I find the source of report in the executable method=>"Spawned" ? Regards,

  • Mouse input lag

    My USB mouse and also other USB input devices like my wacom graphics tablet suffer from consistently reoccuring lags, during which they are unresponsive for about half a second. Somebody an idea, what could cause that?

  • Is it possible to increase the nested layer group limit on Photoshop CS4

    Hi all, Does anyone know if it is possible to increase the limit on nested layer groups in Photoshop CS4. To do a test, I made a group with a blank layer inside, then duplicated this group several times and nested them within each other. Once I have