Invalid payh to WORD templates folder

Hi experts.
after upgrade to release from 2005 to 2007 I have a problem with exporting to word.
the error message is: invalid payh to WORD templates folder [message 20015-6].
first the upgrade everything worked. I have sap and folder authorization.
also the export to PDF by clicking the appropriate button does not work. I solved pdf export using file/export/layout to/pdf, but not for word doc.
I have Sap Business One SP:01 PL:07
can you help me?
thanks

Ciao Pasquale,
for create a word doc or a pdf doc from a marketing document it is necessary only to click on related word icon or pdf icon; for sure you need to set the correct patch into General Setting tab Path, like " C:\Program Files\SAP\SAP Business One\WordDocs\Italy\ " for the word document and the same for excel files like "C:\Program Files\SAP\SAP Business One\ExclDocs\ ".
Please verify if into the folder you have this file's:
CustAccounts.doc
Docmnhl1.doc
mnhlDot1.dot
ToDoLetters.doc
I've tested into 2007 A SP01 PL08 and I'm not able to reproduce the issue, so I think there is something wrong into the client and I suggest to you to open a customer message to Global Support Center explain in detail what is happen with a little word document with each single step.
Or you can try to upgrade to the last patch 08 and re-try if the issue is patch depending !
Regards,
Massimo Sala - LPE Italy

