Chapter 082
SAP Web Repository File Upload download
Source : http://abapjoy.blogspot.com
Let’s see how to upload/download file to the
sap.
1. File Upload
Transaction Code : SMW0
- check Binary data for WebRFC applications and execute
- Input object name, Description and upload file by upload icon.
2. File download with functioin
SELECT SINGLE
*
INTO
CORRESPONDING FIELDS OF LS_WWWDATATAB
FROM
WWWDATA "
WHERE
OBJID = “object name you input when uploading.
CALL FUNCTION 'DOWNLOAD_WEB_OBJECT'
EXPORTING
KEY = LS_WWWDATATAB
DESTINATION = “the full destination folder and
name”
Ex) C:\XXX\YYY.xlsx
|
No comments:
Post a Comment