Report template - How to reference COLNUM in the col template condition?

Hi,
I have a query with 4 columns. based on this query I would like to make a report with a row layout that looks something like this:
| column1 value |
| column2 value | column3 value | column4 value |
I created a report template, four column templates: one for column 1, one for the following columns and one for the las column of the report.
My problem is that when I reference *#COLNUM#* like mod(#COLNUM#,4) = 1 in the Column Template condition fields, then I get *'ORA-06550: line 1, column 34: PLS-00103: Encountered the symbol "#" when expecting one of the following: ( ) - +....'*
Is referencing COLNUM not allowed in the Column Template Condition field?
Tamas
Edited by: Tamas Szecsy on Jul 16, 2011 11:33 PM

Tamas Szecsy wrote:
I have a query with 4 columns. based on this query I would like to make a report with a row layout that looks something like this:
{noformat}| column1 value |{noformat}
{noformat}----------------------------------------------------------------{noformat}
{noformat}| column2 value | column3 value | column4 value |{noformat}
I created a report template, four column templates: one for column 1, one for the following columns and one for the las column of the report.For this you need to create a Named Column (row template), not Generic Columns (column template).
Before Rows
<table class="foo">
Row Template 1
<tr>
  <td colspan="3">#1#</td>
</tr>
<tr>
  <td>#2#</td>
  <td>#3#</td>
  <td>#4#</td>
</tr>
After Rows
</table>No conditions.
What about table headers?
My problem is that when I reference *#COLNUM#* like mod(#COLNUM#,4) = 1 in the Column Template condition fields, then I get *'ORA-06550: line 1, column 34: PLS-00103: Encountered the symbol "#" when expecting one of the following: ( ) - +....'*
Is referencing COLNUM not allowed in the Column Template Condition field?I suspect not. Only <tt>#ROWNUM#</tt> is mentioned in the online help for Column/Row Template Expressions. <tt>#COLNUM#</tt> is only indicated in the Column/Row Templates themselves.
(Always post sample layouts using \...\ and/or {noformat }...{noformat } tags to preserve formatting/stop Jive from turning it into something else.)

