Skip to Content
author's profile photo Former Member
Former Member

I upload Excel File , but get other format file, Why?


I upload files whose format is Excel in BSP. But sometimes I get those files whose format is WAR . The following is that I gain the files type Code:

DATA: data TYPE REF TO cl_htmlb_fileupload,

type1 type string .

CLEAR data.

data ?= cl_htmlb_manager=>get_data(

request = runtime->server->request

name = 'fileUpload'

id = fieldname


type1 = data->file_content_type .

Who had solved this problem , give a hand please .

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 29, 2008 at 06:05 AM

    cl_htmlb_fileupload doesnt change the format. if you upload excel you should get excel only.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.