on 12-24-2008 8:19 AM
Hi Forum,
Can anybody tell the step by step procedure of uploading the data from excel/notepad file into webdynpro application.
Thanks & Regards
Hi Mahati,
It is quite simple.
The process is as below:
1) create a WDC in SE80
2) Under WDC, create a view, say with name MAIN.
3) In the MAIN view, in the context create a node, say, Upload.
4) Under the Node "Upload", create a attribute,say, "Ufile". The type of the attribute should be XSTRING.
5) Now, go to the view, create an UI element, of type "FILE UPLOAD".
6) Bind the data soruce to the UI element.
7) Now in the WDDOINIT, do call the node, and get the attribute value in to an XSTRING attribute.
😎 Now, we need to convert this XSTRING value into STRING , by using any of the Standard FMs'.
9) Save the view, and activate the entire component.
10) This completes the process of creating a component and using FILE UPLOAD to upload a file.
I hope it is clear enough to expediate further.
All the best
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please go through the Standard WDA WD_TEST_EVENTS. In that go for the view containing UPLOAD. You can easily under stand and can have a try. Let me know if you feel difficulty in creating your own application
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.