Skip to Content
-2
Jul 25, 2020 at 11:50 AM

How to replace double quotes with single quote in AMDP ?

601 Views Last edit Jul 25, 2020 at 01:03 PM 4 rev

Hello Folks,

How to replace double quotes " with single ' quotes in AMDP?

I tried this way SELECT REPLACE (:lv_String, '"', '''') "replace" FROM DUMMY; but it's not worked for me, getting below error.

String is '( Material EQ "RMME03" OR Material EQ "RM122" )'

Expecting result is `( Material EQ 'RMME03' OR Material EQ 'RM122' )`.

is there any ways? could you please help me on this?

Thanks & Kind Regards,

Bhargava

Attachments

skvmj.png (32.8 kB)