Solution : https://service.sap.com/sap/support/notes/642848 (SAP Service marketplace login required)
Key words :
method parameters flt_val importing type cad_system rename_allowed importing type char01 default space document importing type plm_document return exporting type bapiret2 documentfiles changing type t_bapi_doc_files2 flt_val, callback parametersexporting flt_val rename_allowed document usefilenamefromsap filenamefromsapimporting returntables documentfiles parametersexceptions communication_failure = 1 system_failure = 2 flt_val, rename_allowed type char01 default space, usefilenamefromsap type char01 default space, flt_val type cad_system, return type bapiret2, document type plm_document, filenamefromsap type char256, return parameter documentfiles, direct integration --> 'register document'
Related Notes :
1156829 | Important SAP notes for the SAP PLM interface |
963551 | Callback package for SolidWorks and Solid Edge integration |
841569 | CDESK: SolidWorks generating and uploading PDF formats |
624343 | CDESK: BAdI, rename and attach originals to DIS |