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: 

Field value containing '

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

I tried giving char it is not working.

0 Kudos

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

0 Kudos

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