cancel
Showing results for 
Search instead for 
Did you mean: 

how to allow only main window data to flow on next page in scipt

Former Member
0 Kudos

hi

i have made a z script from the standard F110_PRENUM_CHCk for check printing

i want the check window which is at the bottom of the page after the main window to be printed

only on the first page and the data of main window should flow to the next page if there is a

lack of space

regards

darshan

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

HI,

If data overflows from main window then it get dsiplayed automaticaaly on next page if you have defined any.

Thanks.

Former Member
0 Kudos

Hi Raj,

Increase the size of main window in the second page.

Thanks, Ram.

Former Member
0 Kudos

Hi

In the page:

Page : First page.

Next Page : First Page.

Regards,

Sravanthi

Former Member
0 Kudos

Hi,

Include only MAIN window in your NEXT page. do not include other windows, so that only code and data in your main window would be triggered and displayed in output from 2nd page onwards.

Regards,

Raghavendra

Former Member
0 Kudos

Hi Darshan,

I have the same requirement for CHECK Printing , like you have posted below already,

Could you please provide the solution for this, How did you overcome your requirement.

Thanks a lot in Advance.......

Requirement :

F110_PRENUM_CHCk for check printing

i want the check window which is at the bottom of the page after the main window to be printed

only on the first page and the data of main window should flow to the next page if there is a

lack of space

Thanks & Regards

Rajmohan G

former_member196280
Active Contributor
0 Kudos

Try this,

Go to your custom form and open the check window.. you will see elements 540 and elements 545.

try to add following code under each element

Ex:

/E     540
/:       IF &PAGE& EQ '1'.
***     Print actual cheque
/:      ELSE.
***    Print voided cheque
/:      ENDIF.

/E     545
/:       IF &PAGE& EQ '1'.
***     Print actual cheque
/:      ELSE.
***    Print voided cheque
/:      ENDIF.

I guess above solution will solve your problem, else try to customize your driver program.

Close the thread once your question is answered.

Regards,

SaiRam

Former Member
0 Kudos

hi,

main window has the property that it will flow to the next page once the data is not coming in first page...

and for a particular window to come on a page or not i dont think so any events are possible in case of scripts,

its better u dont place that window in that page ..

hope this helps,

regards,

prashanti

Former Member
0 Kudos

Hi all

I thought Smartform

In smartform we have events

but in case of sapscripts there are no events

but we can control using CONTROL_FORM

Former Member
0 Kudos

Hi Darshan

The moment you use a Main Window automatically the data will flow to the next page if there is insufficient space in first page.

So there is no need to worry

and regarding the check window

is it that you want to print check window only on first page and after main window printing if it is like that

then declare secondary window and use event only on first page.

Cheers

Vikas