cancel
Showing results for 
Search instead for 
Did you mean: 

Print different text elements on the same line

Former Member
0 Kudos

Hi all,

1.

Is it possible to print different text elements on the same line ? with multiple write_form

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'TITLE1'

WINDOW = 'INFO'

EXCEPTIONS

ELEMENT = 1.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

element = 'TITLE2'

function = 'APPEND'

WINDOW = 'INFO'

EXCEPTIONS

ELEMENT = 1.

How to print TITLE1 and TITLE2 on the same line ?

TITLE2 in bold.

2. How to print 2 text elements on the same line with include statement ?

/: include test1 ...

/: include test2

Thanks

Edited by: Moo Yac on Sep 22, 2008 8:23 AM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks Panjay.

messier31
Active Contributor
0 Kudos

Hi,

For this you will have two create two windows and call include text in each window. It is not possible to in main the way you are trying to do.

Enjoy SAP.

Pankaj Singh

Former Member
0 Kudos

To be more specific :

I want to print the following

Text_symbol1:$Var1$ Text_symbol:$Var2$

on the same line.

where Text_symbol1 and Text Symbol2 are defined in SO10 for different languages.

Thanks.

Former Member
0 Kudos

Have you tried using PARAGRAPH '= ' in the second include to just continue on the same line?

Former Member
0 Kudos

Hi kodityla,

I m not talking about fixed texts.but about printing 2 includes on the same line :

/: include ztekst1 object id st.

/: include ztekst2 object id st.

Former Member
0 Kudos

Hi,

Within the layout:

you can do this way:

<b1>field1,, <b1>field2,,<b1>field3

here b1 rep the barcode font

and ,, represents the tabs.

Regards,

Shiva Kumar.