cancel
Showing results for 
Search instead for 
Did you mean: 

SC attachments

Former Member
0 Kudos

Dear Gurus,

I had a requirement that all the SC and PO attachments which are in GUIDs need to convert to original format like PDF, XML, XLS etc. I have downloaded all the attachments list from the table BBP_PDATT.

How to convert all the attachments to original format and get the dump.

Please send your ideas and thoughts to accomplish this.

Regards,

Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

get attachments data using BBP_PDATT_GETDETAIL function modul (exporting parameter et_attach) in your own report.

Then, using GUI_DOWNLOAD method from CL_GUI_FONTEND_SERVICES class, you will be able to download (depending on the full path used as file name) attachments in background on your desktop.

Exporting parameter filetype has to be 'BIN' (binary).

Regards.

Laurent.