cancel
Showing results for 
Search instead for 
Did you mean: 

Form Printing

Former Member
0 Kudos

Hi Guru's

I getting all the output records to internal table each record should be printed in different page like first record to page1, second record details to page2.. like this output should come...what should i need to do please provide me details

Advance thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

create a command just before the main windows display and in its general attributes check the check box go to new page and in its conditions tab..set Falg = X.

now inbetween the loop of ut table or templet, crete program lines and write the code as below.

data : lv_lines type i.

describe table i_vbak lines lv_lines.

clear flag.

if sy-tabix LT lv_lines.

flag = 'X'.

endif.

remember that these program lines must be after command...

Try this,

Former Member
0 Kudos

if you are using smartforms use command line and in the loop or table that you are using.

or next-page command for scripts

Former Member
0 Kudos

Hello.

if there is any change in the record you can call the new-page command in the form.

Regards,

Midhun Abraham