SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
249 stars 73 forks source link

Can't able to upload excel file using node rfc #308

Closed nilesh-bhoi closed 6 months ago

nilesh-bhoi commented 8 months ago

We have created an function in sap . whenever we call this function we will take excel file from file manager now i have to implement this by using node rfc library, can you help me to resolve this issue

bsrdjan commented 8 months ago

Hello @nilesh-bhoi,

you basically need to stream the local FILE object. The example below might help:

Check ui component to select or drag/drop file to upload: ui-file.html ui-file.js

and check the this Python service "POST" method for DMS document upload. It works the same way with nodejs server/serve.py#L302

If more support needed, consulting services can be provided, not free of charge.