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

Smartform Printing line items

Hi,

I am printing line items in smartform, at the end it should display no of items & total amount how to do so. Please give steps in detail.

Item Currency Amount

1 Inr 10

2 Inr 50

Total 3 60

LIke this, Points Assured

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Nov 24, 2007 at 04:32 AM

    Put the code in the MAIN section of the MAIN window to calculate the no of items and Total Amount.

    l_tot_no = l_tot_no + 1.
    l_amount = l_amount + ITAB-AMOUNT.

    Print these both variables in the FOOTER section of the MAIN window.

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 06:10 AM

    Hi,

    the item will work but the sum of items should be displayed in footer i want to do all the sum of totals in line items & display in footer.

    how to do so.

    Thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 06:10 AM

    Hi,

    the item will work but the sum of items should be displayed in footer i want to do all the sum of totals in line items & display in footer.

    how to do so.

    Thanks in advance.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 07:32 AM

    Hi Rahul,

    You can code in smartform itself using program lines inside th loop.

    Regards,

    Sreeja.

    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.