Skip to Content

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

Integer to string


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

I want to add a integer to a string.


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


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.



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