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

Convert quan value to string

former_member203806
Participant
0 Likes
3,631

Dear All

How to convert quan type value to string type value.

rgds

pramod

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,468

Use a

[WRITE|http://help.sap.com/abapdocu_70/en/ABAPWRITE.htm] quan [UNIT|http://help.sap.com/abapdocu_70/en/ABAPWRITE_INT_OPTIONS.htm#&ABAP_ADDITION_11@11@] uom [TO|http://help.sap.com/abapdocu_70/en/ABAPWRITE_TO.htm] string.

Regards,

Raymond

Read only

atanu_mukherjee
Explorer
0 Likes
1,468

Hi,

You can use MOVE statement as well. Check the below code :

DATA: val1 TYPE quan3,

val2 TYPE string.

val1 = '125.113'.

MOVE val1 TO val2.

WRITE: val2.

Hope this helps.

BR,

Atanu

Read only

Former Member
0 Likes
1,468

Hi Pramod,

Please check this link