01-10-2017 10:01 AM
Hi All,
My main window prints serial number for materials inside a table. But when the count of serial numbers goes beyond 2268 (after 13 pages), no output is displayed.If the serial number are below 2260, the output is displayed.
Debugging the form points to the FM SSFCOMP_WRITE_TEXT in which I get sy-subrc = 2 and after 2268, the debugging also stops.
Please let me know if you have any solution for this.
I have checked all the links to this and I am not getting any solution.This link https://archive.sap.com/discussions/thread/706185 is similar to my scenario but I am not able to find any solutions for this.
Thanks!!
01-19-2017 4:15 PM
Hello Arpit,
Smartforms have a limitation that one cell cannot flow over 13 pages. Since you are printing serial numbers in a table cell and the cell is flowing over 13 pages. One possible solution to this problem is to check if count of serial numbers is greater than 2260 (your case), then print serial numbers in a new window (preferably on last page) without using any table or line type.
Regards,
Puneet Desai
01-10-2017 11:54 AM
Hi Arpit,
1)For checking purpose u reduce the font size for that window you just create a new character format with reduced font size. then just apply and see the result
2)Increase the width and Height of the window size check with Alignment problem. That is check margins and positions.
3)check whether you applied any condition for that window
Regards,
Rizu.
01-19-2017 2:17 PM
Quick answer,
Why don't you add after your ssf-call function SSF_READ_ERRORS?
This will give you a clear (more or less) view what is wrong with your form.
Thanks
Tripti !
01-19-2017 4:15 PM
Hello Arpit,
Smartforms have a limitation that one cell cannot flow over 13 pages. Since you are printing serial numbers in a table cell and the cell is flowing over 13 pages. One possible solution to this problem is to check if count of serial numbers is greater than 2260 (your case), then print serial numbers in a new window (preferably on last page) without using any table or line type.
Regards,
Puneet Desai
02-22-2017 6:05 AM
Thanks Puneet for sharing this information. As suggested by you, we are printing serial number in a new window if count is greater than 2260. It has resolved our problem.
Regards
Arpit