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

Reg : abab

Former Member
0 Likes
322

Hi,

How to display a word with a single quatation . that is eg ' abab '.

The quotation marks are not getting displayed while using the write statement.

thanks,

sowmya.

1 ACCEPTED SOLUTION
Read only

JanStallkamp
Advisor
Advisor
0 Likes
301

Hi.

I'm not sure if I understand your question right. But if you want to display single quotes with ABAP you normally have to mark them as special characters using a leading single quote. For example:

write: / 'abap'.

leads to

abap
write: / '''abap'''.

leads to

'abap'

I hope that answers your question.

Best regards,

Jan

PS:

As this question is not specific to the platform you are using I will move it to the ABAP-Forum if you don't mind.

1 REPLY 1
Read only

JanStallkamp
Advisor
Advisor
0 Likes
302

Hi.

I'm not sure if I understand your question right. But if you want to display single quotes with ABAP you normally have to mark them as special characters using a leading single quote. For example:

write: / 'abap'.

leads to

abap
write: / '''abap'''.

leads to

'abap'

I hope that answers your question.

Best regards,

Jan

PS:

As this question is not specific to the platform you are using I will move it to the ABAP-Forum if you don't mind.