Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to FTP ABAP spool

Former Member
0 Kudos

Dear Experts,

I need to develop a report, where I need to send the ABAP spool request on to a FTP server at Clients location.

Kindly advice your valuable inputs.

Regards,

Nuri.

2 REPLIES 2

Former Member
0 Kudos

Guys any help !!

Former Member
0 Kudos

Hi,

Check this FM.

CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'

EXPORTING

rqident = w_spoolno

  • FIRST_LINE = 1

  • LAST_LINE = LAST_LINE

TABLES

buffer = buffer

EXCEPTIONS

NO_SUCH_JOB = 1

NOT_ABAP_LIST = 2

JOB_CONTAINS_NO_DATA = 3

SELECTION_EMPTY = 4

NO_PERMISSION = 5

CAN_NOT_ACCESS = 6

READ_ERROR = 7

.

if sy-subrc ne 0.

write: / 'Spool List Read Failed',sy-subrc.

stop.

endif.

You can loop thru internal table BUFFER to get the spool list data.