‎2008 May 23 2:13 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 May 23 2:29 PM
This can easily done using a text editor using container.
data:
i_text_tab type standard table of line initial size 0.
call method editor->get_text_as_stream
importing
text = i_text_tab.
I hope this helps you.
‎2008 May 25 12:32 AM
Hi,
Thanks for the reply.
Can you please provide a example or test program.
Thanks & regards,
Chetan