07-12-2016 3:29 PM
Hello Everyone,
So the requirement I have received is to populate the data in a smartform in the below described way.
The data is to be populated in main window in a table like way with a header, main and footer. The data will be dynamic in nature no way of knowing number of records.
The user want to print the data in left half of a A4 sheet(potrait) first, once left half of the page is filled the data should start filling the right half of the page. Once right side is also done next page left side to be used and then right again and so on,..
Basically it's printing two pages in a single page by dividing in into left half and right half vertically. (Like a newspaper article with 2 columns but here data will be a table form).
I am not sure how to achieve that with smartforms, so if anyone can help me with this it will be a great help.
My Knowledge in smartform: I am beginner in smartform with experience of 10-12 smartforms of midium difficulty.
All responses are much appreciated. And I hope I do make sense of the requirement without confusing anyone.
Thanks & Regards,
Mayank
07-12-2016 5:05 PM
07-12-2016 5:05 PM
07-19-2016 8:44 AM
Hi Juwin, Thanks for your article. It really help me and I am able to get the desired result using this. There is a small problem I am facing here. If I am getting the OTF Data print preview doesn't work. But the user wants to have the print preview option for him. Can you please help me with PRINT_OTF how can I show the print preview to user?
07-19-2016 3:12 PM
Preview can be shown to the user, using DISPLAY_OTF function module.
Thanks,
Juwin
07-20-2016 11:12 AM
Hi Juwin,
Thanks for replying. But the preview I am getting with DISPLAT_OTF is not same as print preview we normally get. e.g. Graphics are not printing at all.
My form has one graphic image, and rest of the data is in nested tables (deep tables).
The user is asking for same preview as we get while pressing 'print preview' button.
Regards,
Mayank
07-20-2016 8:29 PM
Works fine in my system. May be you can provide more information/ screenshots on what is happening.
Thanks,
Juwin
07-12-2016 8:34 PM
maybe you can use extra one or two key elements or count index for example: if index between from 1 to 8 left side and add 8 to index and 9 to 16 right side.