cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform: Need to print a text in a main window table when page change

Former Member
0 Kudos

Hello Everyone,

In my requirement, I need to print a smartform main window with a table control which will look like following:

Page1:

____________________________

| Header 1              |  Header 2    |

|________________|___________|

|  Line 1                                     |

|  Line 2                                     |

|  Line 3                                     |

|  Line 4                                     |

|  Line 5                                     |

|___________________________ |

Page2:

____________________________

| Header 1              |  Header 2    |

|________________|___________|

|                                   The Text |

|  Line 6                                     |

|  Line 7                                     |

|  Line 8                                     |

|  Line 9                                     |

|  Line 0                                     |

|___________________________ |

i.e. if any page break happens, we need to print the text "The Text" in the 1st line of the main area.

We can not print "The Text" text with sfsy-page NE old sfsy-page check, it will print "The Text" after Line 7 (as the sfsy-page will change after a single line print).

1. we can't restrict the number of line.

2. we can't print the text in the header.

So can anyone please suggest any possibility?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Florian
Active Contributor
0 Kudos

You need to create an own linetype for your longtext and you just add no frame around. Then you get exactly what you are asking for.

~Florian

Former Member
0 Kudos

Thanks Florian... now its working fine .... thanks a lot

Answers (1)

Answers (1)

Florian
Active Contributor
0 Kudos

Hi Arup,

just put a second line in your header and make it just makr the checkbox "not at first side" (or similar to that).

That's it.

I don't see any problems with that.

~Florian

Former Member
0 Kudos

Hi Florian,

Thanks for reply.

I have tried above solution.

But In that case following is the output:

Page2:

But I need the output like this:

Page2:

Please suggest.

Thanks