Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Multiple Attachments in BSP Application

Former Member
0 Likes
497

Hi All,

       I am getting the Single attachment,but I am not getting the Multiple Attachments, If you know any idea on this.Please let me know as soon as possible.

Thanks,
Santhosh

2 REPLIES 2
Read only

Former Member
0 Likes
407

How to you upload the files? And are you looking for a GUI upload or background upload?

Read only

0 Likes
407

no, I am trying to upload through UI,So we didn't support gui_upload na.

I have written in Layout like below:

<input type="file" name="attachment" id="attachment" onchange="document.getElementById('moreUploadsLink').style.display = 'block';" multiple/>

and oninputprocessing logic:

     FILEUPLOAD ?= CL_HTMLB_MANAGER=>GET_DATA(

                            REQUEST = RUNTIME->SERVER->REQUEST

                            ID      = 'attachment'  "'myUpload'

                            NAME    = 'fileUpload' ).

     FILE_NAME      = FILEUPLOAD->FILE_NAME.

     FILE_MIME_TYPE = FILEUPLOAD->FILE_CONTENT_TYPE.

     FILE_CONTENT   = FILEUPLOAD->FILE_CONTENT.

I am getting with above logic for single attachment only,but not getting multiple attachment file names.

Thanks,

Santhosh