on 02-24-2012 7:41 AM
Hi ,
I have a requirement in smartform. In a variable window, there is an include text used to print the long text . The issue is that it is printing only few lines and not all the lines it should have printed as maintained in the database text.
All the text maintained needs to be printed. If the text do not fit in the space allowed ,then the entire text needs to be printed on separate page.
Is it possible? and how?
Hi,
If you use varibale vindow(secondary) then if the data exceed size of window data will get truncated.
USe main window ,now include text within main window,for main window if data size is more than main window automatic triggering will take place and data will print in next page
Thank and regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am not getting exactly how you thinking but, if you use * include text * condition like only on first page condition we can assign.
Better use * READ_TEXT * FM and pass the variable corresponding text to smartforms then in * program line * we can check the data ,count the lenght of text ,we can assign condition to print the text.
Thank and regards
Hi Monalisa,
Advisable to use include text only.
The fM READ_TEXT may not recognise certain special characters while printing.
If you use the Include text inside the main window(Except under a template), the remaining text will automatically be displayed in the next page.
Please try it and write back.
Regards
Rijuraj
Hi,
A better way would be to use read text. But if you cannot remove that node, a workaround would be :
You would have fixed no of lines in your variable window.Say it is 3.
Now use read text to get standard text in your program. Get the no of lines.
If it exceeds the no of lines for the window, write a command to print it to next page.Else print it.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.