# in Material Description for some materials which is causing alignment issue in SAP ABAP

497 views Asked by At

How to take out # from Material Description ? and anyone know why # exists in some materials.

1

There are 1 answers

3
mkysoft On

Sometimes user copy/paste texts from internet/email and paste it to SAP GUI. So some characters not saved/displayed correctly and SAP replace them with #.

You can use ES_REMOVE_SPECIAL_CHARACTER FM for removing special characters. Also you can create your own with TRANSLATE command.

TRANSLATE lv_string USING '# @ £ § ! & '.