cancel
Showing results for 
Search instead for 
Did you mean: 

Fill word document template with data from wda

Former Member
0 Kudos

Dear Experts,

We are developing a CV generation application in wda. User selects the data, template and clicks on 'Generate' button to create CV in word document. We have different types of templates. I need to fill the templates with data selected in wda screens. How can this be achieved. Any steps or approach are helpful.

Thanks

Pradeep

Accepted Solutions (0)

Answers (2)

Answers (2)

chengalarayulu
Active Contributor
0 Kudos

Pradeep,

you can use normal method of word processing like below. and also you should use some styles like next line, table, bold, italic etc..,

at final you can process the word file - will give you popup to open/save/cancel.

   wdr_task=>client_window->client->attach_file_to_response(

**path to the word file
       i_filename = 'WDP.doc'
* String Variable
       i_content =  xtext
* File Type
       i_mime_type = 'WORD' ).

Former Member
0 Kudos

Thanks for your reply..

But how do we fill template with data selected on screens.

Former Member
0 Kudos

Still waiting for a reply..