2022 Nov 23 2:35 PM
Hi Experts,
Could you please let me know if we can schedule a background job which basically creates a log or spool or display ALV O/P for 2 lakh records and download that in excel sheet for about 2lakh + records in excel. I am running on S4 HANA OP system.
Thanks,
Veera G
2022 Nov 23 5:29 PM
Excel allows max 1 million records per sheet, so 2 lakhs (200.000) is fine.
Look in the forum for cl_salv_table=>to_xml for explanations about generating an Excel file (works even in background).
(or use abap2xlsx if you want to customize the format in the Excel file).
2022 Nov 23 2:35 PM
Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with: https://community.sap.com/resources/questions-and-answers, as it provides tips for preparing questions that draw responses from our members.
For example, you can:
- outline what steps you took to find answers (and why they weren't helpful)
- share screenshots of what you've seen/done
- make sure you've applied the appropriate tags
- use a more descriptive subject line
The more details you provide, the more likely it is that members will be able to respond. Feel free to also take our Q&A tutorial at: https://developers.sap.com/tutorials/community-qa.html
Should you wish, you can revise your question by selecting Actions, then Edit.
By adding a picture to your profile you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html
Questions on how to draw responses from members? Check out this discussion on how to improve questions. https://groups.community.sap.com/t5/welcome-corner-discussions/advice-from-sap-champions-questions-a...
2022 Nov 23 5:29 PM
Excel allows max 1 million records per sheet, so 2 lakhs (200.000) is fine.
Look in the forum for cl_salv_table=>to_xml for explanations about generating an Excel file (works even in background).
(or use abap2xlsx if you want to customize the format in the Excel file).
2022 Nov 28 10:27 AM
Hi Sandra,
Thanks for your reply. I would like to execute a program in background as background job which has an output of 50 fields and around 2 lakh records. I want to display the ALV output as spool so that it can be downloaded later in excel format . Kindly let me know if this is possible.
Thanks,
Veera
2022 Nov 28 2:13 PM