‎2008 Nov 03 5:23 PM
Hi
I need a exact 4 tab space between each fields in the downloaded notepad.
Regards
Sathya
‎2008 Nov 03 5:26 PM
Concatenate CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB into your field four times.
Darren
‎2008 Nov 03 5:33 PM
Hi Darren
Thanks for your timely reply
Can you explain me what this class does so that it helps me to incorporate the same in my program
Regards
Sathya
‎2008 Nov 03 5:40 PM
You only need to use the attribute of the class HORIZONTAL_TAB, this is a TAB in a character field.
You can concatenate this attribute 4 times into another field and use that as your separator for your data.
Darren
‎2008 Nov 03 5:53 PM
hi
if you wanted to do in a generic way , you will declare a variable
data: lv_tab type X value 09.
concatenate lv_tab lv_tab lv_tab lv_tab into string.
this is the generic way of doing it.
now we have a global variable alrady exiting in this class CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB so why to declare it again.. when we have it.. so CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
‎2008 Nov 03 6:23 PM
Hi Darren
Thanks a lot
What should i do if i need a 4 space other than tab in the notepad
Regards
Sathya
‎2008 Nov 03 6:39 PM
you can try some thing like this..
concatenate var1 `` `` `` `` var2 into somevar.
‎2008 Nov 03 7:47 PM
concatenate space space space space into varable.
concatenate f1 varable f2 varable.... into ..