Application Development 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: 

concatenate " ' " to fild name

former_member191391
Participant
1 ACCEPTED SOLUTION

Former Member
0 Kudos
data : v_char(5).

concatenate '''' 'abc' '''' into v_char.

write : v_char.

Message was edited by:

Chandrasekhar Jagarlamudi

8 REPLIES 8

former_member223537
Active Contributor
0 Kudos

concatenate ''' 'abc' ''' into l_field.

Former Member
0 Kudos
data : v_char(5).

concatenate '''' 'abc' '''' into v_char.

write : v_char.

Message was edited by:

Chandrasekhar Jagarlamudi

Former Member
0 Kudos

data : text(10).

concatenate '''' 'ABC' '''' into text.

write : / text.

regards

shiba dutta

Former Member
0 Kudos

Hello,

Do like this.

Data: output(5) value 'abc',
         comma value '''.

concatenate output comma into output.
write: output.

Vasanth

Former Member
0 Kudos

Hi Manmeet,

Find following code to get the result. You will have to use the cotes present on the top left corner of the keyboard.

<i><b>DATA: FLD1(5),

FLD2.

FLD2 = `'`.

FLD1 = 'AB'.

CONCATENATE FLD2 FLD1 FLD2 INTO FLD1.

WRITE FLD2.

WRITE / FLD1.</b></i>

This sort out your issue.

PS If the answer solves your query, plz close the thread by rewarding each reply.

Regards

Former Member
0 Kudos

Hi Manmeet ,

You need to do it this way

concatenate <b>''''</b> 'abc' <b>''''</b> to v_test.

Regards

Arun

Former Member
0 Kudos

Try this,

DATA: v_add TYPE C,

v_field(5) TYPE C,

v_title(10) TYPE C.

v_field = 'ABC'. " Let v_field be ur field.

v_add = ''''. " Four times '

CONCATENATE v_add v_field v_add INTO v_title.

Write:/ v_title.

Former Member
0 Kudos

Hi Manmeet,

data : text(10).

Concatenate ' ' ' ' 'abc' to text.

wtite:/10 text.

output will be <b> 'abc</b>

reward points if helpful.

Regards,

Hemant