Skip to Content
avatar image
Former Member

SAP Script -Removing Blank Space

I am working on Customer Accounting Stmt.

On First Page I have to display header window , main window , account and footer window

Account window will be displayed on last page only.

Account window is phisically present after main window.

So blank space is getting created after main window.

My question is how to remove this blank space?

How to change the main window size dynamically?

Or any other solution to this problem?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Dec 16, 2008 at 07:22 AM

    Hi,

    You can increase the length of main window, write the code of account window and display it only when the SAPSCRIPT-formpages are equal to Page ( ie., current page ). I believe this will solve your issue.

    Regards

    Thabitha.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      In my prog this SAPSCRIPT-formpages are equal to Page condition is not working.

      so I have used next-page = 0 condition to check last page.

      If data is more than one page then blank space is created in every page for account window

      I cant overwrite the windows because I dont know how many pages are coming.

  • avatar image
    Former Member
    Dec 16, 2008 at 09:57 AM

    Hi,

    for that u have to create a new paragraph format. in that paragraph a u have to check the

    no blank space. and then u have to assign the paragraph format in window.

    regards

    sathis

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 16, 2008 at 10:40 AM

    Hi

    If u want to change the line used in main window dynamically, just check the checkbox(No blank Lines) as tick in the standard push button of ur used paragraph formats(say P1) in main window. Thats all.

    I hope this will resolve ur issue.

    Regards

    Srimanta

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 16, 2008 at 12:34 PM

    Hi Vimal,

    Check this link

    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=windowonlastpagescript&adv=false&sortby=cm_rnd_rankvalue

    Regards,

    Sravanthi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 29, 2009 at 10:24 AM

    Window size can not be changed dynamically

    Add comment
    10|10000 characters needed characters exceeded