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

Field value containing '

Former Member
0 Likes
739

Hi,

If i give v_field = '222' in the program,

in debugging i wil get v_field = 222.

how can i get v_field = '222' in debugging including the symbol?

Regards,

Arun.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
713

Hi Arun,

I guess the field type should be of Char if you want to include the single quotes.

give it a try

Regards

Farheen

4 REPLIES 4
Read only

Former Member
0 Likes
714

Hi Arun,

I guess the field type should be of Char if you want to include the single quotes.

give it a try

Regards

Farheen

Read only

0 Likes
713

I tried giving char it is not working.

Read only

0 Likes
713

Then may be you need to concatenate the single quotes explicitly. But not sure why do you need the value in single quotes in debugg mode?

Code Snippet

DATA:v_field TYPE char20.

CONCATENATE '''' '222' '''' INTO v_field.

WRITE v_field.

Regards

Farheen

Read only

0 Likes
713

Issue solved by giving V_IND(4) VALUE ''''. So i debugging it will come as single quote.