on 04-08-2024 6:21 PM
Hello SAP experts,
I need your help. Currently, I am programming a button to export a story to PDF in SAC. The script for the button is as follows:
ExportToPDF1.setFileName('LibroMayor');
ExportToPDF1.setPageRange([1]);
ExportToPDF1.setPageOrientation(PageOrientation.Portrait);
ExportToPDF1.setPageSize(PageSize.Auto);
ExportToPDF1.exportView();
Contador1 = Contador1 + 1;
Bookmarks.saveBookmark({name: 'LIBROS', isGlobal: true, isDefault: true}, true);
The story includes a long table, and the exported table is missing rows, even when the 'Auto-size' and 'page table vertically' options are enabled.However, when I export the story through the 'File > Export' route, the export works correctly, and the table is exported with all its rows.
Could you please advise me on what I need to include in the button script to export the complete table? Thank you #SAC
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.