cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding the smartform pages.

Former Member
0 Kudos

Hi Gurus,

I am working on smartform. i need to print 2 pages form. Both the pages are having the same format and header. But the internal tables are different. suppose one internal for first page is empty then i need to print the second page as first page. how to do this. what type of conditions i need to keep?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

add command line ...(Right clk goto flow logic and command)

....

in general aatribute check goto page 2..

if check whether 1st table has data...

if not process 2 nd

...

Ashish

Answers (4)

Answers (4)

Former Member
0 Kudos

Thank you

Former Member
0 Kudos

go to global definitions and there go to tabpage initialisation.

program there: when the first internal table is empty give the field control_parameters-startpage the name of your second page else the name of your first page.

now depending of the content of the field control_parameters-statpagina the wanted page will be your first page to start with. when you give each page the same name as next page there will be no interference between the two pages.

Regards,

Guido

Former Member
0 Kudos

hi praveen,

Right clk goto flow logic and command and create it ...

general attribute check goto page 2

put a check on 1st table has data ar not ....

if not then use 2 nd internal table ...

regards,

prashanti

Former Member
0 Kudos

Hi

Before the loop starts in the first page for the first internal table, Create a command node..and then write a condition saying...

There,in the attributes give Go to New Page..and give the page number. In the conditions tab give itab = initial.

Vishwa.