cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script -Removing Blank Space

Former Member
0 Kudos
740

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?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Window size can not be changed dynamically

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.