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

Checking single quotation mark

Former Member
0 Likes
294

Hallo

I have a probelm

I want to check in a if block the value of single quotation mark '

how can I do it in sap

regards

1 REPLY 1
Read only

Sm1tje
Active Contributor
0 Likes
270

I don't know your exact situation, but for me this works:


PARAMETERS : p_string TYPE string LOWER CASE.

IF p_string CA ''''.
  WRITE:/ 'Yes'.
ELSE.
  WRITE:/ 'No'.
ENDIF.