06-28-2016 10:38 AM
Dear All,
There is SAP std program for Employee leave absense report (RPLABSG0_ABSENCE_OVERVIEW ), we have copied and enhance with few additional fields.
We have schedule these program for background processing. As this is ALV report, the output is getting automatically write to spool. Here we are facing issue when we are downloading the spool file as the number of count displayed in spool is not same as the actually downloaded file. Downloaded file is contains less records. When we compare it to the std program spool, std program spool is generated correctly. While debug I checked the number of records passed to REUSE_ALV_GRID_DISPLAY are same in both programs.
There are few diff in both program that I have notice is, Z program has LINE-COUNT set to 65535 which is not in std program.
Another diff is, in standard program TOP_OF_PAGE is set and Structure name is passed.
Can any one guide me what will be exact issue. How I can resolve it. We are downloading spool using SM37.
Thanks In Advance.
P$G
06-28-2016 12:46 PM
How do you "download" the spool? Note that when you display a spool (SP01/SM37), only the first ten pages are displayed by default.
You should also read the documentation for LINE-COUNT. Really 65535 lines per page?
06-28-2016 1:03 PM
This is an ALV, so why don't you wrap it (*) in another report with class cl_salv_bs_runtime_info, so you would will be able to display or download it.
Regards,
Raymond
(*) or adapt your clone, was it not possible to enhance standard report?