This workflow from DVW Analytics uses the Alteryx Connector for SAP (ACS) to demonstrate how to use the SAP Document Read - SO tool to extract attachments from finance document stored in ECC and the SAP BAPI tool to upload the extract attachments to a S/4HANA environment.
.

The SAP Document Read - SO tool can extract SAP Office attachments in any of the SAP supported MIME type formats including texts, images, audio, video and applications including PDF, MS Word, MS Excel, MS Powerpoint etc.
The SAP BAPI tool can execute SAP standard BAPIs and remote enabled function modules (RFC). BAPI - SO_DOCUMENT_INSERT_API1 allows the upload of attachments to SAP document repository. BAPI - BINARY_RELATION_CREATE_COMMIT is used in the last step to link the uploaded attachment with the finance document.
The sample workflow uses the SAP Document Read - SO tool to extract attachments from finance document stored in ECC and the SAP BAPI tool to upload the extract attachments to a S/4HANA environment.
Tool used:
SAP Document Read - SO tool
SAP BAPI Write
Works with:
SAP ECC/S4HANA