Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Removing Binary characters from string

Former Member
0 Likes
425

Dear gurus,

I have a string entered by users in database from where i am pulling data into SAP BW.

Th problem is that the string contains binary characters. It is showing error and cant be upoaded

Is there any function module/ code that removes binary data an special chrs from string??

Pls help. thanks.

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
384

which bi.chars.?

you can use translate command:

DATA trhex(4) TYPE x VALUE '0020'.

TRANSLATE bstring USING trhex.

hope that helps

Andreas

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
385

which bi.chars.?

you can use translate command:

DATA trhex(4) TYPE x VALUE '0020'.

TRANSLATE bstring USING trhex.

hope that helps

Andreas