Replace Tab with space in SAP ABAP

You just need to make a small change. You need to add an “If condition” for handling the tab as shown below −

if <field Name> CO gc_hex_char

I think it should sort out your issue and neither it looks like hardcoding or a wrong implementation.

Sai Subramanyam
Sai Subramanyam

Passionate, Curious and Enthusiastic.