‎2007 Sep 05 12:48 PM
hello friends,
i have to concatenate the value of material classification which im gettin through a function module together in a variable and display it in the report
there r 6 fields which i have to concatenate in an particular manner only
like ab/c+de/f
now if say 'b' and 'e' are initial then the output should be like
a* /c+d* /f , that space which b and e r taking should be there only,
i cant use concatenate here since it wil remove the spaces
so wat exactly i should do 2 preserve that space
‎2007 Sep 05 12:51 PM
Hi Amit,
You can use contacatanate by using space by passing the variable by not the values.
Regards,
Ameer Baba.
‎2007 Sep 05 12:51 PM
Hi Amit,
You can use contacatanate by using space by passing the variable by not the values.
Regards,
Ameer Baba.
‎2007 Sep 05 12:53 PM
Hi,
see this code.
data:name(15).
concatenate 'my' ' ' 'name' into name <b>respecting blanks</b>.
write:/ name.
<b>reward if helpful</b>
rgds,
bharat.
‎2007 Sep 05 12:53 PM
Hi
You can use " SEPARATED BY SPACE", in the concatenate statement
this will add a single space after each of your variable.
Cheers
Ravish
<i>
Reward if useful</i>
‎2007 Sep 05 1:03 PM
Hi amit,
its simple just declare those two variable as type N(numeric text). If it does not contains any values, it holds only spaces. I have checked it is working....
<i><b>Reward points without fail</b></i>
Regards
Sreenivasa K.