Dynamic Header names in Discoverer Plus

Hopefully someone have a solution for the following problem! :-)
In Discoverer Plus, all the numeric datapoints, create as a default, the following column header: "<Item name> SUM" (or AVG, COUNT, etc)
Our end users are not very pleased with this kind of column headers, they want only the <Item Name> to appear in the header.
One solution of course, is to change the column headers manually in the report.
The consequence of this solution, is that I have to do this change in every report where the <Item> is used.
Is there a mechanism in the configuration in Discoverer Plus or in Discoverer Administrator, which make the resulting column header to be limited to the <Item Name> and NOT containing the SUM, COUNT, etc. ?
Thanks in advance!!

Hi
No this is not possible I'm afraid as Discoverer always adds the aggregation type to the end of the name.
It's really not hard to rename the columns inside Plus and it only takes a couple of seconds to do so. Rather than allowing your users to remain not very pleased just explain why this is happening then hopefully they will understand.
It sounds like your users haven't had good training because this should be covered in a training course. If you're interested in training this is something that my company excels in.
Best wishes
Michael

Similar Messages

  • How to open a defult workbook from Discoverer Plus

    Hi all,
    Is it possible in Discoverer Plus for a user to open a pre defined worksheet in a workbook when he logs in without having to select the workbook and then select the worksheet?
    Please advise how to achive this.
    Any help will be greatly appreciated.
    Thank you all.
    Yjk

    Hi Yjk
    This is possible but you will have to alter the URL call to do it and add the workbook name to the end of the URL.
    You can use either the names of workbooks and worksheet or unique IDs of workbooks and worksheets. Using unique IDs is easier and helps avoid encoding problems with long names. Unique IDs are language independent. The following are the URL parameters to use while working with workbooks and worksheets.
    Discoverer Plus Relational:
    Workbooks:
    opendbid=<workbook ID>
    opendbname=<workbook name>
    Worksheets:
    sheetid=<worksheet ID>
    sheet=<worksheet name>
    Discoverer Viewer:
    Workbook:
    wbk=<workbook ID>
    wb=<workbook name>
    Worksheet:
    wsk=<worksheet ID>
    ws=<worksheet name>
    Discoverer OLAP:
    Workbooks:
    workbookname=<workbookname>
    Worksheets:
    sheet=<worksheet name>
    Note: Discoverer Plus OLAP uses only workbook and worksheet names.
    Examples below:
    How to Find the Unique IDs of Workbooks and Worksheets
    To find the unique ID of a workbook, use thie workflow:
    1. Launch the Open Workbook from Database wizard
    2. Right-click the workbook name
    3. Select Properties.
    The value of the Identifier field indicates the unique ID of the workbook.
    Alternatively, when the workbook is open, select File | Workbook Properties.
    To find the unique ID of a worksheet, use this workflow:
    1. With the worksheet open, select Edit | Worksheet Properties
    2. The Worksheet Properties dialog box opens.
    3. Click the General tab.
    The value of the Identifier field indicates the unique ID of the worksheet.
    The following URL starts Discoverer Viewer and opens a worksheet with the unique ID "156", which is present in the workbook whose unique ID is "MONTHLY_SALES". The connection ID used is "cf_a101".
    http://<machine.domain>:<port>/discoverer/viewer?cn=cf_a101&wbk=MONTHLY_SALES&wsk=156
    If the connection that is used here is a private connection, the user will be prompted for the password.
    In Plus, the same command is:
    http://<machine.domain>:<port>/discoverer/plus?cn=cf_a101&opendbname=MONTHLY_SALES&sheet=156
    Does this help?
    Regards
    Michael

  • Export to EXCEL 4m Discoverer Plus/Viewer doesnt retain Header Formatting ?

    Hi,
    I am trying to export reports from Discoverer Plus and Viewer to XCEL
    but the Header's Formatting like Bold and Background Color etc are
    not being exported as seen in Plus.
    Could you please advice on how to make this happen.
    Thanks,
    VJ

    i tried this option..but the problem is as follows
    Excel Export:+ The header comes like this
    Report Name Company Name Date : 22-APR-10 Page: 1                               
    Column1     Column2     Column3     Column4                     Column5                                     Column6                                                     Column7          
    122124     9752          7 METRO NORTH     716 MIDWEST REGION     DODGE CITY/ANDERSON TOYOT      LEXUS OF ROCKFORD
    122124     9752          7 METRO NORTH     716 MIDWEST REGION     DODGE CITY/ANDERSON TOYOT      LEXUS OF ROCKFORD
    122124     9752          7 METRO NORTH     716 MIDWEST REGION     DODGE CITY/ANDERSON TOYOT      LEXUS OF ROCKFORD
    HTML Export:+ The header comes like this
    Report Name                                 Company Name
    Date : 22-APR-10                            Page: 1      
    Column1     Column2     Column3     Column4                     Column5                                     Column6                                                     Column7          
    122124     9752          7 METRO NORTH     716 MIDWEST REGION     DODGE CITY/ANDERSON TOYOT      LEXUS OF ROCKFORD
    122124     9752          7 METRO NORTH     716 MIDWEST REGION     DODGE CITY/ANDERSON TOYOT      LEXUS OF ROCKFORD
    i.e the export to HTML is retaining the format but it is putting the heading into multiple cells..there by making it look bad when opened in Excel.
    Wheras in EXCEL export it doesnot retain formatting like Bold,etc it merges all the cells of teh first row and is putting it there which is much better to view.
    Is there anything we can do about it ??
    Thanks

  • How to get the dynamic Crosstab header name ?

    Hi ,
    The crosstab resaults shows as below ,How to get the dynamic Crosstab header name ?
    | Countryname |
    | Province1 | Province2 |
    | here to get CountryName | here to get CountryName |
    how to get the Countryname in data ceil?
    thanks

    Could you please elaborate on your requirement?
    You want header to be dynamic?

  • Dynamic Columns, using the element name as the column header name

    BI Publisher Experts,
    I'm a relative newbie in the RTF layout world and i'm trying to acheive a layout which dynamically nominates the column headers as the element name.
    For example using the XML below:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ROWSET>
    - <DATA>
    - <THREECOLUMNDATA>
    <FIRST_NAME>First Name</FIRST_NAME>
    <LAST_NAME>Last Name</LAST_NAME>
    <EMAIL>[email protected]</EMAIL>
    </THREECOLUMNDATA>
    </DATA>
    </ROWSET>
    Excuse formatting, looked ok in preview!
    I'd like to acheive the following output:
    | FIRST_NAME | LAST_NAME | EMAIL |
    |-----------------------|---------------------- |--------------------------------------------------------|
    | First Name | Last Name | [email protected] |
    I've managed to get the row data columns working using:
    <?for-each@cell:current()/*?><?.?><?parent::*/text()?> <?end for-each?>
    And i've been working on the header for a while now, using
    <?for-each@column:current()/THREECOLUMNDATA[1]/*?><?name(.)?><?end for-each?>
    But no luck with the header. I only ever get a blank header.
    I've also reviewed the following syntax:
    <?split-column-header:THREECOLUMNDATA?> <?/FIRST_NAME?>
    But of course, this pulls specific element data out as the header, not quite what I need.
    Question is: Is there specific functionality to pull the element name out as the header, or do I somehow specifically need to include the header name as a data value in the XML?
    Advice appreciated!

    If you could get your XML to look like this instead of what you have, you will be able to use split-column-header and split-column-data
    <?xml version="1.0" encoding="UTF-8" ?>
    <ROWSET>
    <DATA>
    <THREECOLUMNDATA>
    <COL_DTLS>
    <COL_LABEL>FIRST_NAME</COL_LABEL>
    <COL_VALUE>First Name</COL_VALUE>
    </COL_DTLS>
    <COL_DTLS>
    <COL_LABEL>LAST_NAME</COL_LABEL>
    <COL_VALUE>Last Name</COL_VALUE>
    </COL_DTLS>
    <COL_DTLS>
    <COL_LABEL>EMAIL</COL_LABEL>
    <COL_VALUE>[email protected]</COL_VALUE>
    </COL_DTLS>
    </THREECOLUMNDATA>
    </DATA>
    </ROWSET>
    Now if you <?split-column-header:COL_DTLS?><?COL_LABEL?> and <?split-column-data:COL_DTLS?><?COL_VALUE?> you'll get the required output...

  • Dynpro table -dynamically change table header name

    how to change table header name at runtime ?
    for instance, when i bind to a dataNode with this attribute:
    smsid, usrid, crdate, stdate,enddate
    change to
    message_id, user_id, create_date, start_date, end_date  during runtime.

    Hi yzme,
    To change the column header for each field you have to set the [Caption-Header] text value.
    Use this code inside "wdDoModifyView" method.
        //@@begin wdDoModifyView
         IWDCaption smsid_caption = (IWDCaption)view.getElement("smsid_header");
         smsid_caption.setText("message_id");
         IWDCaption usrid_caption = (IWDCaption)view.getElement("usrid_header");
         usrid_caption.setText("user_id");
         IWDCaption crdate_caption = (IWDCaption)view.getElement("crdate_header");
         crdate_caption.setText("create_date");
         IWDCaption stdate_caption = (IWDCaption)view.getElement("stdate_header");
         stdate_caption.setText("start_date");
         IWDCaption enddate_caption = (IWDCaption)view.getElement("enddate_header");
         enddate_caption.setText("end_date ");
            //@@end
    Regards,
    Mithu

  • Discoverer Plus - How to include variable text in the Title

    Hi,
    I need to include a variable text in the report like the user information or another information i woul like to obtain from a query that is not the standars date,time,... oracle discoverer plus improves us.
    I tried with calculations associates to a parameters, but is not possible.
    I hope i explained correctly.
    Thanks,

    This can be done by creating a parameter, then a calculation, then a condition. Then under "Edit Header" or Page Setup, choose "Header" or "Footer"as needed and choose to insert the Parameter.
    Step by step Example instruction:
    1-Create a parameter as follows:
    --Item = NONE
    --Name = "Workbook run by" (This will appear in the heading or title when workbook run)
    --Prompt = "Please enter UserID in all capital letters"
    --Description and Default value left blank
    2-Create a Calculation
    --In New Calculation choose "Function" then choose the function "USER" from Database. (This is all that the calculation will need.)
    --Name Calculation  = i.e.: "DB_USERID" 
    3-Create a condition as follows:
    --Name = Request_UserID
    --Item = DB_USERID
    Condition = IN
    Value = Choose parameter: Workbook run by
    -Double click on worksheet title, choose Insert, then choose Parameter (This can be done the same way under Page Setup for Header and Footer
    -The calculation will create an extra column which I put at the top as a Page Item
    -This will force the user to enter the UserID they are logged in to Discoverer with.
    -This is case sensative. Therefore, since all Databe IDs are stored on the Database in all-caps, then the user will have to enter in all caps as well.
    Thanks,
    Sutirtha

  • Discoverer Plus Window Just Disappears

    I have installed 10g IAS on a 2000 server. (Both infra and Midtier on the same) I am running Discoverer plus from an XP machine. At any time, the Discoverer Worksheet along with the Discoverer Login window will just disappear. GONE, BYE-BYE... An icon will appear on my XP system "hs_err_pid244.log". This log defines the error as;
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : unknown exception code occurred at PC=0x7c81eb33
    Function name=RaiseException
    Library=C:\WINDOWS\system32\kernel32.dll
    Current Java thread:
         at sun.plugin.javascript.ocx.JSObject.nativeInvoke(Native Method)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)
         at oracle.disco.DiscoApplet$ExitAppletThread.run(Unknown Source)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll.......................
    Anyone have this problem???? Anyone aware of a fix????
    r,mike

    Hi,
    In addition to above I have notices that when virtual memory is low I got these files generated.
    The reason may be while virtual memory is low, windows OS generates more pages for Virtual Memory, some processes are denied the allocation of the pages or say memory. This may be the reason that you get your windows closed.
    Look How I got the error description in the pages :
    Current Java thread:
         at sun.plugin.javascript.ocx.JSObject.nativeInvoke(Native Method)
         at sun.plugin.javascript.ocx.JSObject.invoke(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.getMember(Unknown Source)
         at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)
         at oracle.disco.DiscoApplet$ExitAppletThread.run(Unknown Source)

  • Calculate profit at row level in Discoverer Plus

    HI,
    I need to calculate profit at row level in Discoverer Plus as follows.
    There are columns
    1)     Account Name- Contains Expense and revenue account names
    2)     Account type- Contains Identifier for account (E or R)
    3)     Amount --- Contains amount
    4)     Period     Name -- Contains Numeric Amount.
    Cross Tabular Report Look like as follows
    Period Name          Feb-2009     Mar-2009
    Account Name
    Total Revenue          100          90     
    Total Labor Cost          30          30     
    Total G&A Cost          20          50
    Profit               ???          ??     
    Need to show PROFIT =Total Revenue- (Total Labor Cost- Total G&A Cost)
    at bottom for each period.
    I am unable to use calculations because it appears column wise…
    Would you please suggest solution for this?
    Thanks,
    Mahesh.

    Hi
    Try dragging the data point headings off the top axis and place them to the right of the Account Name. They will all drag together so just moving one will move them all.
    If your profit is already calculated and is a data point as you have commented then it too will come over to the left. For displaying it under the other items, a really cool feature about having data points on the left is that you can drag their heading and place it anywhere you want. I will be including this trick in my free March ask Michael webinar. (By the way, if anyone reading this thread you can sign up for my free webinar by clicking here: http://ascbi.com/question.htm)
    You should now be able to display your calculated profit as a row underneath the other items. I tried this on my own system and it worked just fine.
    Best wishes
    Michael

  • Dynamic Header help in PDF Portfolio

    Need some help please, to create and load a Dynamic Header when creating a PDF Portfolio in LiveCycle ES2.  Have input parameter of a [name] and an [image file] to place in the Header.  Process flowing out of Assembler (PDF Generator).  Currently other PDFs being inserted within the Portfolio, and Navigation parameter being received ok, and setting up custom navigation.  Any help w/ creating Dynamic Header is very much appreciated.

    By "Dynamic Header" do you mean the PDF cover page, or the interactive portfolio navigator?
    If its the cover page then it should be a fairly easy thing to do.  You can create a form (XDP or PDF template) with a field for the name and one for the image.  Then you would use something like LC Forms or Form Data Integration to merge the data (image and name) with the template.
    The one thing you would have to do is to put the image and data into an XML format before you merge it with the form. That means you will need to convert the image to a base64 encoded format.  Fortunately there is a built in function for doing the conversion in a SetValue operation (its under Document Object Functions).
    If you are talking about the Navigator (portfolio shell) then it gets a bit more tricky.  The navigator is actually a Flex application and not a PDF.  You'll have to code a new one using Flash Builder, then import the resulting .nav file into your LiveCycle application. Merging the data with it is not something I've done before, but it should be possible (the LiveCycle Interactive Statement Solution Accelerator does something similar).
    If it is new navigator you need, check out some of the following links:
    http://joelgeraci.com/adobe/devjunkie/web/portfolios_p1_outer.shtml
    http://acrobatusers.com/tutorials/modifying-pdf-portfolio-navigator
    http://acrobatusers.com/navigator-contest-faq  (for the development software links)

  • SSRS 2008 R2 - Dynamic header data stays the same when exporting

    Background:
    I have a SSRS 2008 R2 report with a single Tablix.
    The data is grouped by InvoiceID, with each appearing on a separate page.
    I'm displaying some of the detail data in the group header row using Expressions similar to the following:
    ="Invoice # "  & ReportItems!InvoiceID.Value"
    The data referred to by my ReportItems statements are all hidden in the detail row (Advanced Mode, the Hidden Value for the Static Row Group is set to false).
    Problem:
    When I Preview the report in Visual Studio, everything looks as it should - the dynamic header data changes correctly with each group.
    However, whenever I export the results (I've tried all the formats), the header data is the same for every group - its taking the values from the first group and using it in all the groups.
    I've copied the same expressions into my Totals row, and the data is correct when exported; its only happening in my header rows.
    Any help in resolving this is greatly appreciated, thank you.

    Hi Alex,
    According to your description, you have a header with expression contains ReportItems. Now you find it shows incorrect result when exporting to a file. Right?
    In Reporting Services, it has reported some similar issue that the ReportItem returns unexpected result when exporting.  In this scenario, since you just want to show the group name in each page as a header for detail rows. So you can make the
    detail rows group on the Group. Then delete the Group column but still keep the group. After that add a row above detail row (Out side of group) and put in "=Fields!InvoiceID.Value". Now it will show the corresponding Group name
    when you set page break between each group instance. We have tested this case in our local environment. Here are screenshots for your reference:
    Reference:
    SSRS
    field expressions using ReportItem refrences have unexpected results when exporting
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Dynamic file name ?

    Hi,
    I am following this blog to name the target file/directory dynamically at the runtime :
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    But I am getting this error in the CC monitoring :
    Could not process due to error: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: com.sap.aii.adapter.file.varsubst.VariableDataSourceException: Unknown message header category 'interface_name ' for variable 'var1'.

    Hi,
    Try following this weblog for dynamic file name.
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Dynamic filename come under the Dynamic configuration in moni, for your messages.
    This is the code used inside.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return ourSourceFileName;
    That is why Dynamic configuration is coming in output.. It is a class to generate dynamic configuration file at runtime provided by SAP XI.
    Hope this will help you.
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Xml file in dynamic file name in file receiver adapter

    Hi,
    I'm doing the dynamic file name in file receiver adapter. I have done as per instructed in /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    All turned out okay. I have got the file name I require. Except that the file format is XML and I need to suppress the filename node occupied by the dynamic file name.
    The content conversion mentioned in /people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12, does not seem to solve my problem. As it is only for file format other than the XML one, because we only do the content conversion if we want to "convert" the format of the content from XML to the other format.
    Does anybody have the solution to my problem? thanks in advance

    Thank you Raj for the direction
    The way to do it is :
    1. In ID, advanced tab, put a check on the adapter-specific message attributes - file name.
    2. Put a "*" on the file name scheme
    3. In IR, create a UDF to set up target file name :
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    // set up file name for receiver adapter
    String SourceFileName = conf.get(key);
    conf.put(key, TargetFileName);
    return " ";
    4. Map the above UDF to the header level of the target structure.
    Regards,
    Idi

  • Dynamic file name in receiver channal

    Hi, All,
    I would like to set dynamic file name in receiver channal. My xml payload will be like this:
    <file_name>file1.txt</file_name>
    <text_content>balabala......</text_content>
    I would like to output an text file which text content will be the value of <text_content>, file name will be the value of <file_name> in the xml payload.
    Is there anyone could help me?
    Helpful answer will be surely awarded. Thanks
    Yang

    Please look at the below description from help.sap.com. You can use the below steps to name the file from a value in the payload. You would have to use File Content Conversion to insert the value of the <text_content> in the file.
    Variable Substitution (Target Directory/File Name Scheme)
    If you set the Enable indicator, you can enter variables for the Target Directory and File Name Scheme. Enter the names of the variables and references in the table.
    ●      Enter each variable that you reference in the Target Directory and File Name Scheme fields without the surrounding percentage sign under Name of Variables in the table.
    The variables can refer to attributes of the message header or elements of the message payload.
    ○       If the variables are to refer to an attribute of the message header, add the prefix message: to the name of the variable under Reference. You can specify the following attributes of the message header:
    sender_party, sender_service, receiver_party, receiver_service, interface_name, interface_namespace,
    message_id (message ID with hyphens, for example 9fbe1ff1-9a0d-11d9-8665-cbf10a126331)
    message_id_hex (message ID in hexadecimal format, for example 9fbe1ff19a0d11d98665cbf10a126331)
    For example, if you want to specify the interface name from the message header in the target directory or in the file name scheme, enter message:interface_name as the reference.
    If one of the message attributes contains characters that are not permitted in a file name, for example \, /, :, *, ?, ", <, >, |, then these characters are replaced by an underscore ("_").
    ○       If the variable refers to an element in XML schema, add the prefix payload: to the information under Reference. The reference then comprises a pseudo path description in the form of a comma-separated list with the schema namea,na,nameb,nb,....
    namea,nameb,...corresponds to the element name and na,nb,... corresponds to the occurrence of the element name at the respective level in the document.
    The description begins at the root of the document and ends at the respective element.
    To reference the element that is in bold in the example, the following expression is used: payload:root,1,e1,1,e2,2
    The parser searches for the first occurrence of the root element at the first level. It then searches for the first occurrence of e1 at the second level and for the second occurrence of e2 at the third level. The content of the last element (u201CExample Valueu201D) is set as the value for a specified variable.
    <?xml version="1.0" encoding="UTF-8" ?>
    <root>
      <dummy>
         <e1>
            <e2>Data_1</e2>
            <f/>
            <g attr="abc">text</g>
            <e2>Data_2</e2>
         </e1>
      </dummy>
      <e1>
         <e2>illegal/value</e2>
         <f/>
         <g attr="abc">text</g>
         <e2 attr="fghij">Example Value</e2>
      </e1>
    </root>
    Thanks
    Praveen M

  • Variable Text not working as dynamic header in Crystal report

    Dear Experts,
    I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
    currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
    In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
    i already set in Database -> options->  table and fields -> Show Both, but the text variable still not working.
    can you help me
    Crystal Reports 2008 12.2.0.290
    SAP Integration KIT 12.1.0.890
    Thanks
    Luqman

    Post your question BEX and B1 and classic SAP data source issues to the Integration Kit forum

Maybe you are looking for