File download from DMS into Webdynpro for ABAP application
I need to download the file from DMS content server on the PC and with my application on clicking of file name, file needs to be displayed.
To achieve the downloading part I tried BAPI_DOCUMENT_CHECKOUTVIEW2, but it is not working.
If I pass the parameters
PF_HTTP_DEST = 'SAPHTTPA'
PF_FTP_DEST = 'SAPFTPA', then it returns error message saying file can not be saved.
If I don't pass above parameters then it gives me 'RFC_START_PROGRAM' error.
How to download the file from DMS in WebDynpro and read/display the content?
Thanks, in advance.