Skip to Content
0

Excel File Upload(Multiple sheets) with Custom Buttom in ABAP Webdynpro

Mar 10, 2017 at 10:06 AM

141

avatar image
Former Member

Hi,

File Upload UI Element is having an issue with selected file i.e., after performing some action, selected file is not appearing in the path...hence I have to go with Custom Button for file upload...Now the issue is I am able to raise popup for selecting the file..but the file has to be converted to XSTRING format. Is it feasible to convert the file to xstring. If I use File Upload UI element, I am getting data in xstring directly so that I can read the content and process. But I am not finding any class methods to convert the selected file into xstring; if I use custom button for upload.

Regards,

Amar

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

2 Answers

avatar image
Former Member Mar 15, 2017 at 10:42 AM
0

Hi Amarnadh ,

did you got solution.

Regards,

krishna.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

no..not yet

0
harish vyas Mar 23, 2017 at 12:09 PM
0

Hi Amarnadh,

I might have misinterpreted your question, but do you mean that you have created a button on screen, on click of button it opens a pop-up window, there you have a FILEUPLOAD UI element, now you clicked on BROWSE button for selecting a file from local using FILEUPLOAD UI element, once that is done, then clicked on a custom button to upload the file at required location....

If my understanding about problem statement is correct, then ideally you should get the content of uploaded file in XSTRING format inside CONTEXT ATTRIBUTE which are mapped to FILEUPLOAD UI element.

Request you to elaborate the issue in case if I have interpreted it wrongly.

Regards,

Harish

Share
10 |10000 characters needed characters left characters exceeded