DataTemplate Not showing data but showing correct amount of rows

I just started using Datatemplates to convert our Answers Reports over to Publisher. Basicly I am using the direct SQL to BI Server method.
Copy the SQL from the advanced SQL field in BI Answers.
Place new SQL in DataTemplate
Construct DataStructure
It seems to be getting the proper amount of rows but none of the data is shown. I have checked the data multiple times for spelling errors and other simple items but I can't find it. It seems to be making a connection just fine but it does not show and value in the data elements. It just returns 6 empty rows.
Example XML Attached:
<dataTemplate name="FiveDayCo" defaultPackage="" dataSourceRef="OracleRPD">
     <properties>
<property name="include_parameters" value="true"/>
<property name="include_null_Element" value="true"/>
<property name="include_rowsettag" value="false"/>
<property name="scalable_mode" value="off"/>
<property name="db_fetch_size" value="300"/>
</properties>
     <parameters/>
     <lexicals/>
     <dataQuery>
          <sqlStatement name="COOR" ><![CDATA[SELECT "- Correspondence"."% 5 Day Correspondence Response Time" saw_0, '90%' saw_1, "- Correspondence"."% 5 Day Correspondence Response Time"-90 saw_2, "- Correspondence Details"."Correspondence Type" saw_3 FROM Finance WHERE ("- Correspondence Details"."Correspondence Type" IN ('Customer Service', 'Routine', 'Undeliverable', 'Privacy')) AND ("Business Unit"."Business Unit ID" = 6.00) AND ("- Record Details"."Record Type" = 'CORE') AND ("- Correspondence Details"."Correspondence Status" <> 'Closed') AND (("- Primary Expected Completed Date"."Primary Expected Year" = cast (YEAR( date '2010-07-01') as char(4)) ) AND ("- Primary Expected Completed Date"."Primary Expected Calendar Month" = MONTH( date '2010-07-01'))) ORDER BY saw_1, saw_3]]></sqlStatement>
     </dataQuery>
     <dataStructure>
          <group name="Coorespondence" source="COOR" >
               <element name="FiveDayCoorespondenceTime" source="saw_0" function=""/>
               <element name="KPIValue" source="saw_1" function=""/>
               <element name="Variance" source="saw_2" function=""/>
               <element name="CoorespondenceType" source="saw_3" function=""/>
          </group>
     </dataStructure>
</dataTemplate>

