SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

MSWORD печать шаблона и вставка текста в определенные места



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Sed0Y
Специалист
Специалист


Age: 41
Joined: 17 Mar 2010
Posts: 88
Location: Ukraine - Kiev

PostPosted: Thu Aug 05, 2010 11:54 am    Post subject: MSWORD печать шаблона и вставка текста в определенные места Reply with quote

Есть у меня шаблон с текстом и фоновым рисунком. В некоторые места нужно вставлять текст с базы...

Вопрос. Как печатать Ворд шаблон и как вставлять в определенные места данные?
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 145
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Thu Aug 05, 2010 4:45 pm    Post subject: Reply with quote

Вставка редактируемых полей в WinWord делается
через Text Box. (Меню Insert - Text Box)

На нашем проекте управление WinWord сделано через DOI (Desktop Office Integration)

Package: SOFFICEINTEGRATION
Interface: I_OI_FORM
Methods: GET_DATA, SET_DATA - получить, установить значение Text Box полей.



text_box.PNG
 Description:
 Filesize:  17.91 KB
 Viewed:  5718 Time(s)

text_box.PNG



_________________
Молитва - это запрос разработчику на изменение кода программы.
Back to top
View user's profile Send private message Blog Visit poster's website
Sed0Y
Специалист
Специалист


Age: 41
Joined: 17 Mar 2010
Posts: 88
Location: Ukraine - Kiev

PostPosted: Thu Aug 05, 2010 5:56 pm    Post subject: Reply with quote

простите, а что это за транзакция?
я подозреваю, что вы меня не так поняли (или я не так сказал)
под Шаблоном я имел введу Документ ворд, который лежит у меня на винте, и я не знаю куда его пристроить что бы работать с ним через АБАП?
Back to top
View user's profile Send private message
vga
Мастер
Мастер


Age: 145
Joined: 04 Oct 2007
Posts: 1218
Location: Санкт-Петербург

PostPosted: Thu Aug 05, 2010 7:35 pm    Post subject: Reply with quote

Вроде правильно понял. На картинке изображен WinWord.

Сначала вставяете в вордовый документ Text Box. Потом из ABAP с использованием DOI заполянете - читаете из полей WinWord.

Про DOI придется чиать хелп.

_________________
Молитва - это запрос разработчику на изменение кода программы.
Back to top
View user's profile Send private message Blog Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG.
SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG.
Every effort is made to ensure content integrity. Use information on this site at your own risk.