‎2006 Mar 24 5:16 AM
Hello everyone,
I inserted a Tabstop using the method:
CALL METHOD OF h_word 'FormatTabs'
EXPORTING
#1 = '1,25 cm'.
But how can I insert a Tab when I'm writing the text?
There is a method called 'NextTab()' but how do I use it?
E.g. when I insert "1.1 (tab) XYZ...".
Thank you!
‎2006 Mar 24 5:19 AM
Hai Kiran,
To insert tab you can try two options:
DATA: lv_text(20) type c.
1.
lv_text+2(1) = CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
or
2.
concatenate 'aa' CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB 'bb' into lv_text.
Regards,
Srikanth.
Reward points if helpful.Thanks in advance..
‎2006 Mar 24 5:19 AM
Hai Kiran,
To insert tab you can try two options:
DATA: lv_text(20) type c.
1.
lv_text+2(1) = CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
or
2.
concatenate 'aa' CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB 'bb' into lv_text.
Regards,
Srikanth.
Reward points if helpful.Thanks in advance..
‎2006 Mar 24 5:47 AM
Thanks Srikanth.Its now working....
CALL METHOD OF h_word 'FormatTabs'..This was the only problem.