Similar Messages

  • Custom icon strip - how to reference it in the HHC?

    I could not get the custom icon strip to work for me. I think that I understood the overall concept but I do not know how to reference the bmp file in the HHC.Ricks Tips and Tricks file only states "make the reference inside the HHC file". Where exactly do I place the <param name="..." value="C:..BMP"> reference?
    Perhaps there is an example?

    Rick,
    thanks for your efforts despite my ignorance! My HHC file does not look like that, it has a different structure without an HTML list. After some fiddeling I got it to work now, even though I still did not find out why my TOC structure does not match yours (the binary TOC option is not active).
    Instead of using the <param name="ImageList" value="C:tocimages.bmp"> line, I inserted the reference into the properties tag. My HHC looks like this now and it works:
    <?xml version="1.0" encoding="utf-8"?>
    <toc version="1.0">
    <properties imagelist="C:tocimages.bmp">
    </properties>
    <item name=".." link="...html">
    (here the TOC items follow)
    </item>
    </toc>

  • HT2978 how do you turn off the terms and conditions of genius on the iPhone

    i wanted the genuis on my iphone but i tried to cancel it and it would not do anythig .
    Can someone please help me by answering my question.
    Thank you

    I also have this same issue, I can't leave the page by exiting and check out the App Store nor continue with the Terms and Conditions of the Genius for Apps.

  • How do I agree to the terms and conditions on my iphone 5s for icloud. It does not agree, but just hangs

    When I go to Settings iCloud on my iPhone 5s I am prompted to agree to the latest terms and conditions. When I press agree the phone just hangs and I cannot agree to the latest terms and conditions. I am trying to change my apple id for iCloud which is incorrect on my phone, can anyone help. It is most annoying when I am prompted to log into icloud everytime I start my phone but I cant as I do not know the password to my old non existent email address.

    Welcome to the Apple community Linda.
    Have you tried deleting the account! restarting the device and trying again.

  • How to reference the selected row on a report by click a radiobox

    I created a report with a column displayed as a radiobox.The report source is like "select htmldb_item.radiogroup(1,.....),rec_id,....from .... where ....",after click one radiobox,i want to get other column's value in the selected row in the after submit process ,can anyone help me?????? how to reference "rec_id" of the selected row?

    Hello,
    First, please tell us your first name, and update your forum handle. It’s make it easier to track your threads, and help you.
    >> apex_application.g_f01(1)" only return the first record's rec_id,if i click radiobox in other rows,it returns the same result as click radiobox in the first row?
    The ‘G_F01’ is an array of values, so apex_application.g_f01(1) will always bring you the first element of this array. If you want to retrieve other values from this array, which will include the values of the radiogroup value of the other lines, you need to use a loop. Something like that should work:
    for i in 1.. apex_application.g_f01.count loop
    … apex_application.g_f01(i) …
    end loop;
    >> after click one radiobox,i want to get other column's value in the selected row in the after submit process
    That means that the value of your radiogroup item should include some indication to the line you are on. If, like in Andy’s example, you can retrieve your record from a table, based on a PK, your radiogroup can return this kind of information. However, if the data on the other columns of the select raw, were just entered/updated by the user (like in a tabular form), the radiogroup item should include information about the row you are in, in order for you to be able to access the corresponding array elements – other G-Fxx arrays – of the other columns in the row. In this case, I believe using checkboxes is preferable.
    Regards,
    Arie.

  • How to reference or use a database procedure in a form

    I have a database procedure(any database object in the form) Pls tell me how to reference it in the form
    I will appreciate if I can get an example.

    Hi,
    if its in the same schema you are connected to, just call it by packagename.procedure from a Plsql program unit or trigger. Make sure you don't have a procedure with teh same name defined in Forms itslef.
    Frank

  • OWSM: How to reference Custom Step properties/parameters?

    Hi,
    When you define a Custom Step via a XML file. You can define properties/parameters. In the sample files that comes with OWSM (CustomAuthenticationStep.xml) Username and Password are defined. My problem is that I cannot figure out how to reference these in the Java Step source. In the sample file CustomAuthenticationStep.java there are no references. There are two class variables called expectedUsername and expectedUserPassword, but they are never set in the source? There are nothing in the Extensibility Guide about this. Anybody know how it works?
    Regards Peter

    I've made a couple of these now. It somehow walks through the xml file you upload and then the properties defined are matched with the appropriate get/set methods in the actual java code.
    One example I had to make was to add HTTP Basic Auth headers to a request. Here is the section of the xml file.
    <csw:PropertyDefinitionSet name="HTTP Basic Auth Params">
    <csw:PropertyDefinition name="httpBasicAuthUsername" type="string" isRequired="true">
    <csw:DisplayName>Username</csw:DisplayName>
    <csw:Description>Http Basic Auth Username</csw:Description>
    <csw:DefaultValue>
    <csw:Absolute>USERNAME</csw:Absolute>
    </csw:DefaultValue>
    </csw:PropertyDefinition>
    <csw:PropertyDefinition name="httpBasicAuthPassword" type="string" isRequired="true" displayType="password">
    <csw:DisplayName>Http Basic Auth Password</csw:DisplayName>
    <csw:Description>Password to access Private Key</csw:Description>
    <csw:DefaultValue>
    <csw:Absolute>PASSWORD</csw:Absolute>
    </csw:DefaultValue>
    </csw:PropertyDefinition>
    </csw:PropertyDefinitionSet>
    You then have these get/set methods at the bottom of the class I created.
    public String gethttpBasicAuthUsername() {
    return this._httpBasicAuthUsername;
    public void sethttpBasicAuthUsername(String username) {
    this._httpBasicAuthUsername = username;
    public String gethttpBasicAuthPassword() {
    return this._httpBasicAuthPassword;
    public void sethttpBasicAuthPassword(String password) {
    this._httpBasicAuthPassword = password;
    Then I had this and the properties were available for use.
    public class BasicAuthStep extends AbstractStep {
    private String _httpBasicAuthUsername = null;
    private String _httpBasicAuthPassword = null;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How object references work

    Hi guys,
    class A{ public void aM(int i) { 
    System.out.println(this.toString()+" Iam a " + i);} }
    class B extends A{ public void bM(int i) { 
    System.out.println(this.toString()+" Iam b "+ i); } }
    class MyClass{ public static void main(String arg[]){
    A a = new A(); B b = new B();
    a.aM(1); //calls the method in object 'a'
    b.bM(2); //calls the method in object 'b'
    a = b; // compiles properly
    a.aM(3); //calls the method in object 'b'
    a.bM(); // compilation error cannot resolve symbol
    b = a; // compilation error incompatible types
    b = (B)a; // compiles properly
    b.aM(4); // calls the method in object 'b'
    b.bM(5); // calls the method in object 'b'
    How object references works
    in the above class if i assign subclass reference to superclass reference variable it gets compiled, but superclass reference to subclass reference variable give compilation error without explicit casting;
    why this behaviour?
    what compiler checks at compilation time and what JVM checks at runtime?
    In the method calls also it is calling methods on the object 'b', why?
    Thanks.

    Sorry, but I don't want to read that code. The
    formatting makes it very hard to follow the flow.Sorry , please check this code
    class A{
      public void aM(int i) {
       System.out.println(this.toString()+" Iam a " + i);
    class B extends A{
      public void bM(int i) {
       System.out.println(this.toString()+" Iam b "+ i);
    public class MyClass{
      public static void main(String arg[]){
         A a = new A();
            B b = new B();
         a.aM(1); //calls the method in object 'a'
         b.bM(2); //calls the method in object 'b'
         a = b; // compiles properly
         a.aM(3); //calls the method in object 'b'
         a.bM(); // compilation error cannot resolve symbol
         b = a; // compilation error incompatible types
         b = (B)a; // compiles properly
         b.aM(4); // calls the method in object 'b'
         b.bM(5); // calls the method in object 'b'
    }

  • How to reference a customised report template

    Hi
    I've created a copy of the standard reports template and modified it so that it does conditional highlighting. I only want to reference this template in one instance in my application so I want to keep the standard template for the other reports.
    How do I reference the new template without disturbing the other report templates?
    Thanks
    Andrew

    Only works for classic reports, click on report that you want to change in the region area of the builder then Report Attributes then change the Report Template in the layout and pagination section and apply changes. for IR's you have to override the IR CSS definitions in your page template.

  • How to add a report template to the template wizard?

    Dear All,
    I built a new report in BPC, and want to use it as the report template.
    I did following steps:
    1)change the "templaversion" in application set parameters from 15 to 16 (i.e, add a template)
    2)save my report to etools--save dynamic templats; and save it to the "report/wizard'
    3)open "client options"--"refresh dynamic templates";
    but when I choose "using dynamic templates" in the Action pane, I still found the template wizards are 15, not add my new templates.
    How to solve it? can any one help?
    Thanks in advance.

    If you completed the steps outlined, then you need to Change the Appset, Set Template Version, then refresh ClientSide Dimension Files.  Then you need to either re-login to the Excel client, or in your working Excel copy, goto etools, client options, refresh Dynamic Templates.
    After that, you should see the new added files. One key trick is when adding the description in th etext file, make sure you add the name and then hit TAB key to move to Strat the Description of the new wizard.
    But these steps do work, as I have re-tested the process in version 7M.
    Hope this helps.

  • How to pull the date parameter to appear in the report template?

    Hi Gurus, and Experts,
    I need to pull the date parameter I selected in BIP to appear in my report template? How to code this in BIP?
    Identifier are: dto and dfrom
    date fromat string: MM-dd-yyyy
    Regards,
    JP
    Edited by: user10955574 on Nov 10, 2010 2:38 AM
    Edited by: user10955574 on Nov 10, 2010 2:39 AM

    Declare the parameter in the template as
    <?param@begin:param1?>
    and use it as <?$param1?>

  • How to give the calculation in Finacial report templates asper indian local

    Dear experts
    help me, how to give calculation in Financail report Templates in SAP b1 for calculating  Gross profit and Netprofit seperately.  I am facing some error while giving formula in financial report templates.
    Thanks
    Regards

    Hi Mathiladath,
    Try this,
    ->> Financials. -> Financial Report Templates in that follow this steps.
    1.Report. -> Choose (Profit and Loss)
    2.Template.-> Define New -> Give the name for template.
    3.And click the Generate Chart of account button in bottom right.
    4.put the Tick mark in Subtotal Check box
    5.now u can see Formula button (Click and Open the Formula Definition window and put the Formula)
    using this button create appropriate formula for your requirement(ask help your A/C department)
    6.Chose this template in P/L.
    Regards,
    Madhan.

  • How to setup the email service & report template with BO XI3

    Hi,
    I'm new to BOBJ. Can anyone share your experience and guidelines on setting up the email server? I tried to do it in CMC, yet it doesn't works.
    My requirement is that :
    1. I need to send the WebI report to a group of users in a specific datetime(scheduler). Can BO XI3 works in this way?If yes,then how?
    2. Is there a way to configure the WebI report with Company Logo and Company Name? Maybe we can called it as a report template, so the Company Logo and Company Name will appear whenever the user create any new report. How should I handle this?
    Please advise.
    Much appreciation for your help!
    Best regards,
    Tee

    1. There are a few steps to set up an email server. The best guide to this is the BOE administrators guide, which you can access at help.sap.com or try this link http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bip_admin_en.pdf
    You will want to go the section on Email destination properties.
    Basically you will need the details of your SMTP server, and enter details for the appropriate job server(s).
    2. To setup a Webi template you create a report off of a Universe, format it so it displays your company logo in your header (look at the properties tab), and hard-code your company name, or use a dimension object with your company name in the query.
    Do your formatting on this simple report how you want it, i.e. fonts, borders, shading, page margins etc. Then in your query strip out all query objects apart from at least one, which is common between all your universes (i..e you could define a dummy variable like Today's date in all your universes).
    Save this report as 'Template Report' or similar, and ask all your users to use that as the starting point. So they would edit the template report, re-point the report to whatever universe they wanted then save it as a different name. Make sure they don't overwrite the template report.
    Good luck!

  • How can I add extra tick-box columns to the Evaluation report template?

    Is there a simple way to add additional tick-box columns to the evaluation report template? I want to have a column for every day of the week.

    Are you part of a class project? We've just had another query on this template.
    +Menu > View > Show Ruler/Invisibles+
    The "columns" are just boxes and text aligned with tabs.
    Select all of them and slide the tabs on the ruler across to tighten up the spacing.
    Add more tabs to the ruler by clicking on the ruler where you want them, then right clicking on the Tab markers to change them to the type you want.
    Copy and paste extra copies of the +tabs plus box+ in each line.
    Peter

  • 'File in Use' message is received when one user is in the report and another user tries to open the Excel template

    ‘File in Use’ message is received when one user is in the report and another user tried to open the excel template. how to make excel template shared for multiple users so the users don’t see the ‘File in Use’ message?

    Hi Febin,
    In addition to others’ replies, we can create a shared workbook and place it on a network location where several people can
    edit the contents simultaneously. For example, if the people in your work group each handle several projects and need to know the status of each other's projects, the group can use a shared workbook to track the status of the projects. All persons involved
    can then enter the information for their projects in the same workbook.
    Regarding how to do this,
     the following article can be referred to reference.
    Use a shared workbook to collaborate
    http://office.microsoft.com/en-in/excel-help/use-a-shared-workbook-to-collaborate-HP010096833.aspx
    Best regards,
    Frank Shen

Maybe you are looking for

  • HP Officejet Pro 850 showing off line when it is turned on and plugged in.

    Ungh, it has been weeks now and this printer has just stopped working and is showing OFFLINE.  It was plugged into the back of the computer all year and worked fine and it just stopped printing so we plugged it into the USB port at the front of the c

  • Creating crystal report file dynamically.

    Post Author: malcomstewart115 CA Forum: General Hi, everybody. I have one problem. How to create crystal report file(*.rpt)  in php dynamically. I mean, I want to create the "*.rpt" file with php code. Please help me. thanks everybody.

  • Elements11

    Is there a way to shut off or move the confirm reject button in elements 11 when adding text? The Icon gets in the way when adding text to the bottom of a photo.

  • HT3231 trouble migrating certificates. Migration assistant did not migrate them

    There are two Problems. 1. Migration assistant while migrating somehow did not migrate certificates. Im not sure if all are not migrated or this specific digital certificate for my identity issues by a legitimate CA 2. When I try to manually export a

  • Will you marry me ??

    Hi. Will you marry me ??  Years ago I knew some girl ( my wife ) who had some affinity for gay men. I don't know why women like gay men but it seems to be normal in the big cities of America. I'll not get into my views on this bizarre fact .  If I di