Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8652

How to convert string to hexadecimal in ABAP

$
0
0

Hi Experts,

 

There was a special character which was causing error while generating the PDF using dynamic FM. Its an invalid special character which XML technology wont accept.

 

SAP has suggested to implement a NOTE in which we can check and handle all those invalid characters which was causing error while rendering the PDF.

 

If i am using that character directly in abap code[snapshot attached] it is causing me priority 1 ATC check, so i have to handled it in another way.

 

After searching google i found that the other way is

1. i need to first convert the string to hexadecimal code

2. Compare the special character hexadecimal value and remove it from full string hexadecimal code.

 

Now my question is, can you please help me how to convert the string to hexadecimal code and how i will find the hexadecimal code for special character mentioned in the snapshot.

 

Please help me on this.

 

Thanks,

Best Regards,

Bhupinder


Viewing all articles
Browse latest Browse all 8652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>