‎2008 Jul 23 12:07 AM
hi,
i am writing code like
concatenate space itab-field into itab2-field.
but when i check itab2 in bedbug it is not giving space before data.
‎2008 Jul 23 12:16 AM
Try this.
concatenate space itab-field into itab2-field separated by space.
Cheers
Amandeep
‎2008 Jul 23 4:35 AM
Hi,
Concatenate doesn't take SPACE automaticaly.
use syntax,
CONCATENATE SPACE itab-field INTO itab2-field SEPARATED BY SPACE.http://help.sap.com/saphelp_nw70/helpdata/en/9f/db998835c111d1829f0000e829fbfe/content.htm
and please resolve your previous unresolved posts. It is against the rule of engagement of forum to unresolve more than 10 posts at a time.
Regards,
Anirban
‎2008 Jul 23 4:43 AM
Hi ,
CONCATENATE ' ' itab-field INTO itab2-field .
i hope this will help you...
Thanks & Regards
Ashu Singh
‎2008 Jul 23 5:17 AM
HI....
YOU CAN USE CONCATENATE ' ' itab-field1 into itab-field2 seperated by space.
or else you can use offset.
that is itab-field2+0(4) = ' '
itab-field2+5(2) = itab-field1.
something like this....
how many characters of field2 you want as space you can mention in the offset.
thats it.
‎2008 Jul 23 6:30 AM
Hi,
PLz try this piece of code :
data:f1(5) type c value 'dhanu',
f2(2) type c value '',
f3(2) type c value 'p',
f4(10) type c.
CONCATENATE f1 f3 INTO f4 separated by f2.
write: f4.hope this helps.
plz reward if useful.
thanks,
dhanashri.