Skip to Content

Extension of Terms and conditions page in PO smartform

Hi gurus,

I have two pages in a smartforms.....First page and Next Page.......

In Next page field of First page i have given next page. In Next page field of next page i have given next page itself. In main window i have three table's one for PO line item display.. other to print amount in words...third table to display terms and conditions. This terms and conditions i am getting from header text of ME2*N, using read_text am getting the data. Problem is when they are giving more than 9 pages in header text, when clicking printpreview, Print preview is not coming. Why my main window is not getting extended more than 9 pages, is there any limit for main window. it is not accepting more than 9 pages in header text.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Feb 03, 2012 at 05:44 AM

    Hi Rithika,

    As i know there is no limits.

    Regards,

    madhu.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 03, 2012 at 05:45 AM

    There is no such limitation on the main window.

    What do you mean by print preview is not coming? Did you check the sy-subrc of the FM?

    Vikranth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2012 at 06:01 AM

    Hi,

    >>Problem is when they are giving more than 9 pages in header text, when clicking printpreview, Print preview is not coming.

    try to find out by debugging,

    you can debug smart form putting break point in the generated FM code.

    Could be problem with how you are filling the Read_text data into internal table and printing the data.

    check type and how the records are filling the table > could be memory issue on internal table.

    check on what conditions you are printing the terms page and how you are triggering the third pages , i mean condition tab and command window to call the page.

    Add a comment
    10|10000 characters needed characters exceeded

    • Now my issue is solved. But i don understand why its not printing before. I have just used a internal table containing header text data, and added that in the data tab of table node and printed that data using work area. My question is only tables with internal table looping will extend to next page or what? Previously in main window it was in a table and include text is used to print the terms and condition. Does the table without internal table looping will not extend to next page? but i was able to get up to 9 pages before. Can anybody clarify my doubt please.

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.