Example: CREATE_WITH_FILES
Use
data: o_document_set type ref to cl_bds_document_set.
create object o_document_set.
move: '1' to wa_signature-doc_count,
'1' to wa_files-doc_count,
'C:\SAPPCADM' to wa_files-directory,
'BDSPresentation.PPT' to wa_files-filename.
append wa_signature to i_signature.
append wa_files to i_files.
call method o_document_set->create_with_files
exporting
classname = 'MyApplication'
classtype = 'OT'
changing
object_key = i_object_key
files = i_files
signature = i_signature.