on 04-11-2011 6:49 AM
Hi All ,
My requirement is uploading excel file and showing it contents on internal table of the webdynpro screen.
I was able to upload CSV file and text file to wd abap screen , but , I don't want to convert excel file to CSV file or text file .
Just , i want to Upload the excel file to webdynpro screen as it is.
I searched all the forum i didn't get the solution.
Please help me
Thanks
Raj
Have you tried using office Control UI element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI BHASKARAN ,
Thanks for your response.
I don't want to see Excel page on webdynpro screen using office control.
I am fine with CSV file and text file
Just , i want to upload the excel file (.xls extension ) and display contents of the excel in the table UI element of the wd screen.
Thanks ,
Rajpal
Iam new to this forum . Unfortunately i clicked as answered but its not
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is true. it is a good document but missing valuable information on that.
if_sec=>element_up is to be interpreted as
view name is sec.
context node name is up ,cardinality 1..1,and it has a attribute FILE with type XSTRING. This basically used to get the uploaded file.
when the go button is clicked according to the wiki, the method does parsing the xstring and display it on the table.
the view also has a context node content o..n with attributes like num,name1,name2,name3 etc.
You need to modify the code to adjust to your need and append bind the itab to the content node which is binded to the table UI.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.