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

good receipt smartform

hi

i had created a smart form for goods receipt.my requirement is i want it in 6 copies

first copy is original and remaining five are duplicates i want dup1 and dup2 and so on must be printed on them.

how can i do it.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 11:00 AM

    what ever way i need 6 copies please help?

    Add a comment
    10|10000 characters needed characters exceeded

    • Create a table, append 6 lines to it and loop at it in your main window. Everything in your main window goes under this internal table's loop. Before the end of this loop after all your other stuff put a command to go to a new page1.

      Under types tab in form to create table type and structure

      TYPES: BEGIN OF is_copies,

      copy(1),

      END OF is_copies.

      TYPES: t_copies TYPE TABLE OF is_copies.

      Under Global data:

      IT_COPIES TYPE T_COPIES

      WA_COPIES TYPE IS_COPIES

      Under Initialization Tab

      APPEND it_copies 6 times.

      In Main Window

      LOOP AT it_copies INTO wa_copies.

      OR create the internal table in your program and call the smartform 6 times.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 08:18 AM

    hi bala r u printing all the 6 ar the same time or you r calling 6 times

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 11, 2007 at 08:28 AM

    Hi,

    I once used a internal table in my form with a field for form header. In the initialization part of the form I appended lines each for each copy of the form and header for that form, 'Customer Copy', 'Original Copy', ect. Then I used it in my main window and nested loop for items under this. Main window was the first window in the form and hence the header window would then print this value from my internal table for it was already populated in the main window. Windows in the form gets processed top-down. By adding a command to go to new page after each loop of headers will then start a brand new form with new heading.

    This worked for me quite well.

    Regards,

    MG

    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.