call function 'ARCHIV_CREATE_TABLE'
exporting
ar_object = lr_connection->ar_object
object_id = lr_connection->object_id
sap_object = lr_connection->sap_object
doc_type = conv toadd-doc_type( lr_connection->reserve )
filename = conv toaat-filename( lr_attachment->name )
document = lr_attachment->content
importing
outdoc = ls_outdoc
exceptions
error_archiv = 1
error_communicationtable = 2
error_connectiontable = 3
error_kernel = 4
error_parameter = 5
error_user_exit = 6
error_mandant = 7
blocked_by_policy = 8
others = 9.
Où lr_attachment->content
est une chaîne XSTRING d’un BASE64.