Error while creating Document Templates

Hi Experts,
Am getting an ActiveX error while trying to create a document template designer using a webservice I created in the WST. I have consulted note 1018674 and ensured that the following browser settings are activated but still I keep getting the error.
- Active Scripting
- Run Active X Controls and plug-ins
- Initialize and script ActiveX controls not marked as safe
Also, since I had been trying to create a microsoft word type of template the system does open an instance of the word doc. Can anyone pls advice?
How can we ensure that the webservice we have created is working. When I try to test the service in the WST tool, I keep getting the message - URL cannot be retrieved. Does it mean that the service has not been created correctly?

Check if you done all the following settings...
.NET Framework-reliant components:
○     Run components not signed with Authenticode ® Enable
○     Run components signed with Authenticode ® Enable
ActiveX controls and plug-ins:
○     Download signed ActiveX controls ® Enable
○     Initialize and script ActiveX controls not marked as safe ® Enable
○     Run ActiveX controls and plug-ins ® Enable
○     Script ActiveX controls marked safe for scripting ® Enable
Downloads:
○     File download ® Enable
Miscellaneous:
○     Installation of desktop items ® Disable
Scripting:
○     Active scripting ® Enable
○     Allow paste operations via script ® Enable
○     Scripting of Java applets ® Disable
●     To enable groupware integration, adjust the browser settings under Tools ® Internet Optionsu2026 ® Security ® Custom Levelu2026 as follows:
ActiveX controls and plug-ins:
○     Download unsigned ActiveX controls ® Prompt.
○     Initialize and script ActiveX controls not marked as safe ® Enable
○     Run ActiveX controls and plug-ins ® Enable

