‎2012 Nov 18 9:36 AM
Hi gurus!
I need to submit sap standard program RPRCCC_READ_BTA and than I need to send the result by email.
This is what result message looks like:
My code is:
SUBMIT rprccc_read_bta TO SAP-SPOOL USING SELECTION-SET 'TEST1' AND RETURN.
Now I need to take data from spool. I can use FM RSPO_RETURN_ABAP_SPOOLJOB, but I need to know Spool Request Number, where can I get it?
‎2012 Nov 19 7:48 AM
‎2012 Nov 18 11:07 AM
First you could use EXPORTING LIST TO MEMORY so you no longer have to worry about spool number. Then call FM LIST_FROM_MEMORY to get the data to memory.
Else use, before SUBMIT, call FM GET_PRINT_PARAMETERS to insure not immediate print and delete of the spool. The spool number will be sy-spono.
Regards,
Raymond
‎2012 Nov 18 11:26 AM
Hi Raymond, thanks for you answer, but unfortunately it's not working. In List from memory I am geting two records with two numbers and no text
‎2012 Nov 19 7:48 AM