The function module RSPO_DOWNLOAD_SPOOLJOB can be used for downloading the spool to the local file. You need to...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
pass the spool request number to the function module.
Please note that this function module fits only for the ABAP lists, and not for the spool with images.
PARAMETERS: * Spool Request number p_spool LIKE tsp01-rqident, * File name and the location to store p_file LIKE rlgrap-filename.
CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB' EXPORTING id = p_spool fname = p_file.
Dig Deeper on SAP ABAP