Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

download file in different formats(its urgent)

Former Member
0 Kudos

Hi experts,

I have a problem when downlaod a file in different formats.

File should be downloaded 3 Formats.

1. DWG

2. DXF

3. PDF

this file is used for CAD Drawings.

So i required a Functional Modules to generate a file in 3 different formats.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Use class CL_GUI_FRONTEND_SERVICES

Reward if useful!

former_member194669
Active Contributor
0 Kudos

Hi,

You can download an internal table data (of report format) into PDF


CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = i_pfad
filetype = 'BIN'
* IMPORTING
* FILELENGTH =
TABLES
data_tab = i_att_cont
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
OTHERS = 5.

But DWG DXF are third party specific, i think in SAP we don't have functional modules to download in these

aRs

Points are always welcome