Parameter in the center header part of the template.

Hi All,
I need to display a parameter in the center header part of the template.
I tried <?template: Header?> <?PARTY_NAME ?><?horizontalAlignmentnt="CENTER?><?end template?> but its not displaying center .
Could you please suggest
Thanks
Narsing

Need to see XML data. You can send me your template and XML data to [email protected] if you wish and I can take a look. Please specify the output requirements.
Thanks!

Similar Messages

  • Show Subreport Name in the header part of the main Report subreport wise

    Hi,
    I want to create a Report which contains a collection of Subreport.
    In header part of the main report I have one expression which shows specific text for specific subreport.
    In Detail
    I have three subreport named as
    Sureport1
    Subreport2
    Subreport3
    I have given page name for all the three subreport as subreport name.
    Now I create one Main report. Where I drag one table and delete the group.
    I created three rows in this tablix.
    And in each textbox I have inserted one rectangle.
    and place all the three subreport.
    and here my expression is mentioned below.
    =IIf(Globals!PageName Like "Subreport1","Subreport1",
    IIf(Globals!PageName Like "Subreport2","Subreport2",
    IIf(Globals!PageName Like "Subreport3","Subreport3","")))
    This expression is working when I am placing all the subreports inside separate rectangle but not working when I am placing all three subreports in one tablix.
    For both case it is showing in report designer window but in second case it is not showing in the pdf.
    Thanks,
    Aswini Rout

    Hi,
    As the description, I understand that you want to display the subreports’ name on the page header of the main report. When the page display a subreport, display the corresponding subreport name in the header part of the main report.
    Base on my understanding, you should have page break on each subreport(suppose you add the subreports without Rectangle) since there is no group in the main report and there should not be a page break in the main report. If I have misunderstood, please correct
    me.
    I was not able to reproduce the issue currently. How did you define the page name of your main report. If it is possible, please upload your rdl file to your OneDrive and share the link here. You can also capture the screenshot so that I can understand the
    problem in more details.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • How to overwrite the header part of a wave file?????

    I need to overwirte the header part of a wave file. Any one has ideas or similar experiences?
    basically, I want to continousely save wave data from a sound card. At the end of my program, I need to write the data size of the final wave file to the header part of the wave file.
    Is there a function to replace the content of a file? Thanks

    I assume that what you want to do is add documentation into the header of the wav file such as the media type, location, equipment used .....
    Some one may have written some routines to do this in Labview, unfortunately all the ones I have are written in Visual Basic, quite a long time ago.
    Here are some pointers in the event that no one has any Labview stuff, we could even knock a few togther, if its not been done.
    The WAV file falls into a cateory of Windows files known as RIFF format files, in fact you will see this written into the file header almost at the very front.
    I quote here from the Microsoft Technet Article:-
    See here for a nice picture and here for full details, although for the header structure I prefer here.
    "The basic building block of a RIFF file is a chunk. A chunk is
    a logical unit of multimedia data, such as a single frame in a video
    clip. Each chunk contains the following fields:
    A four-character code specifying the chunk identifier
    A doubleword value specifying the size of the data member in the chunk
    A data field
    Don't be put off by the fact that it often says AVI rather than WAV in the examples, the RIFF format is an extensible file format supporting lots of various media types even custom types. It's just that at the moment people are interested in Video.
    There are standard fourcc codes that exist to hold various specific types of information and if one of these is not suitable you can create your own, there is (well was) even a way to regiser your own special type with Microsoft!!
    There are a couple of ways of doing the job (assuming some kind sole does not donate a VI library).
    1) Handle all the file i/o yourself by reading in the file and then insert the appropriate headers and rewrite the file out again.
        Involved, but cross platform.
    2) Muck about with Windows 'mmio' librarys (mmioCreateChunk).
        Platform specific but possibly more reliable???
    If you select option 1, then what you have to do is read in the appropriate chunk sizes(lengths) contained in the header, insert your appropriate FOURCC code, size(length) and data then adjust the affected 'chunk' size indicators to put all the various size indicators in the correct place, simple ehhh
    If you select option 2, this requires linking to the appropriate DLL, it always my last resort to avoid DLL hell and portability issues.
    As an example I wrote my own Turbo Pascal and later Visual Basic handlers which allowed attachment of lots of information from a form, and then created a special media format for the data to allow storing native measured data. These files are still recognised by WAV file readers today such as Media Player 10. Of course the data format is not understood because the encoding type was special, but that's the point.
    One final point, there was a tool which read in a WAV file displaying all available headers, with C source (Windows 3.X) supplied in the MSDN toolkit. There are probalby other tools available by now, as a last resort If you decide to have a go I can send you my VB alpha version which reads all standard headers, it might write out a few as well (it was a very long time ago).
    Good  luck.
    Message Edité par Conseils le 12-10-2005 04:09 PM

  • Blank space in the header part from the second page onwards.

    Hi,
    I am having a 16 pages report where there the header part comes in only first page and the data flows to 16 pages
    from second page onwards i am getting a empty space in the top portion (header part of the first page).
    the property of repeating frames are
    vertical elasticity=Yes
    page protect =no
    Base printing on =enclosing object.
    keep with ancoring object=no.
    please advice.

    I think that you may find that the stuff in the header is set to print on First Page rather than All Pages. Try looking at the items and change.
    Dave

  • Showing description of a parameter in the report

    Hi all,
    I have a requirement where I need to show the description of a parameter in the report.
    For eg:
    CODE              DES
    AF          Associated Feature
    BG          Background
    BGA          Background Ambient
    BCA          Bkgrd Comm Ambient
    BC          Bridge/Cue
    CJ          Combination M Jingle
    CS          Combination M Promo
    CT          Combination M Theme  u2026 and so on.
    The parameter is on the DB field u2018CODEu2019. Here when the user selects the parameter value u2018AFu2019 the report should show the description u2018Associated Featureu2019 in the Report Header.
    I am using stored procedures in the report and lookups(coming from a package) for the drop down values of parameters.
    I thought of creating arrays in the formula editor but I could not find a way to pass values to an array variable from a field. (I have to enter all the values in array manually to create it. But we have approx 50 reports which have CODES of more than 40. So itu2019ll be not feasible).
    Is there any way to achieve this requirement?
    Thanks for your help in advance.

    Try to use add command and write the query like this
    select code,description from table where code={?Parameter}
    Now link this command with your stored peocedure using left outer join and place the field in the report header to get the description.
    Regards,
    Raghavendra

  • Receive a parameter in the URL in adf application

    Hello,
    using the sendRedirect to direct control to another adf application, as:
    ((HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse()).sendRedirect("some url");assuming that I am pushing parameters to the url, how can I read them in called application !!
    to make the post clearer, assume that I have two adf applications A and B,
    A will redirect the user to B using the sendRedirect method,
    where shall I receive the request to get the parameters or attributes added to the URL !!!
    hopefully I have made the post clearer so that you can help !!
    appreciated, thanks in advance.
    rgrds,

    For passing parameters to another ADF application, we could use as a parameter as part of the request parameter of the URL as mentioned in
    http://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl
    For reading the parameters in the another application (assuming CurrentDepartmentName is the parameter) ,
    HttpServletRequest request =
    *(HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();*
    String strvalue = request.getParameter("CurrentDepartmentName");
    Thanks,
    Navaneeth

  • Performance problem submitting big XML string parameter to the web service

    We deployed a web service on the OC4J via oracle.j2ee.ws.StatelessJavaRpcWebService . This web service takes one string as a parameter. The string contains XML. Evrything works great UNLESS input XML string reaches 5Mb in size. When it happens OC4J does something with it for about 10 minutes (yes, minutes) before it calls the web service method. At this time java.exe consumes 100% of CPU.
    WE tried to increase JVM heap size, stack size, etc, - no effect.
    Please, help!
    Thank you in advance,
    Vlad.

    Hi Sheldon,
    What i feel is that it's not been handled in your webservice if the parameter is null or "" <blank> space
    i just you to take care in webservice that if the parameter is null or "" pass the parameter null to the stored proc
    Regards
    Pavan

  • Use a multiple selection parameter in the data model

    Hi
    i have created a parameter with the property multiple selection.
    This parameter i use in the Data Model where area,
    if i just mark one value the report works well if i mark more the one
    the report run into a error.
    WHERE PSNR IN :ma
    the xdo looks like
    <?xml version = '1.0' encoding = 'utf-8'?>
    <report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="tisoware">
    <title>BDE Nettozeit</title>
    <properties>
    <property name="showControls" value="true"/>
    <property name="online" value="true"/>
    <property name="parameterColumns" value="2"/>
    <property name="openLinkInNewWindow" value="true"/>
    </properties>
    <dataModel defaultDataSet="BDERUECK">
    <dataSet id="BDERUECK">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT (SUBSTR(DATUM,1,6)) AS DATUM, SUM(NTTOZEIT) AS ZEIT,
    TRUNC(SUM(NTTOZEIT)/60) AS STUNDE
    FROM BDERUECK
    WHERE (DATUM  >= :datev) AND (DATUM <= :dateb) AND (KZDELETE = 'N') AND FIRMA = '1' AND ((PSNR IN :ma))
    GROUP BY (SUBSTR(DATUM,1,6))]]>
    </sql>
    <input id="datev" value="${datev}" dataType="xsd:string"/>
    <input id="dateb" value="${dateb}" dataType="xsd:string"/>
    <input id="ma" value="${ma}" dataType="xsd:string"/>
    </dataSet>
    </dataModel>
    <valueSets>
    <valueSet id="date">
    <sql dataSourceRef="tisoware">
    <![CDATA[SELECT DISTINCT DATUM
    FROM BDERUECK]]>
    </sql>
    </valueSet>
    <valueSet id="employee">
    <sql dataSourceRef="tisoware">
    <![CDATA[select      PERSTAMM.PSPERSNR as PSPERSNR,
          PERSTAMM.PSNR as PSNR
    from      TISOWARE.PERSTAMM PERSTAMM
    where    PERSTAMM.FIRMA = '1'
    order by PERSTAMM.PSPERSNR]]>
    </sql>
    </valueSet>
    </valueSets>
    <parameters>
    <parameter id="datev" defaultValue="20050103">
    <select label="Datum von : " valueSet="date" multiple="false" all="false" refreshParameters="false"/>
    </parameter>
    <parameter id="dateb" defaultValue="20060930">
    <select label="Datum bis : " valueSet="date" multiple="false" all="false"/>
    </parameter>
    <parameter id="ma" defaultValue="152">
    <select label="Mitarbeiter : " valueSet="employee" multiple="true" all="false"/>
    </parameter>
    </parameters>
    <templates default="BDE Nettozeit">
    <template label="BDE Nettozeit" type="rtf" url="BDE Nettozeit.rtf"/>
    </templates>
    </report>

    Alex,
    the missing thing in your example is the fact, that if only one value is selected, the parameter has exact this value like BOSTON. If you choose more than one value, the parameter includes the *'*, so that it looks like *'BOSTON','NEW YORK'*. So you need to check in the package, if there's a *,* in the parameter or not. If yes there's more than one value, if not it's only one value or it's null.
    So change your package to (you need to expand your variables)
    create or replace package bip_departments_2_parameters
    as
    p_dep_2_param varchar2(1000);
    p_loc_1_param varchar2(1000);
    p_where_clause varchar2(1000);
    function beforereporttrigger
    return boolean;
    end bip_departments_2_parameters;
    create or replace package body bip_departments_2_parameters
    as
    function beforereporttrigger
    return boolean
    is
    l_return boolean := true;
    begin
    p_where_clause := ' ';
    if p_dep_2_param is not null then
    if instr(p_dep_2_param,',')>0 then
    p_where_clause := 'WHERE DNAME in ('||p_dep_2_param||')';
    else
    p_where_clause := 'WHERE DNAME = '''||p_dep_2_param||'''';
    end if;
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || ' AND LOC IN ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || ' AND LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    else
    if p_loc_1_param is not null then
    if instr(p_loc_1_param,',')>0 then
    p_where_clause := p_where_clause || 'WHERE LOC in ('||p_loc_1_param||')';
    else
    p_where_clause := p_where_clause || 'WHERE LOC = '''||p_loc_1_param||'''';
    end if;
    end if;
    end if;
    return (l_return);
    end beforereporttrigger;
    end bip_departments_2_parameters;
    I've written a similar example at http://www.oracle.com/global/de/community/bip/tipps/Dynamische_Queries/index.html ... but it's in german.
    Regards
    Rainer

  • Error while passing date parameter to the XML data definition

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

    Hi All,
    I have developed a BI publisher report using XML data definition & RTF template.
    This data definition contains a SQL query in it's CDATA section and runs as a concurrent program(without RDF) . We are looking to pass a date parameter to the SQL query and its not accepting the date parameter. However, when we hardcode SYSDATE in the SQL query in place of the parameter, the report runs fine. In the log file it shows that the parameter is being treated in American date style and we are using DD-MON-RRRR format. I have tried to convert the date format however still the error exists.
    What we did ?
    Created a XML data definition which contains the SQL query in its CDATA section & p_rundate (DATE) parameter.
    Registerd the XML data definition as concurrent program with EXECUTABLE= XDODTEXE and Output format as XML with p_date as a date parameter.
    Looking for any available solution for the same.
    Thanks.

  • Crystal Reports 2008 - passing a parameter in the Command Object

    Hi,
    I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntFSw  from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null  group by  emrace
    select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null  group by emrace
    I want to pass a parameter  to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
    How do I pass the parameter that the user picked to those command objects. I tried doing this:
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
    and emunit = '{?Bureau}' group by emrace
    But it did not work. Any help will be greatly appreciated.
    Thanks.

    Hi,
    I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntFSw  from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
    select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null  group by  emrace
    select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null  group by emrace
    I want to pass a parameter  to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
    How do I pass the parameter that the user picked to those command objects. I tried doing this:
    select emrace, count(empl_id) cntFCiv  from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
    and emunit = '{?Bureau}' group by emrace
    But it did not work. Any help will be greatly appreciated.
    Thanks.

  • How to pass the parameter in the where clause of the select statement

    Hi All,
    Iam getting one of the value from the Input otd and using this value i need to query one of the tables in oracle database and selected the table using the oracle eway otd like shown below .
    otdRISKBLOCK_1.getRISKBLOCK().select() .
    where clause in side the select takes a string parameter as Iam getting the string parameter from the input otd and passing this to where clause by creating a string literal after deployment it is giving an error saying "ORA-00920: invalid relational operator".
    can any one throw some input on this .
    Thanks in Advance
    Srikanth

    You will see this error if the search condition was entered with an invalid or missing relational operator.
    You need to include a valid relational operator such as
      =, !=, ^=, <>, >, <, >=, <=, ALL, ANY, [NOT] BETWEEN, EXISTS, [NOT] IN, IS [NOT] NULL, or [NOT] LIKE in the condition. in the sql statement.
    Can you throw some more light on how are you designing your project?

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • Passing Printer as a parameter in the bursting control file

    One of our requirements is to print our report on different printers based on the user input. To acheive this, I am passing printer name as one of the parameter in our concurrent process. In the bursting java process, I set the properties as
    Properties prop= new Properties();
    prop.put("user-variable:PRINTER_NAME","ipp://146.141.12.128/printers/lp1");
    dp.setConfig(prop);
    dp.process();
    In the control file, I am pasing print delivery as :
    <xapi:print id="printer1" printer="$(PRINTER_NAME)" copies="1" />
    The system throws an error 'java string out of expection' and takes PRINTER_NAME as null in the print delivery. The same thing works perfeclty for E-Mail server if I pass name of the e-mail server in parameter and in the java and control file..I make the following changes:
    Properties prop= new Properties();
    prop.put("user-variable:SERVER_NAME","cns.wits.ac.za");
    dp.setConfig(prop);
    dp.process();
    <xapi:delivery>
    <xapi:email server="$(SERVER_NAME)" port="25"
    from="[email protected]" reply-to ="">
    <xapi:message id="123" to="${EMAIL}"
    Can anybody please help me with this..Has anybody tried passing printer as a parameter in the control file..

    Try curly brackets i.e. ${PRINTER_NAME} instead of $(PRINTER_NAME).
    Regards
    Ashish

  • OIM Reporting: How to pass a dynamic parameter in the xml file

    Hi,
    I am generating a custom report in OIM. My stored procedure is ready and I am getting the required data when I query the database. However,while displaying it through the xml file, I need to filter the fetched data by group name. The glitch present here is that the group name is dependent on the resource selected and so the group parameter is dynamic. How can I pass this dynamic group parameter in the xml file to filter the data. Which attributes are to be used. Can anyone please help me out regarding this?
    Thanks in Advance,
    SK

    The OOTB OIM reporting mechanism does not support dependant LOVs, which is
    what you are asking for.

  • Passing multi value parameter to the Drill through report

    Hi
    I have two reports say Report A and Report B.
    Both reports using same parameters.
    I am Navigating from Report A to Report B using Jump to Report option.
    Now when I pass multiple parameter to the Report B it only displays first parameter results.
    In report B I have parameter multi value select to true.
    I would like to know if its possible or not to pass multi value parameter in drill through report?
    I would appreciate if someone can help me here.
    Regards
    Amit

    Yes you can pass multi value parameters to a drill through report.
    It works similar to multi value parameters for subreports, which is discussed in detail in this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=163803&SiteID=1
    -- Robert

Maybe you are looking for