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

write apostrophe '

Former Member
0 Likes
1,572

Hi,

I need to write the Character ' but when i write for example :

wa-description = 'xxxx''.

he give me an error : Literals that take up more than one line not permitted.

how can i resolve that please?

Thanks for your help and your reply.

Spawnrad

1 ACCEPTED SOLUTION
Read only

rainer_hbenthal
Active Contributor
0 Likes
1,016

wa-description = 'xxxx'''.


wa-description = `xxxx'`.

5 REPLIES 5
Read only

rainer_hbenthal
Active Contributor
0 Likes
1,017

wa-description = 'xxxx'''.


wa-description = `xxxx'`.

Read only

abdul_hakim
Active Contributor
0 Likes
1,016

Hi

Check the below logic.

data value(10) type c.

value = 'xxxx'''.

write value.

Cheers,

Hakim

Read only

Former Member
0 Likes
1,016

wa-description = `xxxx'`.

thanks for your reply that's work

Read only

Former Member
0 Likes
1,016

hi,

use the statement

WRITE: ' wa-description = 'xxxx' ' '. '

REGARDS,

ANIRBAN

Read only

Former Member
0 Likes
1,016

DATA : w_var type char20.
w_var = 'Swastik''s'.
WRITE / w_var.