Similar Messages

  • Error while creating document numbering series via SDK add on

    Dear Experts,
    We receive the following error while creating the document numbering series through the SDK add on
    [Microsoft][SQL Server Native Client 10.0][SQL Server]The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Too many parameters were provided in this RPC request. The maximum is 2100.
    From the above error message I can suspect the following possibilities
    1. The limit for the document numbering must be less or equal to 2100.
    2. There is a problem in the coding in SDK where it does not allow more than 2100 lines in the database.
    We tried to create manually for the same fiscal year and period indicator disconnecting the add on, the same error occured.
    Then we created a seried for a single document with the period indicator for the next fiscal year, it allowed.
    After creating the document numbering for the next fiscal year, we were able to create the numbering for the previous year also.
    Kindly help us on how to solve the same.
    With regards,
    Yeshwanth Prakash

    Hi
    You have, as far as i can determine without seeing the template,defined no Part Appraiser Column (PAPP) in your template. But you have defined a function on the template to automaticly default the part appraisers.
    On the Appraisal document persons (appraiser / appraisee) are getting defaulted as part-appraisers although no part appraisal column excist,and therefor 00 Part Appraisers are allowed. This gives the error. Remove the Part Appraisers default functionality from the template and this problem will be solved.
    FYI: The reason why this doesn't give a business check error is that the functions to default participants are BAdI's and we have no means of determining wether or not a BAdI implentation will create an inconsistency on the appraisal document.
    Also, the reason that it occurs as a S message and not as E or W is because of programming restrictions in combination with messages. All errors on the Appraisal Document will come as 'S' messages.

  • Error while creating Documents in WPC

    Hi All,
    I am trying to create a form using an article template in Web page composer (NW 7.3). When i save the form keying in the required details I get an error saying "Error while saving the document" . This is what i found in Log files and have not been able to find out what is going wrong.
    I have all the required roles but still the form saving doesn't happen.
    Please help.
    #2.0 #2011 12 30 19:44:04:495#+0530#Error#com.sap.nw.pcc.editor.EditorTool$EditorToolDynPage#
    #EP-PIN-WPC-WCM#sap.com/com.sap.nw.pcc.xmleditor#C000AC10D25D11BE0000000100001CE4#1581950000000004#sap.com/com.sap.nw.pcc.xmleditor#com.sap.nw.pcc.editor.EditorTool$EditorToolDynPage#hussain.s#771##2EBA27FD32F011E1A35300000018237E#84d32d4332f011e18d6700000018237e#84d32d4332f011e18d6700000018237e#0#Thread[HTTP Worker [@1002771266],5,Dedicated_Application_Thread]#Plain##
    PCC exception while saving a document: Unable to authenticate request!XSRF token is not valid.
    [EXCEPTION]
    com.sap.nw.pcc.km.service.editor.EditorException: Unable to authenticate request!XSRF token is not valid.
         at com.sap.nw.pcc.editor.EditorBean.saveDocument(EditorBean.java:468)
         at com.sap.nw.pcc.editor.EditorTool$EditorToolDynPage.onSave(EditorTool.java:523)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:173)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:106)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sap.nw.pcc.editor.EditorTool.doContent(EditorTool.java:131)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:205)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:121)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher$5.service(RequestDispatcherFactory.java:308)
         at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:270)
         at com.sap.portal.prt.core.RequestDispatcherFactory$PortalComponentRequestDispatcher.service(RequestDispatcherFactory.java:298)
         at com.sap.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:229)
    Thanks
    Hussain

    Hi Andrea,
    Please try below fix and check if this works for you. This solution has worked for us.
    Logon to NWA, and navigate to Configuration->Infrastructure->Java System Properties.
    Open Java System Properties and select the Instance and choose Show advanced properties.
    In the Details Section, switch to services tab and search for web container.
    Select the Web Container and in the properties serach for the string "XSRF".
    choose the property "xsrf.protection.enabled" . This property is set to true by defualt. Change it to false, save and restart portal.
    Then try saving WPC Forms
    Hope this helps.
    Thanks
    Hussain

  • Index: 0, Size: 0 error while creating data template in BI Publisher

    Hi
    When i am trying to create the data template for BI Publisher reporting. i am gettinhg the Index: 0, Size: 0
    error. I checked the query that i have used to create template and it is working fine. But not sure why it is not happening while creating the data template. Can anybody help me out please.

    how about pasting the content of your data template here, so that forum members can see what could be the problem.

  • Getting Error while creating Document object  after  parsing XML String

    Hi All,
    I have been trying to parse an XML string using the StringReader and InputSource interface but when I am trying to create Document Object using Parse() method getting error like
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    Please find the code below which i have been experimenting with:
    import java.io.BufferedReader;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.IOException;
    import java.io.StringReader;
    import java.util.List;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import java.io.*;
    public class TestMain {
         public static void main(String[] args) {
              String file = "";
              file = loadFileContent("C:\\Test.xml");
              System.out.println("contents >> "+file);
              parseQuickLinksFileContent(file);
    public static void parseQuickLinksFileContent(String fileContents) {
    PWMQuickLinksModelVO objPWMQuickLinksModelVO = new PWMQuickLinksModelVO();
         try {
    DocumentBuilderFactory factory =           DocumentBuilderFactory.newInstance();
         DocumentBuilder builder = factory.newDocumentBuilder();
         StringReader objRd = new StringReader(fileContents);
         InputSource objIs = new InputSource(objRd);
         Document document = builder.parse(objIs); // HERE I am getting Error.
         System.out.println(document.toString());
    What is happening while I am using builder.parse() method ???
    Thanks,
    Rajendra.

    Getting following error
    [Fatal Error] :2:6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
    seorg.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

  • Error while creating document with attachment.

    Hi,
    I am getting an error "An error occured while creating the original attribute for PDF"
    I tried with out file attachment, it works as you know it is simple....
    I tried with various types of attachments like .TXT and .WRD (changed both wsapplication and docfile parameters), however i get the same error. I tried both from presentation and application server (by providing   pf_ftp_dest                = 'SAPFTPA'    pf_http_dest               = 'SAPHTTPA' )
    Any idea on how to solve this?
    All i need is create a DMS document with a PDF attachment from application server. Are there any other ways to solve this issue?
    ws_docdata-documenttype = 'ARE'.
    ws_docdata-description = 'BAPI DMS'.
    ws_docdata-statusextern = 'CR'.
    ws_file-storagecategory = 'DMS_C1_ST'.
    ws_file-wsapplication   = 'PDF'.
    ws_file-description = 'Job output'.
    ws_file-docfile = 'C:\CAD Integ BAPIS_46.pdf'.
    append ws_file to it_files.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
         documentdata               = ws_docdata
    IMPORTING
         return                     = v_ret
    TABLES
         documentfiles              = it_files   .
    BREAK-POINT.
    IF v_ret-type CA 'EA'.
      ROLLBACK WORK.
      WRITE : v_Ret-message.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = '5'.
    ENDIF.
    Thanks
    Pavan

    Hi,
    I found that it is due to document type = 'ARE'. I changed hte document type to one of hte standard type 'TST'. It works for presentation server, but does not work for application server. Any ideas? Any help is appreciated with points.
    ws_docdata-documenttype = 'TST'.
    ws_docdata-description = 'BAPI DMS'.
    ws_docdata-statusextern = 'CT'.
    ws_docdata-documentnumber = 'ZNG-10000000017'.
    ws_file-storagecategory = 'DMS_C1_ST'.
    ws_file-wsapplication   = 'PDF'.
    ws_file-description = 'Job output'.
    ws_file-docfile = p_file.
    append ws_file to it_files.
    CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
      EXPORTING
        documentdata               = ws_docdata
       pf_ftp_dest                = 'SAPFTPA'
       pf_http_dest               = 'SAPHTTPA'
    IMPORTING
       documentnumber             = v_docnum
       documentpart               = v_docpart
       documentversion            = v_docver
       return                     = v_ret
    TABLES
       documentfiles              = it_files   .
    IF v_ret-type CA 'EA'.
      ROLLBACK WORK.
      WRITE : v_Ret-message.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = '5'.
    ENDIF.
    Thanks
    Pavan

  • Error while creating Journal Template

    Dear Experts
    I am in process of re-creating Journal Template and got below error
    (I have upgraded to BPC 7 NE SP8 - before this I was using the Journal!!!!)
    Step1_Init : An error occured while parsing EntityName, Line 1, Position 2069
    and then Journal Wizard wont display any dimensions to select the header dimensions
    Any suggestions
    Amar

    Hi Shankar,
    we have the same issue, but we are running on BPC NW 7.5 SP 06.
    Did you find a solution?
    Best regards
    Gianfranco Vallese

  • Errors while creating a template

    Hello,
    I am trying to create a web template, using WAD (BW NW2004s). When I save it and try to execute it in browser I am getting following error messages.
    "Template URL for Template N_TEST_TEMP could not be generated" when it gives this msg it opens up a new window ( which is basically c drive)
    "error while executing service RRXWS_WEBPUB_CALL_SERVICE:V for object 1()"
    Giving you guys background, we r just in starting stages we have not moved any BC objects to DEV. CAn this thing be because of RFC or anything I am not sure.
    Can someone help me please,
    Thanks a lot

    You will have better luck posting the question in the NW2004s Rampup forum.

  • Errors while creating a template file using

    Hi,
    I am new to jdeveloper 10g (10.1.3.4.0). I am developing a project where i was creating a template using ADF face core page in the component pallete. I select and drag the panel page component on the visual editor. I could see that the errors folder is created in the structure pane and i could see the following error messages in that folder. Can somebody help me in resolving these errors.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlHtmlTag not found.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlHtmlTag not found.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlHtmlTag not found.
    Method setParent(com.sun.faces.taglib.jsf_core.ViewTag) not found in <unknown>.
    Method doStartTag() not found in <unknown>.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlHeadTag not found.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlHeadTag not found.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlHeadTag not found.
    Method setParent(<unknown>) not found in <unknown>.
    Method setTitle(java.lang.String) not found in <unknown>.
    Method doStartTag() not found in <unknown>.
    Method doEndTag() not found in <unknown>.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlBodyTag not found.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlBodyTag not found.
    Type oracle.adfinternal.view.faces.taglib.html.HtmlBodyTag not found.
    Method setParent(<unknown>) not found in <unknown>.
    Method doStartTag() not found in <unknown>.
    Method doEndTag() not found in <unknown>.
    Method doEndTag() not found in <unknown>.Thanks in advance

    Hi,
    since 10.1.3 does not have templates I am wondering what you were attempting to do? It appears as if the Faces libraries are not available for the project, so you may want to give us a steb-by-step instruction of how to reproduce the error
    Frank

  • Error while creating document in cv01n

    In cv01n while attaching excel,word etc.file,at the time of saving error massege given is document can not change.Please provide me solution

    I have checked the img setting ,img setting is ok,still it gives program error  as below,can you suggest me whether reccomndations can implemented or not.
    Note 964021 -Update Task Fails When New Version Created
    Note Language: English Version: 2 Validity: Valid from 07.11.2006
    Summary
    Symptom
    Update task fails when a new version of an old document info record is
    created using CV02n transaction.The system throws an update terminate
    error.
    More Terms
    UPDATE TERMINATE, MESSAGE 26 178, CV200_DB_DOC_UPDATE, CV02N
    Cause and Prerequisites
    Program Error
    Solution
    Implement the note
    Header Data
    Release Status: Released for Customer
    Released on: 07.11.2006 12:13:26
    Priority: Correction with medium priority
    Category: Program error
    Main Component CA-DMS Document management
    Valid Releases
    Software Component Release From
    Release
    To Release and Following
    SAP_APPL 500 500 500
    SAP_APPL 600 600 600
    Support Packages
    Support Packages Release Package Name
    SAP_APPL 500 SAPKH50016
    SAP_APPL 600 SAPKH60008
    Attributes
    Attribute Value
    SAP objects CV200_DB_DOC_UPDATE
    Transaction codes CV02N,CV03N
    Transaktionscodes - manuell CV02N,CV03N
    SAP-Objekte - manuell CV200_DB_DOC_UPDATE
    DownPort/UpPort-WF UpPort check done, symptom
    repaired
    Correction Instructions
    19.06.2008 Page 1 of 2
    Note 964021 -Update Task Fails When New Version Created
    Correction
    Instructio
    ns
    Valid
    from
    Valid
    to
    Software
    Component
    Typ
    e
    Reference
    Correction
    Last
    Changed
    518092 500 500 SAP_APPL C P6DK093226 07.11.2006 17:30:29
    807328 600 600 SAP_APPL C P7DK042952 13.07.2006 14:50:41
    *) C Correction, B Pre-Implementation, A Post-Implementation, M Undetermined
    19.06.2008 Page 2 of 2

  • Error while creating a Development plan template

    Hi Gurus,
    I am facing errors  while creating Development Plan Template.
    This is how it goes :
    When i click on Define Forms for Talent Assessment --> a wizard pops up & i select Development Plan :
    In first step, I am giving Title,Integration with SAP Learning Solution (check) & a rating scale.
    Now after clicking next, I am adding 2 development areas :
    1) Training
    2) Mentoring,
    now as soon as I'm clicking on End Configuration, It displays 2 errors & 1 warning message :
    error1 : Element Appraisal Template 'XXXXX' contains errors.Cannot change status.
    error2 : Value type 000000XXX of value class Q does not exists
    Warning 1 : You have maintained a description that is not displayed.
    In PHAP_CATALOG, when I'm trying to manually release the Criterion Group (VB) or Appraisal template (VA), it does not allow me to do it.
    Kindly let me know how to proceed further.
    Regards
    bharti

    Hi,
    Even though it gives the error,the new RTF template is uploaded and it is reflected when I query the template again.
    But when I run the Concurent program and see the output,the output still shows me the old template.
    Regards
    Jujaar

  • Error while creating subsite from site template

    Hi,
    I am getting below error while creating subsite from existing site template .
    Sachin Bhosale

    There must be a duplicate Email field created in any list/library. The cause can be identified by renaming the site template to sitename.cab > extact the cab file > open the manifest file search for email and see where it is associated. Refer
    to the following blog post for more information
    http://sharepointserved.blogspot.com/2012/11/a-duplicate-name-was-found.html
    http://sharepoint.stackexchange.com/questions/11944/error-when-creating-a-site-from-custom-template-a-duplicate-field-name-name
    Cheers,

  • Error while creating delivary document

    Hi
    i got error while creating delivary document
    "Delevivary documents could not be created"
    Thanks&regards
    kishore kumar

    Hi Kishore,
    Please check the sales order is this relevent for the delivery or not.
    Check the copy control settings between your sales document type and delivery document type in VTLA transaction.
    Check the incompletion log for the sales order.
    I hope it will help you,
    Regards,
    Murali.

  • Heap space error while creating XML document from Resultset

    I am getting Heap space error while creating XML document from Resultset.
    It was working fine from small result set object but when the size of resultset was more than 25,000, heap space error
    I am already using -Xms32m -Xmx1024m
    Is there a way to directly write to xml file from resultset instead of creating the whole document first and then writing it to file? Code examples please?
    here is my code:
    stmt = conn.prepareStatement(sql);
    result = stmt.executeQuery();
    result.setFetchSize(999);
    Document doc = JDBCUtil.toDocument(result, Application.BANK_ID, interfaceType, Application.VERSION);
    JDBCUtil.write(doc, fileName);
    public static Document toDocument(ResultSet rs, String bankId, String interfaceFileType, String version)
        throws ParserConfigurationException, SQLException {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder builder = factory.newDocumentBuilder();
            Document doc = builder.newDocument();
            Element results = doc.createElement("sims");
            results.setAttribute("bank", bankId);
            results.setAttribute("record_type", "HEADER");
            results.setAttribute("file_type", interfaceFileType);
            results.setAttribute("version", version);
            doc.appendChild(results);
            ResultSetMetaData rsmd = rs.getMetaData();
            int colCount = rsmd.getColumnCount();
            String columnName="";
            Object value;
            while (rs.next()) {
                Element row = doc.createElement("rec");
                results.appendChild(row);
                for (int i = 1; i <= colCount; i++) {
                    columnName = rsmd.getColumnLabel(i);
                    value = rs.getObject(i);
                    Element node = doc.createElement(columnName);
                    if(value != null)
                        node.appendChild(doc.createTextNode(value.toString()));
                    else
                        node.appendChild(doc.createTextNode(""));
                    row.appendChild(node);
            return doc;
    public static void write(Document document, String filename) {
            //long start = System.currentTimeMillis();
            // lets write to a file
            OutputFormat format = new OutputFormat(document); // Serialize DOM
            format.setIndent(2);
            format.setLineSeparator(System.getProperty("line.separator"));
            format.setLineWidth(80);
            try {
                FileWriter writer = new FileWriter(filename);
                BufferedWriter buf = new BufferedWriter(writer);
                XMLSerializer FileSerial = new XMLSerializer(writer, format);
                FileSerial.asDOMSerializer(); // As a DOM Serializer
                FileSerial.serialize(document);
                writer.close();
            } catch (IOException ioe) {
                ioe.printStackTrace();
            //long end = System.currentTimeMillis();
            //System.err.println("W3C File write time :" + (end - start) + "  " + filename);
        }

    you can increase your heap size..... try setting this as your environment variable.....
    variable: JAVA_OPTS
    value: -Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m

  • Error While Creating Sales Document - on a new rollout

    Dear Friends,
            While going for new Plant Creation on a Rollout, i am getting the following error while creating Sales Order,
    Kindly suggest the needy to me,
    " _Template and one-time material processing is not activated                                                                               
    No determination routine is specified for the SD documents for the 
    permitted combinations                                                                               
    The combination of sales organization, document category, and      
    document type or delivery type for the SD document is not permitted_ "
    Thanks & Regards
    T.Arulvanan

    Dear Freind,
    Have you assigned the Sales Area to the Document types
    T-code : OVAZ.
    Also Check the Sales Applications  V/c2
    Can you double click on the error and See what is the datails of the error appearing?
    Regards,
    Amlan Sarkar

Maybe you are looking for