Skip to Content
avatar image
Former Member

Silent File upload

Hi

Is it possible to upload a file, using SAPUI5,

from a known file location without the user

having to pick it himself (no file menu),

and sending it thenĀ  to R3?

Thank you

Yuval

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 08, 2015 at 08:04 AM

    Yes.

    But why would you want that..?

    What you could do is use a file uploader control, and not "paint/render" it on the screen.

    Set the uploadURL, then upload the file.

    Documentation:

    JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.unified.FileUploader

    Sample code:

    FileUpload - SAPUI5 Demo Kit

    Though I really question allot of things..

    Would you want to do this with SAPUI5?

    Why would you want to do a silent upload to your R3 system?

    Greetz,

    Caspár

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Yuval,

      Why do you need to get XSTRING at the front-end? You just upload the file and you will get XSTRING at the gateway CREATE_STREAM method that you can use to upload to DMS.

      Even I have the same curosity, what is the scenario that requires silent upload?

      Regards,
      Ekansh