Query in Template Designer

Hello,
I'm trying to create a word template in template designer for appointments (BUS2000126). I've created a web service in the web service tool. In the web service tool I found a query, Query for Activities [ BTQAct ], which seems useful. I have allowed all query attributes, but they don't appear in the XML Scheme when I create the word template. Is it possible to use queries this way? If so, what could I have done wrong?
Kind regards,
Johan Wigert

Hello Robert,
I followed your advice and I've found the information that I want to publish. I have one additional question about the date though. I'm now using the date in:
Administrativeheaderoforder - Datesofheader - Alldates - element1 - TimestampTo
This seems to give me the starting date of the appointment. I'm not too happy about the format as it is now YYYYMMDDHHMMSS. I would like to have it like YYYY-MM-DD. Do you know if that's possible?
Kind regards,
Johan Wigert

Similar Messages

  • 0ADHOC error while executing the query from Report Designer

    Hi All,
    When I am executing The Query from Report Designer,  am getting the below error.
    Please help me in this regard.
    The initial exception that caused the request to fail was:
    The Web template "0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:82)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:163)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:79)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:133)
    Thanks,
    KVR

    Hi,
    The web template 0ADHOC is usually the standard web template for 3.x queries. The Report Designer executes the reports in java web, thus tries to find the template 0ADHOC in the 7.0 templates and does not find it. Check whether you have maintained the standard web template 0ADHOC for 7.0 reports also:
    Transaktion SPRO -> SAP Reference Image -> SAP NetWeaver -> Business Intelligence -> Settings for Reporting and Analysis -> Bex Web -> Set Standard Web Templates
    Best regards,
    Janine

  • Help me . Query in " Query Print layout Design "

    Hi Everybody .
    I Design Report by Query Print layout Design , So when I run Report , I see Message : " Table not found Administrator (OA DM)" .
    This is My Query .
    ( Note :this  Query is run ok in Microsoft SQL  . )
    Select Cast(left([dbo].[Get_rate](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType),5)       as nvarchar(50))+ Cast(T0.BatchNum as nvarchar(50))As No_Number    ,  T0.TaxDate As Date       ,     case left(T0.Account,4)when '1112'then '0.00'     when '1122'then'0.00' else           [dbo].[Get_11](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType)end  as Amount1              , case left(T0.Account,4) when '1111'then '0.00' when '1121' then '0.00'           else [dbo].[Get_111](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType) end  As Amount2            , T1.U_VNS_MEMO  As U_VNS_MEMO, T1.U_VNS_VNUMBER as PV_No    , T1.U_VNS_JType as 'Voucher Type'         , T0.Account  As AC_Code    , T3.AcctName as Description  , T0.Debit As Debit ,T0.Credit As Credit        , T1.U_VNS_NAME,     T0.U_VNS_REMARKS   From BTF1 T0                Inner Join OBTF T1 On T0.BatchNum = T1.BatchNum               Inner Join OBTD T2 On T0.TransID = T2.BatchNum                Inner Join OACT T3 On T0.Account = T3.AcctCode                    Where  T0.BatchNum = '[%0]'  Group by   Cast(left([dbo].[Get_rate](T0.BatchNum,left(T0.Account,4),T1.U_VNS_JType),5)       as nvarchar(50))+ Cast(T0.BatchNum as nvarchar(50)) ,  T0.TaxDate   ,       case left(Account,4)when '1112' then '0.00'     when '1122'then'0.00' else           [dbo].[Get_11](T0.BatchNum,left(Account,4),T1.U_VNS_JType)end             , case left(Account,4) when '1111'then '0.00' when '1121' then '0.00'           else [dbo].[Get_111](T0.BatchNum,left(Account,4),T1.U_VNS_JType) end            , U_VNS_MEMO  , T1.U_VNS_VNUMBER    , T1.U_VNS_JType       , Account     , AcctName       , T1.U_VNS_NAME,     T0.U_VNS_REMARKS      order by  Amount1 desc
    Please help me .
    Thank you very much .
    Message was edited by:
            Tran Ba Hai

    Note: This Quey if I change = [%0] by = 1 ,  and I run Report in SAP is ok .

  • Question on the Template Designer

    Hi Experts.
    I am trying to create a document template using a web service.
    My need is to display a table with different lines of information but currently it does work.
    I created the web service with a component Business Transaction and for single data (like the object id), i am able to display it correctly. But when it cames to several lines, it doesn't work.
    My example is based on the partners where i try  to display all partners associated to the document.
    Here is the the xml integrated into word.
    Do you see something wrong with that ?
    [http://img34.imageshack.us/img34/4527/examplesdn.png]
    When i generate the template, it's empty for the partners but if i debug the web service i see the data for partners.
    [http://img130.imageshack.us/img130/3290/examplesdn2.png]
    Any idea on i can handle table in the template designer ? Anyone has some documentation to share ?
    Thanks for you help.
    Regards,
    Helder.

    Sorry, I forgot to close the thread but i've found it on the SAP Help
    [http://help.sap.com/saphelp_crm70/helpdata/EN/c3/769dd7c3ef4e7ea1467c05566c5385/frameset.htm]
    Anyways, i'm crediting you the points !
    By any chance do you know if it's possible to put conditions in the processing of the table ?
    For example something like do not display the partner function sold-to-party.
    Do i have to code it in the XML or is it possible to do that with the Web service tool or with the template designer ?
    Regards,
    Helder

  • How to handle a phrase like a single word in a query rewrite template?

    Hi there,
    i would like to handle a case like this:
    "hewlett packard" printer
    I have a custom thesaurus where {hewlett packard} is a synonym of {hp}, and viceversa of course.
    Now, i can successfully find records like "hp printer" or "printer model hp 2575 "by issuing the following query:
    select * from sale_items
    where contains(item_name,
    'SYN(hewlett packard,cust_thes) AND printer')>0
    or its equivalent form containing curly braces:
    select * from sale_items
    where contains(item_name,
    'SYN({hewlett packard},cust_thes) AND printer')>0
    My problem is that i can't find a way of successfully passing the phrase "hewlett packard" as a single word in a query rewrite template like this one:
    select * from sale_items
    where contains(item_name,
    '<query>
    <textquery grammar="CONTEXT">{hewlett packard} printer
    <progression>
    <seq><rewrite>transform((TOKENS, "SYN(", ",cust_thes)", " AND "))</rewrite></seq>
    </progression>
    </textquery>
    <score datatype="INTEGER" algorithm="COUNT"/>
    </query>')>0
    When i run this query i get no rows.
    The same happens if i substitute curly braces with double quotes.
    So, how to get phrases to be recognized in the query rewrite template?
    Bye,
    Flavio

    I am unable to find out a way to search on the particular phrase like I have a document containing the text
    “Oracle Text is a good searching tool.” Now if searches for the phrase “searching tool”, it doesn’t return any rows but if I search for “searching” and “tool” in 2 separate queries, it gives the document.
    If any one has done it before, please tell me the solution.
    I have used the following queries to create index on BLOB column:-
    CREATE INDEX doc_ indx ON doctest(document)
    INDEXTYPE IS ctxsys.CONTEXT PARAMETERS('lexer doc_lexer sync (on commit) ');
    select * from doc_test where contains(document, 'searching tool') > 0;
    select * from doc_test where contains(document,'searching') > 0;
    select * from doc_test where contains(document,'tool') > 0;
    Should I specify something while creating the indexes ?
    Regards
    Inderjeet

  • Template Designer - Using Word templates in CRM 5.2

    Hi, I am trying to understand how to go about setting upp a crm 5.2 system for using word templates. I have trouble finding information about it. Does anyone have any link suggestions or knowledge about it which You can share?
    Thanks!
    Best regards Eva
    Edited by: Eva Hamberg on Jan 11, 2010 11:46 AM

    Hello,
    First of all I would recommend to implement all OSS notes for your CRM version. Search for application area "CRM-BF-COM". Example:
    Note 1068364 - Office Integration fixes CRM 5.2
    Then kindly check the online help for more information on how to use the template designer:
    http://help.sap.com/saphelp_crm60/helpdata/en/f8/ba29b001be455d89764cf29c6a19fb/frameset.htm
    Kind regards,
    Nicolas Busson.

  • Query/web template coming up blank in the portal

    Hi,
    I got one requirement saying that query/web template coming up blank in the portal.I have checked in portal it is blank.
    I don't have much knowledge about portal. I am not able to find this query name in the SAP gui(dev,q prod).can we publish the query with out creating in BEx .I don't understand can you please help me to resolve ths issue.
    Thanks
    Murali

    I don't know where to find the URL that the iView is pointing to...?Please guide me .
    Finally i came to know that the base query and one of the view is not populating the data in portal other views are populating the data.the views are created based on region(usa,europe..etc).I have executed this view and base query in BEx I am getting the error "internal error receiving from the bw serverfailed bw server raised exception:SYSTEM_ FAILURE. I think due to that the data is not populating in th portal. Please let me know how to resolve this issue.
    Thanks
    Murali

  • Email documents created using template designer

    Dear Experts,
    I am in the process of creating word documents using word document templates (template designer) in the CRM 2007 system. I wanted to find out if its possible to email the word documents generated from the templates using the same screen. if so, are any additional settings required to do so?
    Thanks & regards
    Ritwik Sharma

    Hi,
    1. Please check whether the workflow is running under system account or non-authenticated user.
    2. The following blog for your reference.
    SharePoint Designer 2013 Workflows not sending e-mail messages
    http://samirvaidya.blogspot.com/2014/02/sharepoint-designer-2013-workflows-not.html
    Best regards
    Dennis Guo
    TechNet Community Support

  • How do I change template designs once a form has been created using another template design?

    How do I change template designs once a form has been created using another template design?

    I talked to a service Representative and he told me there isn't a function to change a form using one template to a different template. For example, I used template for "Accommodation registration" and wanted to change it to "admissions application." I was hoping I could just select a "Change template" rather than having to copy/paste everything to the new template. But that's what i had to do. Maybe the next version of this software will make it easier to change design templates.

  • Template Designer - Custom Partner Functions in Object GDCOIC

    Hi,
    After spending a lot of time juggling with Template designer we have finally managed to get it working.
    But we have now come to an issue where the object used to create web service for template designer GDCOIC doesn't have details of partner functions we have setup in our system niether does it have custome date fields.
    Does anyone know how to add them? redefine - regenerate component GDCOIC?
    Thanks,
    Pankaj

    Here is the screnario
    Customer(Sold2party) is assigned to multiple sales org, Has multiple vendors, so when i create sales order in GUI, and enter the customer ID in "Sold2party" it gives a first pop-up to select sales org and i select one the sales org and then gives next pop up to select vendor and i select one of the vendor then i go to "partner" tab and i can see "vendor" listed as one the partner function in the tab........ Now the same dosent happens in Webclient. I get the first popup for sales org in webclient but NOT the second popup to select vendor.
    thanks
    Shree

  • Template design in Adobe Muse

    Hey, I have recently downloaded an Adobe Muse Template design. In the sample the designer created, he / she used a stationary photo in the background. I have used my own photo in hthe background now but when I preview it, there is an automatic swiping action that happens in my design. I want the image to be stationary, as in the sample. How do I make this change?

    Parikshit...
    Thank you for your reply. I have managed to do some tinkering with the file I want to manipulate. Now, "Swiping" is not the correct term.
    However, in this example I created there is an automatic transition in the background image that goes up. See this link: http://10.0.100.3:33333/Preview/ua-template-1/index.html
    I would like this image to be stationary. Where do I look to change this?
    thx,
    matt

  • Disable link of BEX 3.5 query web template

    Dear All,
    we migrated all BEX queries from 3.5 to 7.x. Since our users use the BEX queries via web template, most of then have the web template links of old 3.5 queries saved as bookmarks in their browser.
    Is there a way to disable this link server side, in order to force the user to update theyr link with the new one of BEX 7.x query web template?
    Thanks

    Hi,
    > You may delete all 3.X bookmarks. The standard 3.X bookmark administration can be found in transaction RUNSCHED.
    All below options mean, that you also cannot use the Broadcaster anymore !
    > You may deactivate service /sap/bw/BEx in SICF. Users will get an ICF error message (Service not found).
    > You may create your own handler on ICF service sap/bw/BEx, providing an appropriate message for users.
    > Your can create your own redirect/logon/error page on this service.
    > Another very drastic option would be to switch off service HTTP(S) in your ICM. In this case, no web applications are available via that service on the system anymore.
    regards,
    Martin

  • Data Template Designer

    Hi there,
    Can anyone enlighten me - what options exist to create data templates other than hand crafting the XML? Is there a BI Publisher data template designer available? We are using BI Publisher as part of E-Business Suite (11.5.10.2)
    Also, does any utility exist which will take a SQL statement and create an valid data template based on it?
    Thanks,
    - Matt

    [email protected] wrote:
    > If I correctly understand what you're trying to do then Adobe XPAAJ should be adquate:
    >
    >
    >
    > Below is a link to a "video" demonstration of building an application that uses XPAAJ:
    >
    >
    >
    > (I don't think your question about having to write an XDP file is crucial to what you're trying to do, but you don't need to write an XDP file -- it is a "save as" option within Designer. You can save a Designer file as either PDF or XDP. Or both, one after the other, if you need both.)
    Careful with the recommendations for XPAAJ. There are specific restrictions around whether you can
    use XPAAJ or not. Specifically, you have to own a copy of one of the server-based LiveCycle
    products. This does not include LiveCycle Designer, which is a client product.
    Maybe someone from Adobe can clarify.
    Justin Klei
    Cardinal Solutions Group
    www.cardinalsolutions.com

  • How do I change a template design on an existing form?

    I have an existing form, an want to keep all the fields.  I just need to change the template design.  How do I accomplish this?

    Hi;
    I am not sure what you mean exactly.  Are you wanting to be able to change the original "Template" that is on the "Create New Form" tab so when you create forms from that Template it contains your changes?  The Templates are there to base your new forms on and can't be changed, you can use one of your own forms on the "My Forms" tab like a Template by using "Duplicate" to create a copy of that form.
    Or are you wanting to change the look of an existing form without changing the fields, if so what about it did you want to change?
    Thanks,
    Josh

  • How to assign template design to 'Large View' of products

    My template design works with the catalogues and lists all the products fine, but when you click a product for the large view/extra info etc, the template is all over the place.  I realise this is because the template isn't set up for the extra elements in the product section, but I can't see how to add a new template to them.

    As I described in the earlier reply, it's a CSS paths issue:
    <link rel="stylesheet" type="text/css" href="css/site_global.css?260967060" />
    <link rel="stylesheet" type="text/css" href="css/master_catalogue-master.css?3879925598" />
    <link rel="stylesheet" type="text/css" href="css/catalogues.css?3924546827" />
    Change them to:
    <link rel="stylesheet" type="text/css" href="/css/site_global.css?260967060" />
    <link rel="stylesheet" type="text/css" href="/css/master_catalogue-master.css?3879925598" />
    <link rel="stylesheet" type="text/css" href="/css/catalogues.css?3924546827" />
    As for applying the template, you can not apply it to individual products. You have to assign it per catalogue basis.
    Cheers,
    -mario

Maybe you are looking for

  • Create new JTable based on selection of previous table

    Hello All, I want to create a sort of selection table. I have a fairly large JTable that is row selectable. I want the user to be able to select some rows, and then create a smaller table just displaying the selected rows. The current problem I am ha

  • Adobe Acrobat Pro Extended Will Not Install

    I have the Adobe Master Collection CS5 installed, but needed to use some Acrobat features which I understood were only available in the Pro Extended version, so am trying now to install Extended onto the PC. The installation however keeps stopping sa

  • A seemingly obvious question that I can't figure out

    Ok I am usually pretty good with these things and if I don't know how to do something I ask here. However, this one seems really obvious but I can't figure it out! My problem is that I accidently hit the album art button while playing music today whi

  • Regd - Spool request

    Dear all, I have a requirement, to download the list output in PDF format. I am using the following code. This program converts the list output into spool request. But the problem is it is having number of pages is 0(We can see in SP01). Could you pl

  • Cost center assignment in IT 0001

    Hi All, I have a situation where master data is maintained in PA with active integratin with OM. However my client now wants to assign cost center at Organisational Unit level.  When i tried this thru Relationship infotype in TCode PO10, i can't see