‎2008 May 23 2:12 PM
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 .
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.
Thanks & regards,
Chetan
‎2008 Jun 04 11:37 AM
Hi Try using this method in I_OI_DOCUMENT_PROXY interface.
CALL METHOD DOCUMENT-SAVE_DOCUMENT_TO_TABLE
IMPORTING
RETCODE = RETCODE
CHANGING
DOCUMENT_TABLE = DATA_TABLE
DOCUMENT_SIZE = DATA_SIZE.
It may solve ur problem.
Reward points if useful.
Venkat
‎2008 Jun 04 11:37 AM
Hi Try using this method in I_OI_DOCUMENT_PROXY interface.
CALL METHOD DOCUMENT-SAVE_DOCUMENT_TO_TABLE
IMPORTING
RETCODE = RETCODE
CHANGING
DOCUMENT_TABLE = DATA_TABLE
DOCUMENT_SIZE = DATA_SIZE.
It may solve ur problem.
Reward points if useful.
Venkat
‎2009 Dec 29 9:32 AM