cancel
Showing results for 
Search instead for 
Did you mean: 

EXCEL NOt generating properly on FTP

Former Member
0 Kudos

Hi All,

I am facing a problem in file creation on FTP.

The problem is .xls file is getting created but the data inside the file is not in the excel format its in text lines....

Iam Using FM

CALL FUNCTION 'FTP_R3_TO_SERVER'

EXPORTING

handle = hdl

fname = w_remfile

character_mode = 'X'

  • blob_length = blob_length

TABLES

text = itab

EXCEPTIONS

tcpip_error = 1

command_error = 2

data_error = 3

OTHERS = 4.

IF sy-subrc = 0.

ENDIF.

PlZ Help

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

But How can i Use this FM to create a file on FTP server????

Former Member
0 Kudos

someone plz reply!!!!!!!

Shabarish_Nair
Active Contributor
0 Kudos

Bhatt,

this is a forum for PI. I guess for your requirement you could post the query in the ABAP forum to get better and faster replies.

Former Member
0 Kudos

So What shoul be the solution for this ???

If you have Kindly provide...

former_member192295
Active Contributor
0 Kudos

Hi,

Current using function don't have that option,I think we can sortout your problem with WS_DOWNLOAD function also, please cehck with below link

http://www.sap-basis-abap.com/sapac011.htm

former_member192295
Active Contributor
0 Kudos

Hi,

I think the problem is due to space betwen columns. Between two columns Tab space should be there else we can't get proper format in xls file. Currently you are getting all columns data into one single column in xls file due to above problem.