cancel
Showing results for 
Search instead for 
Did you mean: 

How to store a word Document

Former Member
0 Kudos

Requirements:

1. The WD application should be such a way like applicants fill in the required fields and uploads their Resume.

How to store these Resumes ?

2. A report is listed where in the Applicants are shown. Upon clicking an applicant his uploaded Resume should get displayed.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The Main issue is How to store this Resume and display it?

Former Member
0 Kudos

Hi,

I guess you are showing the Applicants list in the form of TABLE right (NORMAL TABLE UI ELEMENT).

For the uploadresume column, create a fileupload UI element for that column as cell editor.

Then when the user clicks on this Upload link then user gives the file name to be uploaded and save it.

Check the wdr_test_table for TABLE CELL_EDITORS.

Regards,

Lekha.

Former Member
0 Kudos

I just struck up, how & where to store the uploaded document ?

Former Member
0 Kudos

Hi,

Your internal table/context node should have these -

APPLNUM NUMC30

APPLNAME STRING

FILE XSTRING

Now when ever the user upload it, then store the same to the internal table under field FILE.

Have you got it.

Regards,

Lekha.

Former Member
0 Kudos

How about re-displaying the same content in the Word Format ? - Do we need to use the office control UI element for that ? Or ?

Former Member
0 Kudos

HI,

Yes, for display you can use the office control in other column.

Please refer this link where the images are stored in table similarly try for the same approach to store files.

Try that out.

Regards,

Lekha.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

If you need to store the content beyond the scope of the user session, you have several options. For one you could just store it in database like any other data. You can create a custom database table with a column of type RAWSTRING. You can then insert the document XSTRING variable with normal SQL.

You could also store this document into the MIME Repository. This is still basically just storage in the database, but has the advantage that anything in the MIME repository is also automatically exposed via HTTP as a URL as well.

You could also store the document in the filesystem of the application server using ABAP DATASET commands.

Former Member
0 Kudos

Say we have stored the data in the custom table. To display it back in word document what are the avialable options ?

Former Member
0 Kudos

You can either use IFLEDOWNLOAD Ui element (to save to desktop ) or you can use the Office Control in table column.

Check wether the office control is possible in Table column or not.