Word 2000 integration with D2K
Hi,
I'm working in a project that involves using Word 2000 for output, I'm using the OLE2 package, so far I've had relative success, but there are some objects in the Word object model that seem to be unreachable from D2K. I've had trouble when I try to access any particuar object from a collection using it's associated index
For example Trying to get the first table of the current selection:
In VBA:
objTable = selection.tables(1)
Using OLE2
objWord := OLE2.CREATE_OBJ('WORD.APPLICATION');
objSel := OLE2.GET_OBJ_PROPERTY(objWord,'SELECTION');
objArgList := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(objArgList,1);
objSelTable := OLE2.GET_OBJ_PROPERTY(objSel,'TABLES',objArgList);
I've tried replacing GET_OBJ_PROPERTY with INVOKE_OBJ, but both didn't work and throwed exceptions
Does anybody succesfully solved this particular issue??
Never mind...I found the solution by deeply studying MS Word's object model, it seems that Microsoft gave an alternate method for referencing an object within it's collection, and that way is the "item" method.
Every collection has this method, which takes an index for parameter, it has to be called using OLE2.INVOKE_OBJ, the code that I gave for example now looks like this:
objWord := OLE2.CREATE_OBJ('WORD.APPLICATION');
objSel := OLE2.GET_OBJ_PROPERTY(objWord,'SELECTION');
objSelTables := OLE2.GET_OBJ_PROPERTY(objSel,'TABLES');
objArgList := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(objArgList,1);
objTable := OLE2.INVOKE_OBJ(objSelTables,'ITEM',objArgList);
Similar Messages
-
Polycom RMX 2000 integration with CM?
We have a Polycom RMX 2000. I currently have it setup as a h323 gateway and it works but everyone has to dial in, in order to do a 3 way or greater video conference. Is there any way to set it up to be more automatic?
TIA
ScottI implemented the Polycom RMX 2000 with a Readymanager SE200 to our CCM 4.23 es49 cluster. Polycom requires that you use a h225 gatekeeper controller trunk to send the calls from CCM to gatekeeper to the SE200 IP address (zone remote). The CCM inserts a routing code of "40" onto the meeting room extension number. This routing code is used by the SE200 to route the call to the RMX2000. Polycom has a best practice for CCM implementations. Also, be sure to have Polycom upgrade their code to RMX 2.0.2.25 as we had issues with previous codes with random bridge resets.
-
Word 2000 hyperlinks don't work in .pdf created with Acrobat 9 Pro
I'm new to Adobe Forums, so please overlook the effrontery of my posting a query previously discussed. Perhaps someone can simply reply with a link to the prior discussion. I have installed Acrobat 9.2 Pro in 2 computers, one running XP64 Pro, the other XP32 Pro. Word 2000 is installed in both. All Word hyperlinks work fine, but after .pdf conversion using Acrobat 9.2 Pro, none of these work. In 'Preferences', I have navigated Convert to PDF > Microsoft Office Office Word > Edit Settings > Add Links to Adobe PDF File and confirmed that the Add Links feature is enabled. Having ascertained that this glitch is not specific to either XP64 or XP32 operating systems, I uninstalled Acrobat 9.2 Pro from the XP32 computer and reinstalled Acrobat 6.1 Pro. Then using the same Word 2000 document, I converted to .pdf using Acrobat 6.1 Pro, with no problems whatsoever. This looks like a serious bug in Acrobat 9 Pro, which the telephone support folks have acknowledged. Alas, they won't give me the tiniest clue how to resolve it, nor any workaround, but merely refer me to AdobeForums.com for help. I suspect a corrective patch or 'upgrade' will be forthcoming, but meanwhile, if anyone knows of a workaround, please enlighten me. Thanks. /rmbrown
Thank you, CtDave, for your speedy reply and for the 'Acrobat Technical Evangelist' knowledge base article. Word 2000 is one of Microsoft's masterpieces - by disabling 'autosave', the application is totally stable, does not require 'activation' by Microsoft. Acrobat 9 enables 'saving' of interactive .pdf forms, a most valuable feature and one much appreciated by anyone completiing such forms. There must be more to this issue than 'incompatibility', because I can create a test Word 2000 document, hyperlink a valid URL, convert to .pdf with Acrobat 9, and the hyperlink works fine in Acrobat 9. When I attempt to do this using a much more complex Word 2000 document, embedded with scores of hyperlinks, these links fail to work following conversion to .pdf with Acrobat 9, but work fine following conversion to .pdf with Acrobat 6. I can then use Acrobat 9 to open the .pdf created with Acrobat 6, and successfully edit any of these fully functional hyperlinks using the 'Link tool'. I don't know who prepared the 'Acrobat Technical Evangelist' article (AF1908DCd01) - no credits were cited, and I'm far from certain that this authentically belongs to Adobe's knowledge base. So I appreciate your sharing this information with me, but I cannot say that my question has been definitively answered. If you have any further information or tips, please reply in this thread. /rmbrown
-
MS Word integration with SAP CRM: can a PDF be created from the MS Word doc
21/11
Gurus,
I know have a better understanding of the topic but still have 2 open questions.
I now know that StreamServe cannot read .DOC files but can read and work with .PDF files.
Since we are in a SAP forum and not a StreamServe forum,
1/ I am wondering if SAP CRM 2007 can convert the MS Word generated and populated documents into .PDF. Possibly immediatly.
2/ Can the MS Word generated and populated documents be saved by SAP CRM 2007 as .XML files?
Thanks again.
Dear All,
On my project, there is a requirement to generate ad-hoc and amendable letters in CRM (2007).
We might have +150 letters so I am thinking about using MS Word integration with SAP CRM to deliver this.
With SAP CRM 2007, I understand that it is indeed possible to generate WebServices that will then be consumed by Word templates through the mail merge functionality. So agents will not have to enter BP name, address and so on. All this can be done by configuration which is great.
My point of concern is how to integrate this design to StreamServe for printing purpose (we do not want to go into local printing)
Can StreamServe collects the Word generated document?
Should this Word document be converted as PDF before or can StreamServe do it?
Should StreamServe exploits the XML contents within the Word generated document?
Thanks for your help and insights about this.
Brice.
Edited by: Brice Vialle on Nov 21, 2008 9:26 PM
Edited by: Brice Vialle on Nov 21, 2008 9:34 PMHi Chris,
Your advice helps me a lot, thank you.
I upload an XML-Format template Word Doc to server as a MIME Object.
When OfficeControl is started in Web Dynpro, OfficeControl automatically open the XML-Format template.
For the first time, I get the XString-type Context attribute bind to the content of the Word Doc,
then translate it to string, I got the XML-format content, it's great!
However, after the first time, when I input any new contents in MS Word in Web Dynpro,
no matter I execute "Ctrl + S" or click the "savedocument" button,
when I translate the XString Context attribute to String, I got messy code. (but the first time, it is good plain text)
I use the function module: ECATT_CONV_XSTRING_TO_STRING (good for first time, dump after first time),
SCMS_XSTRING_TO_BINARY, SCMS_BINARY_TO_STRING (good for first time, messy code after first time).
My Demo source code is in: (system) SMV --> (local object) zhaode --> (Dynpro Component) ztest_office_control
core source code is as:
clear itab.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = lv_datas
IMPORTING
OUTPUT_LENGTH = lv_length
TABLES
binary_tab = itab.
CALL FUNCTION 'SCMS_BINARY_TO_STRING'
EXPORTING
input_length = lv_length
mimetype = 'text/plain; charset=utf-8'
IMPORTING
text_buffer = lv_datas_string
output_length = lv_data_len
TABLES
binary_tab = itab.
Can you give me some advice?
Best Regards,
Derek -
Word 2000 with SolMan and EWA issues
Hi,
Having a number of issues. It seems since updating SolMan to SP24 EHP1 i cannot open EWA reports in Word 2000 (updating to latest version is out of the question due to business politics). I have tried a number recomendations from OSS notes but none work. I get this error message when i select standard or short version
Required file not found -> see long text
Message no. DSVAS813
No usable file was found for the active Office version in the report defintion.
Procedure
Processing cannot continue.
Please notify the person responsible for this session type or for the SAP Solution Manager, specifying the session number, session group, session type, version number and the number of the message short text.
To find session information, in the Service Session Workbench, choose Goto -> Technical Information. Specify the Office application and version (which you can find by choosing ? -> Help -> About... ) and the number of the message short text.
To create a message to SAP, choose Help -> Create Support Message.
The issue can be resolved by changing the report definition in the Service Session Workbench or importing a newer version of the session definition.
I am not sure how to change the Word version in technical Information, it seems not so "helpful" help page and how to change the report definition. Any help on this would be appreciated
I also needed to know how to send previous SAP EWA reports. The landscape is setup to send the EWA reports to SAP on a monthly basis and i need to change this to weekly. i have had a look at the EWA setup operations and it is active and all boxes are ticked.
thanks,
ManiHello Mani,
You can send the data for ABAP system to SAP and process the EWA reports and they can be accessed via your
Service Market Place inbox, if that was an option you were seeking. How to do so, you need to follow SAP Note 207223.
The periodic SDCCN EWA task can be scheduled to recurr weekly.
EWA data on Satellite ssytems is usually only available for the past 3 weeks, as there is no intent to store the data.
Of course any EWA report can also be opened (click the link on the left side in DSWP) in HTML, so this could be a work around to get any existing or furture EWA reports generated on your Solution Manager system.
Unfortunately, because Word 2000 is no longer supported by Microsoft, there is little that can be done now, that you are on Word 2000, and have upgraded to an SP level that no longer supports Word 2000. This is your issue.
However I think I have provided some alternatives to get the reports.
Regards,
Paul -
Integrating with SAP SRM 4.0
Hi all,
I'm currently involved in an e-procurement project that will have to integrate SAP SRM 4.0 with the EAI solution of our company (webMethods).
As I don't know much about SRM 4.0 technology, I'd like to know the standard way of integration with SRM 4.0:
- Is SRM 4.0 capable of exposing IDocs?
- Is SRM 4.0 capable of invoking BAPIs?
- If so, how can a Purchase Order put into the arguments of the BAPI?
- Is SRM 4.0 compelled to talk with XML messages (particularly SOAP XI) or are IDocs and BAPIs a suitable solution?
- Is SRM 4.0 standard output xCBL?
- Can SRM 4.0 expose and invoke Web Services natively?
In other words, I'd like to know whether we are obliged to use the XI Content of SRM 4.0 in order to integrate with webMethods. We have already done integration with R/3 4.6 and we used IDocs with the SAP Adapter. We would like to capitalize on our previous experience and save us from having to assess the feasibility of an integration with SRM via XI.
Thank you in advance for all your answers.
Regards,
/MLHi Marcel,
Underlying technology is WAS (Web Application Server) which is an enhanced version of the middleware BASIS technology used by 46C. XI is a replacement for messaging platforms like webmethods, so if you are using webmethods with SAP adaptor you don't need to use XI because you are already using a messaging platform. Only reason you may want to use XI would be if you can build upon the XI content available to you. If you are not interested in the XI content then go ahead and use webmethods using SAP adaptor to connect to SRM. I don't see any problem in that.
Regards,
Sanjeev -
Acrobat 7.0 Professional purchased version won't create PDF files from Word 2000
I am running Windows 7 and have installed Acrobat 7.0 and Word 2000. I know, it's an old version, but this combination always worked on my old computer. When I install Acrobat on my computer I received the following message: "Warning 20225. Adobe Acrobat 7.0 Setup was unable to create a new item: Adobe PDF Port & Printer. The Adobe PDF Printer may be unavailable." Then it tells me the installation was successfully completed. When I attempt to create a PDF from a Word 2000 file, I get this error message: "Unable to find "Adobe PDF" resource files." And it asks if I want to run the installer in repair mode, but all it does it try to re-install the program and fix things but then I get the same "Warning 20225..." message mentioned above. If I have the original purchased installation discs of both Word 2000 and Acrobat 7.0, why won't they work together on my new computer running Windows 7? They worked fine on my old computer using Windows XP. Help!!!
I just answered this question in http://forums.adobe.com/message/4251547#4251547. Basically you should be able to create a PDF (assuming you are not using a 64-bit system and then I have no clue), but not in the automated way you are used to doing. The first step would be to change the printer port for the Adobe PDF printer (assuming the driver got installed) to file. Then when you print or use PDF Maker, it will ask you for the file name. It will create a PS file (may have a prn extension) that you have to open in Distiller to complete the rest of the conversion. A bit of extra work, but workable. You are looking at a Win7 issue that has caused major problems for many software vendors, not just Adobe. The newer versions of Windows seem to ignore a lot of compatibility needs. Don't forget that with VISTA they had to add the help system back in because their own MS Office needed it.
-
Acrobat 9 will not import bookmarks from Word 2000
I have a customer who creates sophisticated Word 2000 documents including bookmarks. When converting to Acrobat using 8 professional, the bookmarks convert fine. They are there and point to the correct locations. She insisted that she needed 9 Professional because it handles creating text and check boxes much more efficiently, but 9 will not bring over the bookmarks from the very same document. Our current solution is to have 8 and 9 on the pc simultaneously, create the document in 8, then open it again in 9 to modify all the input fields.
This happens for all users, local admin or not. I have uninstalled, cleaned out the registry, installed, upgraded, used different profiles, etc. and the result is always the same.
What could possibly be causing this? I have checked all the bookmark settings from within Word, and they are all correct. I've searched everywhere, and apparently no one else on Earth is experiencing this issue.Acrobat 9 does not work with MS Office 2000, Acrobat PDF-capable web browsers and PDFMaker-compatible applications (Acrobat 6.x - 9.x on Windows and Mac OS) .
-
Word 2000 and Acrobat 9 PDFMaker
I see that it is a known issue that PDFMaker doesn't always install nicely into Word 2007 with Acrobat 9.
What I want to ask is, is it possible to use PDFMaker with Word 2000? The fact that it seems to be implemented as a dll makes me think maybe it is not possible.
TIA for all help,
DavidI don't believe Word 2000 is supported by Acrobat 9
Mike -
SAP - MS Word 2000 (missing form fields)
Hi,
I designed a report to download quality notification data into MS Word.
I use MS Word 2003 on my laptop. The users have MS Word 2000.
Steps that I followed :
1. Create a template using program SAPRDEMO_FORM_INTERFACE
2. Save the template on your desktop.
3. Upload the Template into BOR using TCode OAER.
4. Write a report to get the form open in Word & then populate the fields created with the data from the program.
The ZProgram has the following logic :
1. Create instance for BDS
2. Get Document info
3. Get Document URL
4. Set application type.
5. Open Word Document
6. Check Form interface
7. Get the Form interface
8. Get the Form variables
9. Fetch data from R/3 & populate the structures
10. Pass the variables to the Form Interface.
Steps 1-9 are done. The problem occurs in step 10. Using MS Word 2003, I am able to pass all data from R/3 to the respective fields in the form. But using MS Word 2000, users are getting few fields and some are missed. I got MS Office 2000 installed on one of our machines. The problem I face is none of the fields are getting populated in step 10.
Please suggest if MS Word 2000 form interface is compatible with SAP 4.6C.
Thanks,
MahiHi Anil,
There is no specific Error Message.
The Fields in the Word document 2000 are not getting populated appropriately from the program.
The Method as shown below is getting executed successfully but values are not getting properly passed to the fields in the Word Document 2000.
This is not the case with MS Word 2003. All fields' data is getting accurately populated.
*Check form interface
CALL METHOD document->has_form_interface
IMPORTING
is_available = v_has.
*Get form interface
IF NOT v_has IS INITIAL.
CALL METHOD document->get_form_interface
IMPORTING
f_interface = handle.
IF NOT handle IS INITIAL.
CALL METHOD handle->protect EXPORTING protect = ' '.
*Get form variables .
CALL METHOD handle->get_data
EXPORTING all = 'X'
IMPORTING fields = it_tabel1.
PERFORM get_data.
*Pass variables to Form interface
CALL METHOD handle->set_data
EXPORTING fields = it_tabel2
clear = 'X'.
ENDIF.
ENDIF.
This method in Italicized code is getting executed successfully but values are not getting passed to the MSWord2000 Document.
I tried all the 3 document types as mentioed in SOI type group.
SOI_DOCTYPE_WORD_DOCUMENT(13) TYPE C
VALUE 'Word.Document',
SOI_DOCTYPE_WORD95_DOCUMENT(15) TYPE C
VALUE 'Word.Document.6',
SOI_DOCTYPE_WORD97_DOCUMENT(15) TYPE C
VALUE 'Word.Document.8'.
No positive result.
Please let me know if anything else is requried for your analysis/help.
Thanks,
Mahi -
IC Webclient Integration with MS Exchange
Hi
Can someone please help me with configuration/customization documents on crm IC Webclient Integration with MS Exchange. Please email me at [email protected]
Thanks
AbhijitHi,
Telephone is PBX system. In order to connect the telephone system to SAP Phone(CRM system), you need CTI Server. CTI enables the integration to ICI of CRM System using XML/SOAP protocols.
ANI module is a part of the Telephone system which enables to identify the customer number in CRM application. In other words, as you said, it is the phone system passing the phone no. of the calling person to CRM system. CAD generated on the IVR module part of telephone system).
CTI transfers the CAD to CRM and BP is displayed in the Interaction Center.
Hope this helps your understanding. Please give points if so.
Thanks,
John -
Crm IC Webclient Integration with MS Exchange
Hi
Can someone please help me with configuration/customization documents on crm IC Webclient Integration with MS Exchange. Please email me at [email protected]
Thanks
AbhijitHi,
Telephone is PBX system. In order to connect the telephone system to SAP Phone(CRM system), you need CTI Server. CTI enables the integration to ICI of CRM System using XML/SOAP protocols.
ANI module is a part of the Telephone system which enables to identify the customer number in CRM application. In other words, as you said, it is the phone system passing the phone no. of the calling person to CRM system. CAD generated on the IVR module part of telephone system).
CTI transfers the CAD to CRM and BP is displayed in the Interaction Center.
Hope this helps your understanding. Please give points if so.
Thanks,
John -
No Create Adobe PDF button in Microsoft Word 2000
Hi,
I recently purchased and installed Adobe Acrobat Pro 9.0 and am working my way through Adobe Acrobat Classroom in a Book. I've learned there should be a "Create Adobe PDF" button in Microsoft Word (and Excel, etc.), but there are none in mine. If I use the Adobe PDF printer, an untagged PDF will result.
I'm using Microsoft Word 2000; is that version too old to support the addition of a Create Adobe PDF button within the application? I've also recently installed Omnipage and buttons for that application installed in Word with no problems.
Any help is appreciated.
Thanks!Read this:
http://blogs.adobe.com/pdfitmatters/2008/12/version_compatibility_of_acrob.html -
Problems creating a PDF file w/ Word 2000 + Adobe Acrobat 8 Professional
Hi all,
we have a problem with some of our word files. When trying to create a PDF file w/ Word 2000 and Adobe Acrobat 8 Professional by pressing on the Acrobat button in Word, sometimes the PDF distiller gets stuck and doesn't create a PDF file. When pressing <Alt>+<F9> we see that the file is overcrowded with fields, e.g.:
{PRINT \p para "[ /EMC pdfmark [ /StPop pdfmark"} { PRINT \p para "[ /EMC pdfmark [ /StPop pdfmark" }
{ PRINT \p para "[ /Subtype /P /StPNE pdfmark" } { PRINT \p para "[ /StBMC pdfmark" ] { PRINT \p para "[ /Subtype /P /Title () /StPNE pdfmark}
etc.
When deleting all of these fields it is possible to create a PDF file (which is quite a nuisance). Does anybody know what these fields mean and esp. what can be done to stop Word/Acrobat writing the text felds into our documents?
Thanks a lot in advance,
ChrisAll of the marks are created to provide the tags and other items related to bookmarks, links, and accessibility. Sometimes there is a problem if your TEMP folder does not have enough room. You get these when you use PDF Maker (the create PDF icon in WORD). You can select the preferences in PDF Maker and deselect a lot of the items, particularly tags that tend to bloat the PDF but are useful for accessibility or going back to WORD (you should always keep the WORD file anyway). That may solve the problem. If you do not want any of the extra info, then print to the Adobe PDF printer instead.
-
Ms word 2000 not showing up in software scan?
Using ZEN 3.2 SP1
Windows 2000 Pro with SP2 workstation with MS Office 2000 installed.
Software inventory will report workstations with Word 97 and Word
2002,
but NOT Word 2000?
Any ideas why?
--KevinI'm guessing something with the MSI as well.
Now, it WILL show that Office 2000 is installed, just not the
individual
components.
All workstations in the entire container (I did a search for all
workstations that had software titled: %word%)
It will show me Word 97 and Word 2002, but not Word 2000
Now, if I pick a select workstation and go into Properties -> ZEN
Inventory -> Minimal information -> Detailed information > Software ->
By Vendor -> Microsoft Inc it does not list Word or Excel or PP
either,
but it does list Office 2000.
So maybe this is how it's supposed to be?
Keep in mind we use zfd 3.2 with SP1
Should be upgrading to ZEN 4.0.1 in the next several weeks.
I suppose I can tell it to look for Word.exe?
(I see you use Spamcop too)
--Kevin
In article <Mtgra.4236$[email protected]>,
[email protected] says...
> Kevin,
> is it just one workstation or a general problem ?
> Could it be an MSI problem ? Because Zen inventory i using the MSI
> informations placed in the registry to retrieve informations about
> these products.
>
>
Maybe you are looking for
-
I installed firefox on my new computer (Win XP). So how can I move all my firefox bookmarks from my old computer to the new one and use them?
-
Pie Chart highlighting (immitating 3D Pie chart with ellipse shape)
I have to create a pie chart using jdk 1.0. Since I have to make it looks like 3d, I used fillArc() to draw ellipse shape pie chart. I am having trouble highlighting the pie where the mouse is over. Using atan() to get degree of x and y mouse possiti
-
Opening documents in separate (non-tabbed) windows
sorry about this simplistic question, but, how can documents be opened into their own separate window panes? Currently I have to drag each tabbed window out into empty space to establish a newly opened document in a separate window....can such a work
-
After system copy DTP pointing to Prod Sourcesystem in Quality
Hi, We have copied BWP system to BWQ. All the transformations are correctly pointing to R3Q system. But DTPs are still pointing to R3P system. How to convert this source system assignment for all the DTPs and InfoPackages? Regards SSS
-
How do I change track names manually?
How do I change track names manually?