cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Displaying Double Headings

Former Member
0 Kudos

Hi Experts,

I have created several smartforms for my project and am having problem with them displaying double headings whenever I happen to have a page break. I have used several options under Conditions tab like "Only on Page Break" etc.. but still they either display two headings or they do not display any headings.

I was wondering if there is another way of doing this. I only want the main headings to display again on the next page.. but not the subheadings.

Thank you a lot!

Val.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

Have you tryed to use a variable as a flag?? What I mean is to ask if you are on a header print the values, but if you are on subheaders....dont....

something like that...

Bye

Gabriel P.

Former Member
0 Kudos

The use of a flag might work and I hd thought about it.. I was just wondering if there was another easier way for solving this problem.

The use of flags is time consuming as I have a lot of headings.

Thanks,

Val.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Val,

I understood that u r talking abt table header ......if u r missed out try the below things....

1) table-->header--->double click--> print time--->check on.. at page break.
         
 2) create separate line type to print header try to check on no page break option.... but i am not sure it will work or not..


3)  use the system field for page no and work as below...
                if sfsy-pageno... is 1 
                         flag = 'X'.
                use alternative if flag = 'X'.
                         true
                                  print text......
                                 program lines --> clear flag.
                        false.
                 endif.

Feel free to contact me if issue is not resolved...

reward points......

Regards,

Sreenivasa Sarma K.