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

line item

i have a zsapscript copy of standard and driver program is standard program. i shud not change driver program.

now, after printing all line items i need to add standard text in main window. i cant chnage the driver program.

the problem is how can i know the last line item in the main window...

my logic:

IL &MARA-MATNR&

/: INCLUDE ZTEST OBJECT TEXT ID

but output is like:

123

standard text

234

standard text

345

standard text

my required output is:

123

234

345

Standard Text

after competion of line items standard text shud be printed.

hope u got the point.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 05:04 PM

    Hi,

    Create a new text element for the include..

    /E INCLUDE

    /: INCLUDE..

    Call the write_form after the endloop of the matnr..

    LOOP AT ITAB.

    • PRINT MATERIAL NUMBERS.

    ENDLOOP.

    CALL FUNCTION 'WRITE_FORM'

    TEXT_ELEMENT = 'INCLUDE'.

    Thanks,

    Naren

    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.