Similar Messages

  • Invalid path to MS-Word templates folder

    Hi all!!!
    I set in System Initialisation -> General Settings -> Path -> Microsoft Word Templates Folder: "C:\Program Files (x86)\SAP\SAP Business One\WordDocs\".
    When i click on the MS_WORD icon on a Sales Order i get the message "Invalid path to MS-Word templates folder".
    Why???

    Hi Gianluca,
    Please try to specify Microsoft Word Templates Folder with the Language folder at the end.
    ( e.g. C:\Program Files (x86)\SAP\SAP Business One\WordDocs\English\ )
    Please also check whether MS Office application is installed on the client and if these files are in the selected folder:
    - CustAccounts.doc                                                                   
    - Docmnhl1.doc                                                                       
    - Header.txt                                                                         
    - Lines1.txt                                                                         
    - Lines2.txt                                                                         
    - Lines3.txt                                                                         
    - mnhlDot1.dot                                                                       
    - ToDoLetters.doc                                
    hope it helps,
    Regards,
    Ladislav Meszaros
    SAP Business One Forum Team

  • Invalid path to word templates

    Hello,
    I am trying to export delivery note to word, but no way. It appears the following message:
    "Invalid path to word templates"
    I have checked under administration that the path set there is correct and the macros are with low security level.
    Thanks in advance

    Hi,
    If you have checked the administration --> general settings --> path, you could also check if the folder still exists and allowable to use by user. btw, what version of SBO you are using ?
    Rgds,

  • Stand-Alone Application including ocx, dll and Word template folder

    Hi,
    I try to create an Stand-Alone Application with labview 2011. My problem is how i can include ocx and dll file in my executable to be run by others computers (the other computer don't have the dll and the ocx using in the application). My program use Word template who is in a folder. How i can integrated this Template folder in my executable folder.
    This is the first time I create an executable, so please help me -_-.
    Nki
    Solved!
    Go to Solution.

    Hi nki,
    To include the ocx and dll files you will need to build an executable for your VI and then create an installer for the additional files. I have linked 2 documents that will explain each of these steps. If you have any questions with this let me know.
    http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/exe_ex/
    http://digital.ni.com/public.nsf/allkb/E09BA0E2F31D304F86256A640070058E?OpenDocument
    Patrick H | National Instruments | Software Engineer

  • I'm using Word for Mac. Though there are various instructions on the Internet for modifying the templates, none make sense to me. They instruct to do something I can't follow. I change a template but can't save it to the template folder.

    What the ****.
    OK, I try to change a template using Word for Mac version 14.3.4 2011 edition.
    I make a change to the template but am unable to save the darned thing to the template folder; it asks for a file name like it's a new document. I want to change the blasted template but if I can't save it as a modified template, I've accomplished nothing.
    Does anyone have a solution?
    Thanks

    Support for Microsoft Office for Mac

  • How to use the Report Generation Toolkit to get a list of bookmarks in a Word Template

    I am working on a project where I will need to use the Report Generation Toolkit to fill out a fairly long Word Template. The MS Office Report Express VI can only have inputs for a maximum of 17 bookmarks which is not nearly enough for what I am needing to do.
    I'm wondering if there is some way to use the lower level report generation VIs to read the word template and return a list of the bookmark names as a 1d array of string. The dialog box that you use to set up the Express VI has this capability but I'm not finding a way to scan the document programatically.
    I'm sure I can't be the first person to run into this issue and I'm hoping that someone out there has found a good solution.
    Solved!
    Go to Solution.

    Wordsub.llb should be somewhere in your Labview folder on your local drive. The path to it in my install is: C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\_office\_wordsub.llb
    Also what specific problem are you referring to about 17 bookmarks? Is that the limit on the express style VI for filling them in from LV? If so what you will need to do is to use the lower level function 'Word Insert Field' under Word Advanced VIs. You will need to supply the VI the name of the bookmark and the text you want to insert.

  • Office 2013 - Unable to open word template

    Hi,
    I have windows service written in VC++ and trying to open a word template xxx.dotx located on the server. however, I am geting below error code while opening the same template. I have written a sample application and it is opening the template.
    my windows service is 32 bit and I have installed office 2013 64bit and OS win 7 64bit.
    <hr=-2147467259>
    working code
    #import "MSO.DLL" rename_namespace("MSOFFICE") rename("RGB", "ofRGB") rename("DocumentProperties", "ofDocumentProperties")
    #import "VBE6EXT.OLB" rename_namespace("MSVBEXT") rename("Application", "ApplicationVBExt") raw_interfaces_only
    #import "msword.olb" rename_namespace("MSWORD") rename("DialogBox", "DialogBoxWRD") rename("RGB", "RGBWRD") rename("DocumentProperties", "DocumentPropertiesWRD") rename("ExitWindows", "ExitWindowsWRD") named_guidsvoid CWordTestDlg::OnButton1()
    // TODO: Add your control notification handler code here
    MSWORD::_ApplicationPtr m_pWordApp;
    HRESULT hr = m_pWordApp.CreateInstance("Word.Application");
    if(FAILED(hr))
    AfxMessageBox("Unable to start MS Word.", hr);
    return;
    AfxMessageBox("Successfully Created");
    m_pWordApp->DisplayAlerts = MSWORD::wdAlertsNone;
    // Make sure the application is not visible.
    m_pWordApp->Visible = VARIANT_FALSE;
    MSWORD::_DocumentPtr m_pWordDoc = NULL;;
    MSWORD::DocumentsPtr pDocs = m_pWordApp->Documents;
    if(pDocs == NULL)
    AfxMessageBox("Unable to retrieve the documents collection from MS Word.", pDocs);
    return;
    // Open the template.
    CComVariant varTemplateName(_T("\\\\xxx.xxx.xxx.xxx\\kx.dotx"));
    m_pWordDoc = pDocs->Open(&varTemplateName);
    if(m_pWordDoc == NULL)
    CString msg;
    msg.Format("Unable to open %s.", _T("\\\\xxx.xxx.xxx.xxx\\kx.dotx"));
    AfxMessageBox(msg);
    return;
    AfxMessageBox("Successfully Opened");
    m_pWordApp.Detach();
    // Reset the MSWord Document ptr.
    m_pWordDoc.Detach();
    thanks,
    Krishna

    Hi,
    Interop is not supported on a Server or with in a services.
    But if you want to this, you have to set up the Environment. I follow this Guideline with my Word and I'm able to start Word on a Server.
    1) Goto Control panel -> Administrative Tools -> Component Services
    2) Expand Tree by clicking on Component Services -> Computers -> My Computer -> DCOM Config
    3) Search CLSId 00020906-0000-0000-C000-000000000046 (which is for Word 97-2003 application)
    4) By selecting 00020906-0000-0000-C000-000000000046 this CLSId now right click on Properties
    5) In the Propeties area, click on Security TAB
    6) Select Customize option from all (Launch and Activations Permissions, Access Pemissions, Configuration Permissions)
    7) Take the User of the Services and Allow all permissions for this user
    8) Go to Identity TAB in the same properties area, select option as a This user and then add username (the user must be administrator of this machine) and password. Click on Apply, Ok
     Locale Profile: True
    9) Refresh Component Services and check your application is working fine or not.
    10) set Folder, if not present:
       C:\Windows\SysWOW64\config\systemprofile\Desktop
    This article gives some insights.
    http://theether.net/download/Microsoft/kb/288367.html
    Hope this helps.
    Kind Regards
    Thomas

  • Hiding Workgroup Template folder in Office 2013

    Hi,
    It was suggested that this may be an appropriate forum for asking the following question
    I have the following setup... In Group Policy (Computer Configuration) I copy the corporate Templates to the WorkGroup Templates folder on every PC (under Default\appData).  We also have a personal templates folder (under %USERNAME%\appData). 
    The workgroup templates are available in both the workgroup and users personal templates folder.
    When a user creates a new file in WORD or Excel they are presented with 2 templates folders.  Is there anyway of hiding the Workgroup Templates folder and just showing the user their personal templates folder? (I want to keep the Workgroups templates
    folder, I just do not want to display it in WORD)
    Or should I just try to rename the templates folders so they can be distinguished from each other
    Thanks

    Hi,
    As per the description, I understand that you've copied your corporate templates into the WorGroup Templates folder, and now you would like to hide this folder to users but keep the templates/folder. If I have misunderstood your concern, please let me know.
    I have tested this on my own machine, to hide this folder to users, you'll need to clean the location for
    Workgroup template in FILE>Options>Advanced>File Locations... button under
    General section.
    We are not able to clean this directly in Word, but we can do this by modifying the registry key or using GPO:
    1) Clean the value of this registry key directly for each user:
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\General\SharedTemplates
    2) Group policy for this is: User Configuration\Microsoft Office 2013\Shared paths\workgroup templates path
    Hope it helps.
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Word Templates

    Hi
    Can anyone say how we can edit the word template(dochmnl1) which is used when we export sales or purchasing documents to MS-Word?
    Regards
    Louis

    Hi Louis
    The templates are stored in separate folders in the WordDocs folder per language. Select the correct one based on your localization. In Microsoft Word, open the template file you want to change (there are 4 to choose from). You will notice that there are four additional toolbars (right click on your Word toolbars for list). These represent the SAP Business One fields that are pre-linked for you. You can select more from the drop down list of these toolbars. You can also delete SAP fields on the template as needed. You will notice that the linked fields are highlighted in gray. Ordinary text fields (not linked to SAP) are not highlighted and can also be deleted or changed as required. You can change the font size, colour, bold, italics, etc. of both linked and non linked fields as you wish.
    Hope this helps
    Kind regards
    Peter Juby

  • Where's the My Templates folder in Yosemite, or How to delete a Numbers template.

    I have Numbers 3.5.2 - where'd the My Templates folder go? I don't see it in Library/Application Support. .... In other words, I'm trying to delete unwanted templates. Could it be that it's now easier to find than in earlier iWorks, but I'm missing the obvious???

    When in doubt, check HELP. (duh).............
    Rename or delete a custom template
    After you install a template, it appears in the My Templates category in the template chooser.
    In the template chooser, Control-click the template name, then choose Rename or Delete.
    If you’re renaming, type a new name, then press Return.
    You can’t rearrange templates; they always appear in the order in which they were added.

  • Insert document expiration date in a Word template

    Hello all,
    I have a problem I hope anyone can help me with. I need to include a column in Document Library with the Document expiration date and after that, include that expiration date into the Word templates I have in that library.
    In order to do that, I created a date column (not a calculated one) called "ExpDate" with a default value of Today + 365 as I want the document to expire one year after its creation. After that, I edit the word templates I have associated to the
    document library so as to include the new "ExpDate" column as a Quick part.
    The problem I find is the following: When I create a new document based in the document templates (through content types), the user has the chance to insert an expiration date (as it is metadata) or leave it empty (the column is not defined as mandatory). If
    the user leaves the expiration date empty, the new column is filled with the default value (today + 365 days) but when I open the word document I see the name of the column [ExpDate] instead of the default value.
    Is there a way of forcing the document information panel to be filled with the default value?
    Do you imagine an alternative solution to the requirement of including the expiration date inside the document without having to be defined by the user?
    Thanks a lot.
    Regards.

    Wordsub.llb should be somewhere in your Labview folder on your local drive. The path to it in my install is: C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\_office\_wordsub.llb
    Also what specific problem are you referring to about 17 bookmarks? Is that the limit on the express style VI for filling them in from LV? If so what you will need to do is to use the lower level function 'Word Insert Field' under Word Advanced VIs. You will need to supply the VI the name of the bookmark and the text you want to insert.

  • Help for -Generate Report using Word template having company Logo

    HI GUys,
    I am trying to generate a report in PDF using the word template having some company logo as footer to that .
    When user click on print ,the graph should be added to the template and its should output the report in pdf.
    I am able to achive this when I 'm  not using the template,but when I use the template (sample code shown below),its throws the error attached in screenshot.
    pls suggest the possible way to achieve this

    Why are you deleting the file after creating the report? Are you sure that the image exists at the path specified when running?
    Also, in your top screenshot because of data flow there's a high possibility that you actually delete the file before it gets used because there is no connection between the end of writing the report and deleting the picture.
    I also suspect there's a chance there might be a permissions issue - you are trying to get the file from another user's desktop which isn't normally allowed - do the file/folder permissions give you access to that file path? I would try putting the picture on your own desktop just to rule that out.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Word templates with Macros

    Dear all,
    I have a couple of Word templates (in document libraries) that should have the filename and page count on the footer of the front page. It seams there is an issue with Word that these do not automatically update (MS kb 832897).
    I am using word 2010, 64 bits.
    This is solved with a Macro.
    When placing the word with macro template in SharePoint, SP blocks it and the macros are not ran.
    Any one with experience on this?
    Thanks in advance.
    Gonçalo

    It is not possible to run a macro in SharePoint after the document has been uploaded. 
    You can replicate this scenario by creating a SPItemEventReceiver which will run customized code on ItemAdded in your document library. 
    Please go through the following articles for details:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spitemeventreceiver.aspx
    http://msdn.microsoft.com/en-us/library/office/ms437502%28v=office.14%29.aspx
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • Saving only a portion of a Microsoft Word template into a new document using LabVIEW Report Generation Toolkit

    I have a Microsoft Word template I want to populate programmatically with test data. The template contains both explanatory text and a data sheet section with test data placeholders (bookmarks). Using the Report Generation Toolkit for Microsoft Office, I have been able to successfully populate the placeholders with data and save the results into a new Microsoft Word document. The problem is the new Word document contains not only the test data but also the explanatory text that was in the original document template. Ideally, I would like to have the generated document contain just the test data without the accompanying text. Is it possible to do this usi
    ng the Report Generation Toolkit?

    Hello Ryan,
    Two easy options come to mind.
    1. You may want to consider using an �ink annotation� instead of regular text for your explanation.
    2. You can programmatically do a find and replace on the explanatory text. Have LabVIEW find the whole paragraph, and replace it with nothing.
    If none of these suggestions help, or if I�m not correctly understanding your issue, please reply with comments or answers to the discussion above and any additional information that may help, and I�ll be happy to look further into it.
    Have a nice day!
    Robert Mortensen
    Applications Engineer
    National Instruments
    Robert Mortensen
    Software Engineer
    National Instruments

  • Report Generation - Word Template

    Hi,
    I am trying to write a program that captures up to 873 different scope shots.
    At the end, the program will generate a Word Report with all scope shots and measured parameters.
    I have used the Word Template in the past and created field for each parameters.  However, this approach will not be efficient with this complex test.  The report format of each test is shown below with the read box indicating the field where data will be plugged in by LabVIEW.
    To create the word template for entire tests can create unnecessary post processing to delete the part of the test that user didn't run.  If user ran only 3 tests then he would have to delete other 870 templates which will not be cost efficient.  Also, this could create unnecessary programming mess that is not very flexible.
    My questions -- is there any way I can copy this template below as I run the test?  Rather than creating a word template for 873 different test for which I may only run part of it, can I copy the template based on number of test that user would like to run?
    Any pointers will be appreciated.
    Thanks,
    Chetna
    Intersil Inc.
     919-405-3696
     Example of the scope data figure:
    Figure Error! No text of specified style in document.‑1. □
    1. □
    2. □
    3. □
    4.  □
    Test Conditions:Vin=□V,  Vout=□V: □A Temp=□C Mode=□Fs=□Serial #=□ 

    Hi Vivek,
    I have LabVIEW 8.5 Development version and the report generation tool kit.  I will be writing VI to fill the data in and generate a word report with Up to 873 different tests.  The template that I attached is the sample template for only one test, I will be doing 873 tests.  The sample test template consists of scope shot and some measured parameters.
    My situation - the VI that I will be writing will fill in the sample template that I attached for 873 times.  For me to generate a word report for all tests, I would have to create a report template with 873 sample templates.  Where there is a red box, I would have to create a field for each box so the LabVIEW will know where to put the data in. 
    Well, that is lot of work in the first place.  Secondly, to keep up with 873 different permuation fields can create lot of unnecessary programming mess.  Lastly, if the user decide to run only part of the test, then there would be lot of empty test templates.  If user decide to run only 10 tests the final report will have 860 empty boxes.  That is not efficient.
    My goal is to create the word report using just one sample template rather than 873.  I would like to copy the sample template based on number of tests user defines. 
    My question is-  Is there any way to copy the sample test template that I attached using the report generation toolkit?
    Regards,
    Chetna Tailor

Maybe you are looking for