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

need suggestion in smartform

Hi,

I am passing range of invoice numbers using select options from driver program.I have to get form(one per page) for each invoice number.ie form for first invoice number should be displayed in first page.form for 2nd invoice number should be displayed in 2nd page and so on..if i select 3 invoice numbers in select options i should get 3 forms in 3 pages..how to do this?if anybody knows kindly help me.

Thanks in advance.

kavitha

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 12:17 PM

    here are the steps:

    1) Create a Internal tabel inside Smartforms (SF) which will contain the Invoice numbers.

    2) Pass all the Invoice numbers from the range to the Internal Table

    3) Loop at the internal table

    4) In the Loop pass the Invoice number in begin of Sort and end of Sort.

    5) at the Begin of Sort Print all the data for the Invoice

    6) At end of Sort Give a command to go to Next Page.

    Hope That helps

    Anirban M.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 12:17 PM

    It depends on how you would like to see the output

    If you also want to see them in print preview that way then

    You will have to create a loop in main window of yopur page

    The loop should contain all the logic for 1 invoice.

    At the end of each loop iteration place a command node to break to a new page

    Another way of doing this is trapping all the individual smartform outputs in one spool request. But u will have problems with print preview i think.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 12, 2007 at 12:18 PM

    Hi,

    Loop at the itab at the start of the all the windows.

    Regards

    Shiva

    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.