ABAP EXCEL file upload download with SMW0

Source: Internet
Author: User

T-code:smw0

Only binary data is introduced here, and the HTML template is uploaded as well.

Alternatively, you can use the CBO table to manage the file to see my other blog post: CBO table management file upload download

Select binary

Write Package Name:

Click New after entering

Press the input button after entering the object name and description

Select File

Upload complete.

If you are prompted for the following information.

MIME types can be maintained.

In the menu:

Click the New button.

Save it.

Download:

Data:ls_wwwdata_item like Wwwdatatab, "
Lv_file TYPE rlgrap-filename. "

Lv_file = ' C:\a.doc '.

SELECT Single *
into corresponding fields of Ls_wwwdata_item
From wwwdata WHERE OBJID = ' ZARA002 '.

Call FUNCTION ' Download_web_object ' "
Exporting
KEY = Ls_wwwdata_item
DESTINATION = Lv_file.

ABAP EXCEL file upload download with SMW0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.