A few things to check. Does the sql by itself return data?
Also, do you need the following: <dataTemplate name="FiveDayCo" defaultPackage="" dataSourceRef="OracleRPD"> ? If a package is not used/necessary, remove the reference.
The following tag should be enough.
<dataTemplate name="FiveDayCo">
Your datastructure code should be: (for element name use value (instead of source = ) and I removed function syntax since you didn't specify any function like sum, average)
<dataStructure>
<group name="Coorespondence" source="COOR" >
<element name="FiveDayCoorespondenceTime" value="saw_0" function=""/>
<element name="KPIValue" value="saw_1"/>
<element name="Variance" value="saw_2"/>
<element name="CoorespondenceType" value="saw_3"/>
</group>
</dataStructure>
For a good data template reference, check out the following: http://blogs.oracle.com/xmlpublisher/2009/06/data_template_progression.html
Hope that helps!

Similar Messages

  • Photoshop CS5.5 not showing correct amount of RAM

    I have a PC with 3.25 MB of memory.  I recently purchased the Creative Suite CS5.5.  I was modifying my Preference when I noticed on the Performance Tab, under Memory Usage, it says:
    Available RAM 1569
    Ideal Range: 863 - 1129
    Let Photoshop Use: 941 MB
    Anyone know why Photoshop is only seeing 1/2 of my memory?

    Thanks for the explanation Chris and Sabastian.  I appreciate you taking the time to provide a good explanation.
    Mylenium, you have a way with words.  Guess you have the gift of encouragement.  I did see the "Available Memory" but I read it as that's how much physical memory Photoshop was seeing on my computer, not the amount of memory that was unused at the moment. 
    I'm pretty sleep deprived as of late so I know my brain's "Available Memory" is running low and not running to it's fullest capacity. 

  • Not showing correct amount of space

    So, it started off my iTunes was not detecting my iPod when I would plug it in, the PC was, but not iTunes. So, I installed the newest version of iPod software and uninstalled and reinstalled iTunes. Still wasn't detecting it so I did a factory wipe of my iPod.
    iTunes now sees the iPod, however, it is telling me that I have 800mb of free space on it instead of the 28GB that are actually available. This is preventing me from putting hardly any music on it, and *****. I have tried every thing that I have seen on here for similar problems to no avail. Does anyone have any ideas??

    Maybe you could try restoring it one more time, but if that doesnt work, you could always send it in unless the warranty is expired.

  • Not showing correct output when parsing the date

    //WAP the gives the details of employees
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
      private String nm,curr_dt;
      private Date dob,doj;
      private int salary;
               employee()
                  nm="\0";
                  dob=null;
                  doj=null;
                  curr_dt=null;
                  salary=0;
               void getdata()throws IOException
                  String dt;
                  BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
                  //we can create date with these 3 type of objects
                  Format fm=new SimpleDateFormat("dd-mm-yyyy");
                  DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
       //object of base class are type compatible with the object of derived class
                  SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
                  System.out.print("\nEnter the name of Employee : ");
                  nm=br.readLine();
                  try{
                  System.out.print("\nEnter the date of birth of Employee : ");
                  dt=br.readLine();
                  dob=(Date)fm.parseObject(dt);
                  System.out.print("\nEnter the date of joining of Employee : ");
                  dt=br.readLine();
                  doj=df.parse(dt);
                  }catch(ParseException e){
                  Date d=new Date();
                  curr_dt=sdf.format(d);
                  System.out.print("\nEnter the salary of employee : ");
                  salary=Integer.parseInt(br.readLine());
               void putdata()
                  System.out.println("\n\n\nEmployee Name : "+nm);
                  System.out.println("\nDate of birth : "+dob);
                  System.out.println("\nDate of joining : "+doj);
                  System.out.println("\nCurrent date : "+curr_dt);
                  /*if((doj-curr_dt)>1)
                       salary+=3000;
                  System.out.println("\nSalary of Employee : "+salary);
    class emp
      public static void main(String str[])throws IOException
           employee emp[]=new employee[1];
           System.out.println("\nEnter the detail of employees \n\n");
           for(int i=0;i<1;i++)
                emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    }*Output:*
    Enter the detail of employees
    Enter the name of Employee : Rajendra Sharma
    Enter the date of birth of Employee : 10-10-1979
    Enter the date of joining of Employee : 05-09-2004
    Enter the salary of employee : 2000
    *it is not showing date in the "dd-mm-yyyy" format and not showing correct month as well*
    Detail of employees are
    Employee Name : Rajendra Sharma
    Date of birth : Wed Jan 10 00:10:00 IST 1979
    Date of joining : Mon Jan 05 00:09:00 IST 2004
    Current date : 17-08-2008
    Salary of Employee : 2000                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    Use below code that will help u to sort ur problem.
    import java.io.*;
    import java.util.*;
    import java.text.Format;
    import java.text.DateFormat;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    class employee
    private String nm,curr_dt;
    private Date dob,doj;
    private int salary;
    private String dobb,dojj;
    employee()
    nm="\0";
    dob=null;
    doj=null;
    curr_dt=null;
    salary=0;
    void getdata()throws IOException
    String dt;
    BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    //we can create date with these 3 type of objects
    DateFormat fm=new SimpleDateFormat("dd-mm-yyyy");
    DateFormat df=new SimpleDateFormat("dd-mm-yyyy");
    //object of base class are type compatible with the object of derived class
    SimpleDateFormat sdf=new SimpleDateFormat("dd-mm-yyyy");
    System.out.print("\nEnter the name of Employee : ");
    nm=br.readLine();
    try{
    System.out.print("\nEnter the date of birth of Employee : ");
    dt=br.readLine();
    dob=(Date)fm.parseObject(dt);
    dobb= fm.format(dob);
    System.out.print("\nEnter the date of joining of Employee : ");
    dt=br.readLine();
    doj=df.parse(dt);
    dojj = df.format(doj);
    }catch(ParseException e){
    Date d=new Date();
    curr_dt=sdf.format(d);
    System.out.print("\nEnter the salary of employee : ");
    salary=Integer.parseInt(br.readLine());
    void putdata()
    System.out.println("\n\n\nEmployee Name : "+nm);
    System.out.println("\nDate of birth : "+dobb);
    System.out.println("\nDate of joining : "+dojj);
    System.out.println("\nCurrent date : "+curr_dt);
    /*if((doj-curr_dt)>1)
    salary+=3000;
    System.out.println("\nSalary of Employee : "+salary);
    class emp
    public static void main(String str[])throws IOException
    employee emp[]=new employee[1];
    System.out.println("\nEnter the detail of employees \n\n");
    for(int i=0;i<1;i++)
    emp=new employee();
    emp[i].getdata();
    System.out.println("\n\nDetail of employees are\n\n");
    for(int i=0;i<1;i++)
    emp[i].putdata();
    thanks,
    prabhu selvakumar.

  • Lion: Finder: Column View: Date Last Opened is not show correctly

    Hi Folks,
    I have upgrade my macs from 10.6.8 to 10.7.
    I am using the column view in the finder and I noticed that the
    Date Last Opened is not show correctly in the preview column.
    If I use the the list view and show the column Date Last Opened
    all dates are correct. Using the column view, the Date Last Opened
    allways matches the Date Last Modified.
    The attached screenshot shows an example with the same
    file at in both views mentiond above.
    I have noticed this problem with internal and external drives
    using the filesystem Mac OS Extended (Journaled).
    Is there way known to fix this behavior. In Snow Leopard it worked fine.
    Thank you for your support.

    Same here, however I found a strange work around.
    Go to your applications folder, for instance. Click the gear icon, go to Arrange By, then select Date Last Opened. It will correctly show the last opened time and arrange them accordingly. Switch back to arrange by name and the last opened date reverts back.
    It's not a bug, it's a feature!

  • Characters codes are not showing correctly in my wesbite. I use other browser it works but her ein mozilla its not. Please help

    This is my site http://globaledsource.com/ then the characters is not showing correctly. This is what happen in my site http://globaledsource.com/wp-content/uploads/2013/03/MAS_ThemeProbleme-1024x1024.jpg

    Hi paulique, the simplest next test would be to disable all plugins and extensions (except Shockwave Flash, which is pretty much indispensable) here, restart Firefox, and see whether your font works without them:
    orange Firefox button (or Tools menu) > Add-ons > Plugins category<br>
    orange Firefox button (or Tools menu) > Add-ons > Extensions category

  • Tran.FBL1N - problem with showing correct amount regarding partial paymants

    Hello,
    Every day at my workplace I use transaction FBL1N which I use to see how much money I own to vendors and also to se how much is payed. However I have problem whit showing payed amounts for partial paymants (transaction F-59). For example:
    I own some vendor EUR 20.000,00 and I decide to pay him EUR 15.000,00 using partial paymant option (transaction F-59) because that's amount I have at the moment on my bank account. After that, when I choose that vendor using transaction FBL1N (with enabled option Open items on current date) so I coiuld see how much it is left to pay him, amount EUR 15.000,00 is not subtracted and reprt is still showing me that I own him EUR 20.000,00 which ofcourse is not correct.
    I also must note that in case I payed that vendor full amount I wouldn't have this problem and transaction FBL1N would show correct amount.
    I hope someone can advise me about this and help me solve my issue.
    Any help is appreciated and many thanks in advance for prompt replys.
    Cheers;)
    Adi
    Edited by: samnovice on Jul 18, 2011 1:22 PM

    thnx loky46, I understand it better now - I hva one more important question regarding this:
    Is there any way I can found total amount I own to one or more vendors (_regardless_ if it is full or partial paymant or combination of both paymants)? For example:
    Line 1 || VENDOR I || Eur 20.000,00 RE
    Line 2 || VENDOR I || Eur 15.000,00 AB
    TOTAL                     Eur   5.000,00
    but without using this option:
    you have to add the field "invoice reference" to your line layout and make a subtotal on it.
    Also, is it possible for line Eur 15.000,00 to become Close item because that part is payed and for rest of amount of Eur 5.000 to be Open item because is still not payed. I assume this can't be done but on this way I could now exact total amount of money which I own to my vendor(s) and it would be a of great help to me in every-day work.
    Thank you.
    Edited by: samnovice on Jul 19, 2011 3:26 PM

  • Account Balance not showing correctly

    Sir,
    Suppose , i have posted an invoice  of Rs.200 against a customer and after some times i recieved payment from this customer of Rs.200 So,  accout balance of this customer should be zero.. But when i see the account balance from business partner master data , it should me Rs.-400 in accout balance field but when i navigate through orange arrow in to accoutn balance details , there i get  zero in balance due field?? ie. it is showing coorectly in details of account ballance but in the business partner master data it is not showing correctly??

    hi divya,
    Check SAP Note 904002 - Customer account balance is displayed with negative sign
    Summary
    Symptom
    Customer Balance is displayed with minus.
    Other terms
    Customer balance, Supplier Balance, Credit Balance, Debit Balance, Display Credit Balance with Negative Sign, Company Details, System Initialisation, business partner, accounts, SAP Business One
    Reason and Prerequisites
    Customer balance is displayed in negative though you expect it to be positive.
    Solution
    Under Administration->System Initialisation->Company Details and the 'Basic Initialisation' tab you will find the setting 'Display Credit Balance with Negative Sign'. This setting decides how Customer and Supplier balances will be displayed.
    NOTE!
    When creating a company it is important to know that this setting is irreversible once transactions have been made in the company.
    When this box IS checked the following applies:
    Customer balances will be displayed as Positive.
    Supplier balances will be displayed as Negative.
    When this box IS NOT checked the following applies:
    Customer balances will be displayed as Negative.
    Supplier balances will be displayed as Positive.
    This setting also influences the entry of opening balances for the G/L accounts. Depending on this setting, the opening balances must be entered as positive or negative numbers.
    By default this box is checked when a new company is created.
    Header Data
    Release Status: Released for Customer
    Released on: 02.12.2005  10:42:10
    Master Language: English
    Priority: Recommendations/additional info
    Category: Consulting
    Primary Component: SBO-ADM-INI-DET Company Details
    Secondary Components: SBO-BP Business Partners
    Affected Releases
    Release-Independent
    Hope it solves problem.
    Jeyakanthan

  • The onhand quantity at sub inventory level it is not showing correctly

    For an item the org level quantityt is showing correctly but at sub inventory level it is not showing correctly.
    1)For an item org level the avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           7     7          7
         STORES          0     0          0     
    2) Created an Sales order with quantity 5 ,then STAGING decreased by 5 which is correct.
              the avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           2     2          2
         STORES          0     0          0     
    3) Shipping Transaction not completed,Received 4 into Stores – Staging avail increased by 6 and even STORES also increased by 4 . Here we do not understand why STAGING increased to 6.
         the avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           6     6          6
         STORES          4     4          4     
    4)Ship Transaction Completed sucessfully now the values are showing correctly.
         The avilablty as below :
                   On Hand / Avail to Reserve / Avail to Transact are
         oRG level          7     7          7
    STAGING           2     2          2
         STORES          4     4          4

    Hi Patel,
    You can create a confirmations using CO11N for sub-operations, but you can only confirm hours, not yield quantity. The yield quantity requried to be confirmed in the operation. You can partially or fully confirm sub-operations.
    Enter the order number, sub -operation number all the related data will be displayed execpt greyed quantity fields.
    Can you see the "sub-operation" entry field below "oper./activity" in CO11N ?
    Thanks & Regards,
    Ramagiri

  • The web site of Adobe does not show correctly in FireFox

    I have a bizarre problem.  The site of Adobe (including where I can download the flash player) does not show correctly in FireFox and I only see it as a text HTML page, but without most images (typically, for instance, I do not see the image "Download now" but see a text line "Dowload now", and so on...
    This seems to specifically affect the Adobe web site as I have no problme for other web sites (so far).
    It is something specific to FireFox as  I do have the problem with Internet Explorer.
    The problem persis even if I restart FireFox without any add-on (safe mode).
    Any suggestion ?

    Does this only happen in Firefox?  What do you see with Internet Explorer or Chrome?  If it is only Firefox, I'd try these steps in this order:
    1. Clear your cookies and cache
    2. Reset your Firefox settings
    3. Make a new profile
    Chris

  • Photo events do not show correctly in my iPhone

    Photo events do not show correctly in my iPhone. I have 21 events in my iPhoto but they appear in many different groups in my iPhone.

    Mine too. Anyone have a clue how to fix this?

  • Few of the text in Tibetan language subtitle is not showing correctly

    Dear frds, I am working on 2 hours project which consist of 3 language i.e. English, Russian and Tibetan. Both English and Russian is showing correct while importing in Encore DVD 2 but few of the text which is in Tibetan Subtitle is not showing correctly. I have choosen the font correctly still few of the text is not correct format.
    Is there any way to correct my Tibetan language text either by disabling speeling or grammer check or something else ???
    Or is there any other way to import the subtitle is Picture format ???
    Will be thankful for your kiind help. I stuck my project, please help me...

    did you get a solution to this?
    We had Encore cs3 and that didn't handle Tibetan well.
    Did you use Encore Cs6 to get Tibetan to work ?

  • VL06I Inbound delivery monitor not showing correct results

    Dears,
    We are creating inbound deliveries on the basis of POs and creating GR via MIGO after eliminating movement type in line item catageory by using SPRO. For monitoring we would like to use VL06I but its not showing correct results.
    Can anyone guid me ?
    Regards,
    FR

    You can list all Inbound Deliveries by selecting "List Inbound Deliveries"  Tab in VL06I
    May be if you can little elaborate the issue

  • How do I report a video not showing correctly?

    I tried to find a Contact Us to "Report an issue" but ended up chasing my tail.
    This video is not showing correctly in the frameset during preview.
    http://itunes.apple.com/us/music-video/medley-surfer-girl-wouldnt/id504074645
    at least ... not for when whenever I tried to watch it.

    Most every product Mozilla has is from say a mozilla.org site link.
    https://mozillalabs.com/en-US/projects/
    https://www.mozilla.org/en-US/products/
    The only real video related thing Mozilla has is https://wiki.mozilla.org/Shumway and more info at http://mozilla.github.io/shumway/
    The site you downloaded this NewVideoPlayerSetup.exe from was a scam as it uses the inexperience of users and popularity of Mozilla and the Firefox browser to trick people into installing stuff like this.
    Next time if you are uncertain you should ask as somebody will then tell you if it is legitimate or not for example.

  • Sometimes JavaFX form (BorderPane) does not show correctly

    We have a problem with a JavaFX application running on Java 7. Sometimes a form (BorderPane) does not show correctly – it seems to be transparent (i.e. content previously shown at the same place is still visible). Controls seem to be present and respond to events – e.g. we can close the form by blindly clicking the appropriate button. Once the issue happens it is persistent, i.e. next time we open the form, it behaves the same.
    We have no reproducible scenario leading to the issue. It just happens here and there – we have not been able to identify any pattern yet.
    Additional information:
    the form (BorderPane) is loaded during application start-up but it is not shown initially,
    to show the form we remove previous contents from a StackPane and add the form instead,
    to hide the form we do the reverse.
    Do you have any ideas how to diagnose the problem? Where to look first? What kind of diagnostic code could we put in the application that would help us?

    I am unaware of any such issue being reported previously.
    Without a reproducible test case, you are unlikely to get much assistance.
    Other than the creation of a minimal test case which reproduces the issue, I could not even advise how you might go about diagnosing and fixing your issue.
    There were many bug fixes implemented for Java 8.
    I advise you to upgrade your test environment to the latest Java early access release (currently Java 8u40) and test to verify if your issue replicates in that version.
    If the issue still reproduces, create a bug report which includes your test case and full environment details.

Maybe you are looking for

  • How do I link a button to a scene?

    built a simple 4 page flash site with basic tweening. need to link my navigation buttons to the specific scenes. For example. The Home Page. I want to click on the About Us button and have it direct the user to the About Us page (which is built as a

  • JBO-25034 Rollback bc4J/ejb

    When I run the jclient application with a local connection it runs without the specified error. The error only occurs when I run it connecting to the oc4j/ejb. I investigated a bit and have find out when it was occuring : I have a JTable : private JT

  • Should I move my Lightroom 3 to External Hard drive?

    Can I move my Adobe Lightroom 3 from my C drive to my external Hard Drive in order to free up much needed space?

  • Ibooks does not open anymore in Safari?

    Hi anyone is experiencing it? I cannot open an iBook file anymore in Safari, the "open in iBooks" button does not appear anymore.

  • Numbering & section weirdness

    I've recently adjusted the numbering section of a (InDesign CS4) 44 page doc and after saving it to a pdf, I noticed that PDF pages jumped from page 44 to 178. It looks like there are 178 pages in the doc rather than 44 according to the thumbnails an