‎2008 May 23 10:36 AM
Hi ,
I am opening word document using container method.
I type some text in that word document.
Once i save that document control comes to the Abap screen
from where i had called that container.
I want the text typed in the word document to load into to the
internal table.
Can any please tell me which method to be used or provide
me some example code .
Thanks in advance.
Thanks & regards,
Chetan
‎2008 May 23 10:46 AM
‎2008 May 23 11:43 AM
Hi,
Following are the objects.
DATA: control TYPE REF TO i_oi_ole_container_control.
DATA: container TYPE REF TO cl_gui_custom_container.
document TYPE REF TO c_office_document.
CALL METHOD document->create_document
EXPORTING open_inplace = 'X'
IMPORTING retcode = retcode.
Thanks in advance.
Regards,
Chetan
‎2008 May 23 1:11 PM
Hi,
I am refering to sap standard program
"SAPRDEMODOCUMENTCONTAINER".
What i want is when the user clicks on Save, button data should get saved in the internal table.
I am only going to type plain text for Ex ; "Hi from chetan" in the word document.
I my internal table "Hi from chetan" should get saved.
Thanks in advance.
Chetan