Printing apostrophes ( ' ) in ABAP is really tricky as in ABAP coding we have to give values in quotes like 'Ricky World'. So how to use WRITE: 'Ricky's World' ? If you try to type this it will give syntax error!
The trick is use three apostrophes instead of one.
1 2 3
| DATA: LINE(20) TYPE C. CONCATENATE 'You''' 'll be there.' INTO LINE. WRITE:/ LINE. |
or simply :
1
| WRITE:/ 'You''ll be there.'. |