How to replace special characters in Purchase order item text in ECC 6.0

Hi All,
Now i am working in ECC environment.
I am unable to replace the special characters in the PO short text for example take the following text.
Job#Burst Fire 3930-00092#Heater Control
here i want to replace # symbol with space.
i used  replace all occurences, find , transfer, overlay keywords to replace thta special characte but it is not replacing that character.
i used replace_string FM also.it is also not working.
please help me out in this. points will be rewarded.

Hi Praveena,
what replacement(s) did you try?
Please
replace all occurrences of
CL_ABAP_CHAR_UTILITIES=>newline
CL_ABAP_CHAR_UTILITIES=>cr_lf
CL_ABAP_CHAR_UTILITIES=>form_feed
CL_ABAP_CHAR_UTILITIES=>horizontal_tab
CL_ABAP_CHAR_UTILITIES=>vertical_tab
CL_ABAP_CHAR_UTILITIES=>backspace
CL_ABAP_CHAR_UTILITIES=>minchar
CL_ABAP_CHAR_UTILITIES=>maxchar
minchar is HEX u201900u2018 in non-Unicode systems, U+0000 in Unicode systems
maxchar is HEX  Xu2018FFu2018 in non-Unicode systems, U+FFFD in Unicode systems
If it still does not help, check the remaining # characters in debugger, switching to hex mode: Then you may see what it is.
Regards,
Clemens

