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

How to convert type N to STRING

Former Member
0 Likes
592

HI,

I need to convert number 2008000 into a STRING

What is the ABAP code to acoomplish that?

thank you

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
519
data: str type str.
data: n(10) type n value '1234567890'.

str = n.

Regards,

Rich Heilman

HI,

I need to convert number 2008000 into a STRING

What is the ABAP code to acoomplish that?

thank you

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
520
data: str type str.
data: n(10) type n value '1234567890'.

str = n.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
519

hi,

do this way ..


data : var type i,
         v_string type string.

v_string = var.

REgards,

Santosh