cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading data

Former Member
0 Kudos

Hi Forum,

Can anybody tell the step by step procedure of uploading the data from excel/notepad file into webdynpro application.

Thanks & Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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