Skip to Content
0

How can I use CREATE_DEEP_ENTITY method to upload multiple files?

Dec 03, 2017 at 04:43 AM

165

avatar image
Former Member

Hello All,

I have designed a SAPUI5 screen where I need to upload multiple files along with multiple table entries into the SAP Backend system. I was able to SAVE table entries using CREATE_DEEP_ENTITY but could not find any solution to upload multiple files using this method.
I am aware of CREATE_STREAM method which is used for file upload but in my case I cannot use it because I need to submit the payload in a single batch operation in order to complete my workflow.

One possible way would be to return a status flag from CREATE_DEEP_ENTITY and then call CREATE_STREAM subsequently but this will only increase the complications in my workflow.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Srikanth KV May 10 at 05:26 PM
0

is there a specific reason to not use "CREATE_STREAM" apart from one request from one file...

I have used the same method(CREATE_STREAM) to upload multiple files(one request per file) using promises so that loading indicator will be shown till all the files are uploaded..

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member May 10 at 08:36 PM
0

Please check blog to achieve solve the issue :)

Regards,

Meghal shah

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member May 10 at 07:10 AM
0

Hello Ajay,

Did you manage find a way to handle this!! We are also struck at the same point.

Appreciate any hint/help.

Share
10 |10000 characters needed characters left characters exceeded