on 05-30-2014 4:54 PM
Hello Everybody,
i would like to get a file ( PDF) by using the Path ! Is there any Function Builder Or Methode who gives me the file as return value by calling it with the Path as Parameter.. ( files are on the Application server)
i m trying to use this Methode for getting this file in my web dynpro application without using the MIME Objects repository...
please put some light of this !
any suggestion will be vey appreciated !
Best regard
Omar
Hi Omar,
You need to use OPEN_DATASET & READ DATASET statements to get the file from application server.
Steps:
Please refer the below links
Upload File from SAP Application Server using ABAP
Application Server Program - ABAP Development - SCN Wiki
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try with this
CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE(
EXPORTING I_FILENAME = LV_FILENAME
I_CONTENT = LV_CONTENT
I_MIME_TYPE = LV_CTYPE
I_IN_NEW_WINDOW = ABAP_TRUE ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.