Skip to Content
author's profile photo Former Member
Former Member

Print different text elements on the same line

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 06:29 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 08:32 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 04:17 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2008 at 08:55 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 07:21 AM

    Thanks Panjay.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.