Similar Messages

  • Issue at Purchase order Item Text Transferring

    Hello,
    I have an issue with Purchase order Item text transferring from SAP R/3 to EDI.
    Here I am using Function Module - IDOC_OUTPUT_ORDERS.
    within the function module i have user exit to populate this.
    User Exit Name : EXIT_SAPLEINM_002
    Include name : ZXM06U02
    I need to populate data manually ( Hardcode ) for E1EDPT1 is 'LINK'.
                                                     and    E1EDPT2 is " some text".
    When I write the code at user exit ,it is populating so many time Link Field.
    However i need to get only one time for each Item of Purchase order.
    and also I have one more question as per SAP Standard Purchase order each item has :
    1. Item text
    2. Info record PO Text
    3. Material PO Text
    4. Delivery Text
    5. Info Record Note
    when Create PO and it created Idoc ,even when i fill all the text ,when i see data at WE02 ,it has only few text not all.
    Please give me advice ,how should i follow.
    Thanks
    Seshu
    Issue at Purchase order Item Text Transferring

    Hi,
    Do this check before adding the text..
    IF INT_EDIDD-SEGNAM = 'E1EDPT1'.
    add the text..
    ENDIF.
    Thanks,
    Naren

  • Purchase orders item texts incorrect display

    Hi everyone,
    i am having a bit of a hard time solving an incorrect display of purchase orders item texts.
    For an unknown reason, i can't manage to modify the item's text of a purchase order, it's as it has been set on "display".
    I checked AKTH, ME21,ME21N and PT0F( the item i use) on spro :
    Materials Management=>Purchasing =>Purchase Order= > Define Screen Layout at Document Level =>  Reference data item for the texts and it's always set on Optionnal Entry.
    I even tried to set them on Requested Entry but i didn't manage to get the text-item field modified.
    Any kind of help would be appreciated.
    Thanks.
    Siidou

    Yes i did, thanks.
    I found the answer: when the item-text is set on Requested Entry, sap considers it as if it was set on dispalay.
    I set the item text in AKTH, ME21,ME21N and PT0F on OPptional entry and i can modify it again.

  • Purchase order item text and material valuation class

    Dear Experts,
    A purchase order item text needs to be maintained for a particular material valuation class when the PO is created, is there anyway that this can be customized?

    Hi,
    Maintained Text in Material master record
    patah:Goto material mater change view,select plant view, then go to puchase order text there u
    can maitain material text. same text is automatically comes while creating Purchase order.
    regards,
    Ali

  • How to replace special characters in string.

    Hello,
    I want to replace special characters such as , or ; with any other character or " ".I find out there is no such function is java for this.There is only replace() but it accepts only chars.If anybody know how to do this?.
    Thanks,

    Hello,
    I want to replace special characters such as , or ;
    with any other character or " ".I find out there is no
    such function is java for this.There is only replace()
    but it accepts only chars.If anybody know how to do
    this?.
    Thanks,Can't you just do the following?
    public class Test
         public static void main(String[] args)
         String testString = "Hi, there?";
         System.out.println(testString.replace(',',' '));
    }

  • How to disbale the Purchase order item texts (Material PO text)

    Hi,
    In ME22n, i want to disable texts for material  at item level . i tried thru SPRO , but it disables header and item level texts.
    How can i achieve this ? 
    Thanx,

    Hi Khushi,
    I think you cannot disable them but you can delete them using T.Code OLME(But it is not suggestible).follow the path Purchase Order>Texts for Purchase Orders>Define Text Types for Item Texts. Here you have to delete.
    But why you want to disable any text to be written in PO?
    Thanks & Regards,
    Rock.

  • Purchase Order Item Text

    Hi..
    I need to have an report similar to the Output as in the ME2l ( Purchasing Documents per Vendor ) along with a field ( Long Item Text Field in the PO)
    added to the report. I am not sure how i should proceed further...
    Can anyone of please guide me how to proceed further...
    Thanks
    Balaji

    Hi Anji...
    Thanks for the Logic.  As you said i went into the Goto --Header  and i got  the below info.
    Text name       950001604400001                          
    Language        ES                                       
    Text ID         F01  Item text                           
    Text object     EKPO       Purchasing doc. item texts    
    Now this info has to be passed on to the Functional Module READ_TEXT.
    and the text obtained should be plugged in the Loop of EKPO Internal table.
    Can you say me how to look at the Internal Table of the Std Report ( ME2L)..
    Thanks for the support ..
    Regards
    Balaji

  • How to preserve special characters in dynamic textfield for text comparison?

    The problem is as follows:
    Since I mostly develop for multiple languages I am forced to have dynamic textfields in my buttons which contain three lines (to account for the differnt text.lengths in different languages).
    I then populate the textfields with strings out of an array or xml and use the textfields contents later in my button class to execute different code depending on the textfields content.
    This works fine as long as I don`t use any special characters, like for example "\n".
    var labels:Array = ["\nLABEL1","LABEL\n\n2"];
    switch (e.currentTarget.txt.text)
                    case labels[0]:
                        doSomething();
                        break;
                    case labels[1]:
                        doSomethingElse();
                        break;
    shows the right thing in the button label (breaks the text were I want it)
    but stops to work
    (with htmlText &  <br> its the same)
    my workaround for the moment is to use filler spaces,
    var labels:Array = ["                   LABEL1","LABEL                                                                        2"];
    but that`s obviously ugly to setUp and requires a lot of trial/error to get it right for all languages.
    Any ideas how to bypass that?

    Bad habits die hard ;-)
    Weird enough spelling the problem out and getting this response from you cleared my head and  I finally got an easy solution.
    I simply attach a dynamic property to the movieclip, copy the array contents into them and instead of using the text-property for comparison I compare the MovieClips fresh created spectext property.
    Voila: Now I can be lazy without too much of a bad conscience.

  • How to show Special Characters like (∠) in an Embedded text field

    I want to show some special characters like (∠). It is working fine if we don't embed the text field. But I want to use superscript and subscript font, so I have to embed that dynamic text field. When I embedd the texfield it does not show me the (∠) symbol. Instead it shows me a square symbol. Please let me know how can I solve this problem. My project is nearly finish except for this part.
    Thanks in advance
    Salim

    Yes, I know we need to include the symbols. But  I am unable to include it. Whenever I click on embed option and paste the symbol (∠) in the include these characters box, it appears as a square symbol. This is driving me nuts.
    I even tried to embed All (54665 glyphs). But this is not working either.
    Has anyone faced this problem before?

  • Purchase Order item text not present in accounting documents after MIGO

    Hello all,
    in ECC 5.0 I create a PO using ME21N. Afterwards the GR is done with MIGO.
    For the moment the PO item text is not transferred to the FI documents. The field BESEG-SGTXT is empty. Is there a possibility to copy the text during GR from the PO item to SGTXT?
    In fact I am looking for a customizing path and not a User Exit.
    Thanks and regards
    AD

    Hi,
    You can fill the field header text on the 'Details' tab
    (This is field INVFO-BKTXT) and this field will be copied into
    the FI document fields BSEG-SGTXT for the vendor line and BKPF-BKTXT.
    You can fill directly the field SGTXT for the account lines ( if you
    post directly to an account) and for the purchase order lines."
    Also please review attached notes.
    453027     MIRO: Segment text for vendor line
    366412     MIRO: Enhancement LMR1M004 item text
    MIRO and the FI Enjoy transactions were designed seperately to meet the
    needs of their respective components - FI and MM. As they were not
    designed in conjunction, there are differences in their functionality.
    Not all information in one component will be updated in the other.
    Best Regards,
    Arminda
    Please also review attached note 42615 as this explains how settings
    in transaction ob14/ob41 effect the field INVFO-SGTXT in Miro.

  • Purchase Order Item text in Workflow

    Dear All.
    In my workflow i am using a single "Send Mail" Step.
    The notification mail is getting triggered when Purchase Order is created.
    My requirement is in the mail "main body" i want to display the items of the Purchase Order.
    Kindly adivce me what to do.
    Rahul.

    Hello,
    There are lot of variables at the item level. Inspite of this you can call Display method of BO Bus2012. Else if you want to sent at the mail step itself then create a background step, fetch all the variables at item level and mentioned the same in mail step.
    Regards.

  • Purchase order item text version management is not creating.

    Dear sap professionals,
    I have an issue in item text as per customer need I created item text type as drawing number, the problem is when ever an user change drawing number review in text area system should create new version number,  but in present case instead of creating new version number the data is updating in existed version number.
    Same time I am not able to trace field name and table used for this specific drawing number type, do I need to do any new configuration for that or I missed any  thing in this process.
    Did any one experienced same issue?
    With Regards,
    Ranganath

    ranganath.kakarla wrote:
    Dear sap professionals,
    >
    > I have an issue in item text as per customer need I created item text type as drawing number, the problem is when ever an user change drawing number review in text area system should create new version number,  but in present case instead of creating new version number the data is updating in existed version number.
    > Same time I am not able to trace field name and table used for this specific drawing number type, do I need to do any new configuration for that or I missed any  thing in this process.
    > Did any one experienced same issue?
    >
    > With Regards,
    > Ranganath
    Hi,
    path:mm-purchasing-version management-Set Up Version Management for External Purchasing Documents
    Doc.cat will be F means po, Doc type will be NB & p.org of ur client
    in control data active both version acrive & version 0 ok.
    in field selection reason, shorttext& requestor is required option & save
    give the reason for ur inputs
    in Set Up Change Displays category willbe f for all doc types
    Regards
    Raj.

  • How to replace special characters with html code characters automatically?

    A colleague and I work on these html pages. They eventually end up as emails, but we have the cold fusion server to pre process them. One thing we are trying to do is eliminate problems caused by unencoded copyright, trademark and smart quote symbols.
    How could I create an array of find / replace commands in the header so it processes the HTML with correct character codes.
    I"m not cold fusion aware, so any kind of starter info would be great. Eventually I might add more replacements to the array.
    As an example TM (font character) would process to &trade; and a smart quote or apostrophe would process to a straight one. an en dash character would become &ndash;
    Because we copy paste from places, this often happens and it seems like cold fusion could solve the problem quickly and repeatedly all at once.
    thanks for any help
    -smick

    CF has a built in HTMLEditFormat function for handling <  &  > characters.  For handling trademark and smart quote characters you might try searching for a user defined function at http://cflib.org or writing a user defined function yourself that will handle the specific characters needed in your application.

  • Use Word Editor for purchase order header text

    Dear community!
    Currently in our system when we create purchase order header text we are using the standard sap text editor.
    I saw another system where they are using some kind of microsoft word editor plug in to create purchase order header texts and purchase order item texts.
    I would like to figure out how I can activate this editor in the system.
    Any help is appreciated - full points will be rewarded
    Thanks & regards
    Alex

    Hi,
    I tried to do that....
    but we are on SAP_BASIS 701 / 0008 / SAPKB70108
    when i start the report I get the message:
    MS Word is a default editor now.  Please read SAP Note 742662.
    hints???

  • How to remove special characters while typing data in edit cell in datagrid in flex4

    Hi Friends,
    I am facing this problem "how to remove special characters while typing data in edit cell in datagrid in flex4".If know anyone please help in this
    Thanks,
    Anderson.

    Removes any characters from
    @myString that do not meet the
    provided criteria.
    CREATE FUNCTION dbo.GetCharacters(@myString varchar(500), @validChars varchar(100))
    RETURNS varchar(500) AS
    BEGIN
    While @myString like '%[^' + @validChars + ']%'
    Select @myString = replace(@myString,substring(@myString,patindex('%[^' + @validChars + ']%',@myString),1),'')
    Return @myString
    END
    Go
    Declare @testStr varchar(1000),
    @i int
    Set @i = 1
    while @i < 255
    Select
    @TestStr = isnull(@TestStr,'') + isnull(char(@i),''),
    @i = @i + 1
    Select @TestStr
    Select dbo.GetCharacters(@TestStr,'a-z')
    Select dbo.GetCharacters(@TestStr,'0-9')
    Select dbo.GetCharacters(@TestStr,'0-9a-z')
    Select dbo.GetCharacters(@TestStr,'02468bferlki')
    perfect soluction

Maybe you are looking for

  • I am unable to copy fillable fields from a pdf form into Microsoft Word or notepad....Help! thank you!

    I am unable to copy fillable fields from a pdf form I created in Adobe X Pro into a Microsoft Word or Notepad document. Please help! Thank you!!

  • Itunes 7 not playing songs

    I just upgraded to iTunes 7 on a fully loaded Quad G5 and now I can't play any of my songs! I click to start a song and the timeline does not move. I can drag the songs to the desktop and play them in Quicktime but nothing in iTunes......What gives?

  • Itunes 7 Installer

    Hey everybody! I bought a new iPod Touch, and the manual told me to download iTunes 7 from the website. I did so, and then tried to run the installer... Nothing happens. I double click on the installer, the pointer with the hourglass shows up; then i

  • Payment details

    I mapped my credit card details for payment but now I want to delete it, how can I do this in LUMIA 610 ?

  • MSS CO Reports

    Hi, I do have a question regarding MSS CO reports,  we have around 55 cost centres and the requirement is that each manager looks only at his own Cost Centre report. Is there any way where i can create a role that depends on OM structure whereby the