cancel
Showing results for 
Search instead for 
Did you mean: 

2 Table in 2 Window Smartform

Former Member
0 Kudos

Hi All,

I am having 2 tables for continious printing.

iatb1 is in main window, which working fine and printing data.

itab2 is in window01 but not printing all recoreds, only printing 1st page fine and next page onwords same data printing,

here itab2 need to be print in every page like itab1 data.

Please provide me your inputs.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

i understood the requirement

in the first page it may display some ten records for itab2.

in the next page it should start from 11 th record

so you know that window is static

for ex every time 10 records will fit in that

what you do now is

go for program lines after the loop of itab2

if there are more than 10 records...

delete itab from 1 to 10

so wehen athe next page triggers it will display from the 11th record

regards,

Venkatesh

Former Member
0 Kudos

Hi Venkatesh,

Well, it solved now.

i like to share this, so every one can use this logic.

in 2nd windoe for itab2.

create alternative. >>>> true --- loop itab2 (ROW 1 - 5 ) >>> TABLE.

FALSE -- loop itab2 >> program line >>

delete itab2 from 1 to 5. >>> table.

Thanks for this idea.

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

do one thing

put the table in side the main window by creating a template

after the main window got looped this will be looped and

or you have to delete the records after the records from this table got printed

then it will not repeated...

when the window got completed write program lines and refresh the tabkle

regards,

Venkatesh

Former Member
0 Kudos

Thank yopu Sharayu/ venkatesh,

Printing place of both itab is diffrent.

itab is in mid of page and itab2 is in corner left-down side. b/w this some more text we printing.

Printing Stationary is Preprinted also.

Hope you will get clear view of Req.

Thanks.

Former Member
0 Kudos

you can print tables in the main window only...

so increase the size of main window and incorporate both the tables in the main window only...