Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Help in WS_EXECUTE

Former Member
0 Likes
484

Hi

i want to give to WORD text that i have in my field

How can i do it?

If i will change the text in the word can i bring the reuslt to my field?

How can i do it?

Thanks

( If there is any editor beside word it ok like text-control)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
447

The Program <b>SAPRDEMO_WORD_NOTEPAD</b> has what you want,

Using this method you coudl get the contents of the word document

if not has_changed is initial.

CALL METHOD document->save_document_to_table

CHANGING document_table = doc_table[]

document_size = doc_size.

CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.

endif.

Regards

Kathirvel

3 REPLIES 3
Read only

Former Member
0 Likes
447

For text editor: refr this link:

Regards,

Ravi

Read only

Former Member
0 Likes
447

Hi yossi,

look at SAPRDEMOWORD97 or tcode OLE.

Regards, Dieter

Read only

Former Member
0 Likes
448

The Program <b>SAPRDEMO_WORD_NOTEPAD</b> has what you want,

Using this method you coudl get the contents of the word document

if not has_changed is initial.

CALL METHOD document->save_document_to_table

CHANGING document_table = doc_table[]

document_size = doc_size.

CALL METHOD c_oi_errors=>show_message EXPORTING type = 'E'.

endif.

Regards

Kathirvel