cancel
Showing results for 
Search instead for 
Did you mean: 

Tabulator in Smartforms

wolfgang_brunneder
Participant
0 Kudos

Hi!

I'm facing the following problem: I'd like to print a sapscript-text (SE75) which may contain tabulators using smartforms (= input parameter of the smartforms-FM; type TLINETAB). Unfortunately the tabulators are only displayed with ',,' (which is the input-format of tabulators in the sapscript-editor). My idea was to replace the ',,' with cl_abap_char_utilities=>horizontal_tab before calling the smartform-FM but then the tabulators are displayed with '##'.

Any advice is appreciated! Thanks in advance!

Regards

Wolfgang

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

,,-type tabs work is smartfoorms as well. just attach a smartstyle.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Wolf,

You create styles in "smartforms" T.code

select style radiabutton give name like ZXXX. under select paragraph format right click press on create node, give name like "C"

Go to tabs, under give like this

No Position Unit Alignment

1 3 CM Left-Aligned

What ever create paragraph format C will give in text editor like

C : ,, ( ,, symbol it will take 3 CM position)

Regards,

Bhupal.

wolfgang_brunneder
Participant
0 Kudos

Hello Bhupal!

Thanks for your reply! I've checked your suggestion - it works if the ,,-tabulators are defined in the editor. However, the tab-information (,,-Symbols) is contained in a variable TEXT_LINE of type TLINE, because I'm reading a longtext from a SE75 text-object which contains tabulators.

I need a solution to transfer the tab-information from SE75 text to smartform! Thanks in advance!

Regards

Wolfgang

Former Member
0 Kudos

Hi Wolfgang,

Create a smartstyles for tabulater, use it in your for.