04-01-2009 2:44 PM
Hi Experts,
Can anyone tell me how to concatenate a quantity and character field as I need to pass this to
smartform and show as for example 5,000 KG.
Thanks is advance!!!!!!!!!!!!!
04-01-2009 2:46 PM
HI,
Move the quantity data to char field ans use the this char field in the concatenating.
DATA L_QUAN TYPE CHAR15.
WRITE QUANTITY TO L_QUAN.
CONCATENATE L_QUAN 'KG' INTO I_VAL.
04-01-2009 2:47 PM
try "write to"
After that try to read a book first to get information about abap coding.
04-01-2009 2:47 PM
v_qnty = 5000
v_unit = 'KG'
WRITE v_qnty TO v_quan.
Concatenate v_quan ' ' v_unit into new_variable.