Skip to Content
-2

Regarding printing totals in smartforms

Hi Gurus,

I am using a smartform to print totals, totals need not be printed or each page should be printed at the end of all the line items . for that I had used a template and printed using at the end of main window event. Now i got an additional requirement to add one more page after the totals. If I add that new page the event end of main window is not triggering where as if I remove the new page the end of main window is triggering. Please help how to overcome this.

thanks,

balu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Dec 29, 2017 at 08:13 PM

    If there are totals then there is likely a relevant table. In that table, add a footer and check "at end of table" checkbox. Put totals in the footer.

    If you placed an additional page within the same main window then, naturally, end of main will occur when the whole main window ends. This seems logical.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 22, 2017 at 03:23 PM

    Please search on google or other search engine:

    sap smartforms totals on end page

    I found the very first link gave the snswer.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 28, 2017 at 01:18 PM

    OK - I've used this before - so it is not copying:

    Write your totals using this if statement:

    sfsy-page eq sfsy-formpages.
    If you want to go to the next page - in your code block add one to sfsy-formpages.

    Thank you for searching first,

    Michelle

    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.