Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8545

Re: smartform multiple pages printing issue

$
0
0

Hi,

In page1 - general attributes page1.

 

 

1)main window

2)loop at itab

3)code:  N = n + 1.

4)command go to new page page1.  conditions N > 1.

"""""""""""""""under loop.

After the loop.

 

code:

describe table ITab lines lv_lines.

 

LOOP AT ITab

lv_count = lv_count + 1.

 

IF lv_count = lv_lines.

   lv_flag = 'X'.

ENDIF.

endloop.


4)command go to new page page2.  conditions lv_flag = X.



In page2 - general attributes EMPTY.


SECONDARY WINDOW CONDITION LV_FLAG = X.

LOOP ITAB.

ENDLOOP.




IF I GIVE PAGE 2 GENERAL ATTRIBUTES AS PAGE 1 MEANS EMPTY PAGE IS APPEARING.



Viewing all articles
Browse latest Browse all 8545

Trending Articles