Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Integer to string

Hello

I'm new to ABAP and I'm trying to do a simple thing.

I want to add a integer to a string.

i.e.

Data: ANumber : I,

AString : String,

NewString : String.

Concatenate AString ANumber into NewString.

I don't know how to convert the integer into a string type?

Any ideas

Andrew

Tags:
Former Member
Former Member replied

Just assign the number to the string directly.

data lv_num type i.
data lv_str type string.

lv_str = lv_num.

Please mark points and close the thread if the solution was useful.

Regards,

Manoj

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question