Couple of years ago, with the need for a quick prototyping setup, I created a very basic PERL script for removing non ASCII characters from a data file, that I wanted to upload into BW. This script helped me get around those upload failures typically associated with special characters. This is especially handy if your sandbox BW installation is not Unicode enabled.

 I had shared this script with colleagues and partners who have used it for prototyping, proof of concept (PoC), demos etc. They found it useful. It makes my life very easy, especially for those characters which cannot be RSKC escaped. Pls bear in mind that this is not solution meant for production usage.

Assuming no knowledge of PERL, I have listed out the steps you would need to follow, from start to finish. I am also assuming a Microsoft Windows based OS environment.


    1) Get perl (I downloaded the free version from this website: )
    To report this post you need to login first.


    You must be Logged on to comment or reply to a post.

    1. Karol Seman

      I personally don’t like an idea of using third party  to eliminate these characters. From my point of view is much better to use simple ABAP code. In my transformations I used to use following logic:  assign asci_stroff(1) to <fs> casting type x.<br/>  if <fs> le hex1 or <fs> ge hex2.<br/>    asci_stroff(1) = ‘ ‘.<br/>  endif.<br/>  add 1 to off.<br/>endwhile.<br/> <br/>write:/ asci_str.<br/><br/>It is easy to enhance this logic with GUI_UPLOAD to get file into table and loop over this table instead of using char variable only …

      1. Rajesh Prabhu Post author
        Hi Karol

        Thanks for your response. Its great to have options.

        The purpose of my utility is for prototyping. In prototyping activities, speed is key. I feel that my method (atleast for me, since I already have PERL) this is one of the fastest ways of getting to a workable file that can be loaded into BW.

        Your ABAP program, in my opinion, might be more suited for actual productive use.

        But, as I said, the more options we have the better.

        Ruby anyone?



    Leave a Reply