2007 Sep 26 1:30 PM
Dear All,
I have two texts ' Material ','Material description'.
If i concatenate them as
concatenate 'Material' 'Material description' into l_text seperated by space.
then l_text = Material material description
But what i want is after Material i need 10 spaces and after material description i need 19 spaces.
i.e l_text = Material Material description .
How to do this ?.
Or let me know is there any fm which gives all the field description in a single text field when we pass an internal table(not a standard table) into it.
Thanks in advance.
2007 Sep 26 1:32 PM
hi shobna,
Instead of concatenate use write
example write 'example' to text+(10).
it u can use offset for ur purpose.
regards,
Santosh
2007 Sep 26 1:32 PM
hi shobna,
Instead of concatenate use write
example write 'example' to text+(10).
it u can use offset for ur purpose.
regards,
Santosh
2007 Sep 26 1:33 PM
concatenate 'Material' ' ' 'Material description' ' ' into l_text.
2007 Sep 26 1:35 PM
Hi
declare 2 variables like
data: str(10) type C,
str1(19) type c.
string(70).
now do like this and see
CONCATENATE 'Material' str 'Material Description' str1 into STRING.
write: / STRING.
Regards
Anji
2007 Sep 26 1:35 PM
let a = 'material'.
b = 'material description'.
c = strlen(a).
d = strlen(b).
e = f = ' '.
do c-1 times.
concatenate ' ' e into e.
enddo.
do d-1 times.
concatenate ' ' f into f.
enddo.
concatenate a e b f.
Thats it.
Please reward if helpful.