Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Uncompress file with ABAP

Hello,

I'm using function 'FTP_COMMAND' with COMPRESS = 'Y' option

and I have successful download but <b>I don't know how to uncompress file</b>

is someone can help me?

thanks

call function 'FTP_COMMAND'

exporting

handle = v_hdl

command = v_cmd

COMPRESS = 'Y'

tables

data = tt_result

exceptions

tcpip_error = 1

command_error = 2

data_error = 3.

if sy-subrc ne 0.

write :/5 'Unable to transfer Data'.

exit.

else.

write: /5 'Transfered Data to Ftp Destination'.

if v_close = 'X'.

clear v_close.

delete dataset p_file.

if sy-subrc = 0.

write : /5 'File Deleted From appl.Server after Reading'.

endif.

endif.

endif.

Former Member
Not what you were looking for? View more on this topic or Ask a question