Validation of input parameters in Oracle BI Publisher reports

Hi
I am new to Oracle Bi Publisher.
In my project i am using oracle BIPfor generating simple reports.
here i need validation for input parameters (Date field) and i want to make it (Date field) disable, so that user can select the date through the Calendar component only.
Can anyone please provide me the solution in detail, it is urgent.

I have the same task to validate input parameters with Oracle BI Publisher 5.6.3 running under Oracle eBS 10.5.10.2. My validation goes beyond of what I can do during parameter registration. I am using Data Templates.
My first logical place was the before report trigger. So, I built a report trigger which returns 'false' in case the parameters are not proper. Guess what... XMLP just returns a hard-coded message
!!Error : trigger '" + datatrigger.getName() + "' returns status as 'false'
First of all, this is a bad style to hardcode messages visible by the user (especially during French implementation). Second of all, it is not informative at all. It would be nice to change oracle.apps.xdo.dataengine.XMLPGEN.executeTrigger() to read, for example, a message from the message stack when the trigger returns 'false' and let the user read it.
Anyway, what I did was I built a special data group, decalred before any other data group, query like
select my_package.my_validation fro dual
If parameters fail the validation my PL/SQL package throws an application exception with a message. At least, in this case the error message gets available as the description of the concurrent request.
I wish the before report trigger worked!!!

Similar Messages

  • How to validate the input parameters in Oracle BI Publisher reports

    Hi
    i am new to Oracle BI Publisher
    I am using OBI for generating simple reports.
    here i need validation for input parameters (Date Parameter) and also want to disable the Date filed so that user can select through the calendar component.
    Here validation in the sense, the system must validate the date and alert the user with an appropriate message
    Can anyone please provide me the solution in detail.
    Thanks in advance
    Edited by: user10185520 on Aug 26, 2008 6:15 AM

    I have the same task to validate input parameters with Oracle BI Publisher 5.6.3 running under Oracle eBS 10.5.10.2. My validation goes beyond of what I can do during parameter registration. I am using Data Templates.
    My first logical place was the before report trigger. So, I built a report trigger which returns 'false' in case the parameters are not proper. Guess what... XMLP just returns a hard-coded message
    !!Error : trigger '" + datatrigger.getName() + "' returns status as 'false'
    First of all, this is a bad style to hardcode messages visible by the user (especially during French implementation). Second of all, it is not informative at all. It would be nice to change oracle.apps.xdo.dataengine.XMLPGEN.executeTrigger() to read, for example, a message from the message stack when the trigger returns 'false' and let the user read it.
    Anyway, what I did was I built a special data group, decalred before any other data group, query like
    select my_package.my_validation fro dual
    If parameters fail the validation my PL/SQL package throws an application exception with a message. At least, in this case the error message gets available as the description of the concurrent request.
    I wish the before report trigger worked!!!

  • How to print Barcode data in Oracle XML Publisher Report

    Hi,
    We have an rdf report which prints Bar code in the starting page based on a custom procedure from MarkView. It works well with Oracle Reports.
    But since the current report was a matrix report, we are changing it to a Linear report through Oracle XML Publisher Report.
    We have all the things possible in the new Oracle XML Report.. But we are unable to print the Bar code data which is BLOB in the XML Report..
    Can anyone help me on this? We have UAT dates around the corner..
    We have an RTF Template .
    Help asap.
    Thanks
    Abhilash

    Hi Abhishek,
    Bar code Registration Steps in XMLPublisher responsibility:
    1.    Go to responsibility XML Publisher Administrator
    2.    Open Administration
    3.    Open Font Files Tab
    4.    Create Font File
    5.    Give Font Name : XX_BARCODE
    6.    File : Browse Barcode file
    7.    Apply
    8.    Go to Font mapping Tab
    9.    Open Create Font Mapping Set
    10.    Give Mapping Name: XX_BARCODE
    11.    Give Mapping Code: XX_BARCODE
    12.    Type : FO TO PDF
    13.    Apply
    14.    Open Tab Create Font Maping
    15.    Font Family: Code39-Digits(This name should be exactly the font name comes in word)
    16.    Style: Normal
    17.    Weight: Normal
    18.    Target Font Type: Truetype
    19.    Continue
    20.    Font : XX_BARCODE
    21.    Apply
    1.    Go to Template Tab
    2.    Query for your template
    3.    Open Edit Configuration
    4.    Click on FO Processing
    5.    In Font Mapping set Give XX_BARCODE
    RTF Template (word):
    1.Design the RTF template
    2.Insert the barcode against reqd field
    3.Make sure to put an * before and after the barcode so that scanner understands the beginning and end
    Please send your rtf ,xml file if you are still facing issues.
    Rgds,

  • Oracle bi publisher report for apex

    I am trying to generate rtf word file report and picture is not coming in word.
    I am using Oracle BI Publisher to generate report.

    Can you post a small example up on Oracle's hosted website, that shows what you are trying to do? Just a small sample with a report and your rtf template associated with it.
    Post the login information in this thread and I will take a look at what you are trying to do..
    Thank you,
    Tony Miller
    Webster, TX

  • Converting Crystal Reports to Oracle BI publisher Reports

    Hello,
    We are trying to convert the existing Crystal Reports to Oracle BI publisher. Hence, I was wondering if any of you may have undergone this conversion process and would let me know how to approach this task?
    Are there any tools that can be used to convert the Crystal Reports to BI publisher. I am aware of the Oracle listed tools for Oracle Reports / Actuate Reports to BI Publisher. But, I dont find any for Crystal Reports.
    Thank you for your time.
    Regards!!

    check this it may help
    http://www.oracle.com/technetwork/middleware/bi-publisher/convert-to-bi-publisher-11g-1611815.pdf ( page 25 - 45 )
    http://download.oracle.com/otndocs/xmlp/CrystaltoBIP.pdf

  • Dynamic layout formatting in Oracle BI Publisher reports

    We are creating a planning report in BI Publisher, where in we have a requirement of dynamic formatting based on the month we are running the report. In the report we have different months as columns which displays the values for different KPIs (displayed in the rows).. Now, we need the current month data be highlighted down the column for all KPIs. This means that if it is April, April would be highlighted for all KPIs. Next month when we are currently in May, April would no longer be highlighted and May would be highlighted for all KPIs.. How can we achieve this via BI Publisher? Any help regarding this is really appreciated.

    Hi;
    When we are runnng BI Publisher reports, in the output of reports all the time if any Hypahan symbol comes then it automatically converting into question mark.You got hit this when you are printing?
    Regard
    Helios

  • Can I force 400 return status after validation of input parameters

    Hi
    I am writing a web service to a spec which requires 400 bad request status replies under certain conditions. For example if a date that's sent as one of the parameters is incorrectly formatted. Is it possible in a RESTful GET method (ours are source type PL/SQL) to somehow force the listener to return a 400 response via an exception or something similar?
    Thanks
    Simon

    I did find the solution. You can use X-APEX-STATUS-CODE to set this

  • How to print Arabic characters in Oracle BI Publisher report

    Dear Experts,
    Kindly suggest me how to print arabic characters in BI Publisher.
    Regards,
    Mohan

    see link
    https://blogs.oracle.com/BIDeveloper/entry/non-english_characters_appears

  • Oracle BI Publisher Report from OEM12c data is not getting refreshed...

    Hello,
    We've integrated BI Publisher with EM12c. I've developed a report which checks a given database extents information (initial, next, maxextents) at tablespace level. The dataset is chosen as EM repository. The report runs absolutely fine until new data is added to a database. For eg, I created a new tablespace. The new tablespace related info is not getting refreshed despite the fact that I've refreshed the data source and checked that the tablespace exists in the database.
    Can anyone pls help.
    Thanks,
    Dhananjay

    Dhananjay,
    Has the data in the EM repository view been refreshed? The report retrieves data via the published repository views. If the view does not display the latest information, then you will have to wait till the relevant config or monitoring collections are complete.

  • How to keep the input parameters in a query (WAD report)

    In some WAD reports, we have to record the report name and the user name (which user use the report) and what the selection criteria the user input. How can we do?
    Thank you
    Michelle Lee

    Hi.
    Report name: create user exit variable (lets say Z_QUERY_NAME) with following code at I_STEP=2
    WHEN 'Z_QUERY_NAME'.
    DATA lv_compid    TYPE rszcompid.
    CLEAR lv_compid.
    IMPORT compid = lv_compid FROM MEMORY ID 'COMPID'.
    l_s_range-low  = lv_compid .
    l_s_range-sign = 'I'.
    l_s_range-opt  = 'EQ'.
    APPEND l_s_range TO e_t_range.
    User name: crate user exit variable (lets say Z_USER) with following code at I_STEP=2
    WHEN 'Z_USER'.
    CLEAR l_s_range.
    l_s_range-low  = sy-uname.
    l_s_range-sign = 'I'.
    l_s_range-opt  = 'EQ'.
    APPEND l_s_range TO e_t_range.
    Then in WAD create 2 InfoField webitems. Set dataprovider and select variables for info fields.
    Regards.

  • Oracle bi publisher report for apex - Report Layout

    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to.
    I have 3 tables in my RTF template 1) Header 2) Details 3) Summary. Details section has a group. This runs fine.
    Now if I just combine all the above 3 tables into one by adding row above and row below to the "2) details" table and moving the table 1 and table 3 into those rows, makes the data in the group in table 2 disappear when run on the apex application.
    However it works fine when data is loaded on the RTF template and Preview --> PDF is seen.
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    Krishna
    Edited by: Krishna on Aug 9, 2010 10:08 AM

    Hi, I think you need to provide more information.
    user452458 wrote:
    Hi There,
    Navigation: Home>Application Builder>Application 20>Shared Components>Report Layouts
    I created rtf template for a Report Query. It worked fine upto certain point.
    However at some point, if I make a minor modification to the layout it is not displaying all the data that it is supposed to. What modification? added extra fields? Are those fields in the corresponding report query? change to the design of the document? did you delete the old template and re-upload after making the changes?
    Moreover the preview on the RTF template works fine with the same data.Preview from where?
    >
    Is it a known bug? Because some of my coleagues has same issues.
    Thanks
    KrishnaAlso, you should change your display name to something better than user452458 ;)
    Trent

  • Creating Parameters in RTF Template for BI Publisher Report

    hi,
    I have created Parameters in my BI Publisher Report and in SQL query. But i need to create same parameters in RTF Template , so that when i publish this report in dashboard , parameters will be visible. Can you please tell me how to create Parameters in RTF Template for BI Publisher Report ? I am not finding option. Please let me know .
    Thanks in advance
    Gayathri.

    all the parameter's value will be there in your xml .
    just you need to add parameter heading and corresponding xml tag name to get the parameter value on the report.
    if u dont have you can try like below
    https://blogs.oracle.com/xmlpublisher/entry/get_your_parameters_here_guv
    Declare Parameter in RTF Template
    Before you use the parameter in the RTF template file you need to declare it first. You can do so by having the following syntax.
    <?param@begin:%parameter_name%?>
    Note: where %parameter_name% is the parameter name that you have created at the BI Publisher Server UI.
    Here is an example:
    <?param@begin:param1?>
    Use it in RTF Template!
    Once it’s declared in the RTF template you can start using it as the same way you use the variable. You need to just add ‘$’ prefix in front of the parameter name. Here is the example:
    <?$param1?>
    The above example would print the parameter value in the report output. If you want to use this value in your condition or calculation you can simply use it as ‘$param1’. Yes, it’s that simple.
    If you are not sure if and how the parameter values are passed to the report when you run the report you can use this command in your RTF template, which will return all the parameter values passed to the RTF template at the runtime.
    <?xdoxslt:getXDOProperties($_XDOCTX)?>
    http://kirti-bi-solutions.blogspot.com/2009/06/passing-parameters-from-obiee.html

  • Passing Input parameters to BPEl Process

    Hi,
    The requirement is to link OBIEE report and a BPEl Process.By clcking on the link in OBIEE report , the BPEl process should be executed which accepts the input parameters at run time from the user along with the input parameters being passed from OBIEE report.I am stuck with how to pass the parameters from OBIEE report to BPEL process.I'm using OBI V 10.1.3.3 and developed the BPEL process using Oracle JDeveloper.Could someone help me in resolving this?
    Thanks,
    Vidya

    hi vid
    the bpel process talks in language of web services ie partener links , i guess there must be some way of creating web service of obi and then you can make the two talk, also you can have reverse approach by generating axis client of BPEL webservice and using this client jar in your other obiee whatever....
    hope this helps....
    amit...

  • XML PUBLISHER REPORT EXAMPLEs

    Hi,
    Can any body send me the examples for creating RTF's in Oracle Applications.
    Please send me the details in this form:
    1) Business Requirement
    2) PRESENT RTF: If anything needs to be modified or updated.
    3) If we need to develop a new RTF, please mention how the output will look like along with the validations
    Please send me ASAP.
    Thanks in Advance

    Hi,
    Please refer to:
    Oracle XML Publisher User's Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115xdoug.zip
    Oracle XML Publisher Report Designer's Guide
    http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120xdorg.pdf
    Oracle XML Publisher Administration and Developer's Guide
    http://download.oracle.com/docs/cd/B40089_10/current/acrobat/120xdoig.pdf
    XML Tutorial
    http://www.oracle.com/technology/obe/obe_bi/xmlp_ebiz/index.html
    Regards,
    Hussein

  • BI Published Reports vs. OBIEE Analyses

    We have OBIEE 11g integrated with BI Publisher. One of the things we're struggling with is when to use an OBIEE Analysis vs. a BI Publisher Report in our dashboards, especially since BI Publisher reports can call data in the presentation/analysis layer to get its data.
    BI Pub seems to offer some beautiful flash-based 3D charts. Does anyone have an experience on decision criteria as to when to use one tool vs. the other?
    Much appreciated.
    thank you.

    Oracle Reports is Oracle's enterprise-reporting tool used by large corporations and information systems departments to produce boardroom-quality reports on any type of data.
    What Is Oracle Reports?
    http://www.oracle.com/technology/products/bi/quicktour/html/reports.htm
    BI Publisher (Business Intelligence Publisher, formerly XML Publisher) is a standalone Oracle product and an E-Business Suite integrated application module. It is a template-based publishing solution that provides a new approach to report design and publishing by integrating familiar desktop word processing tools.
    Working with Oracle BI Publisher Reports
    http://download.oracle.com/docs/cd/E12096_01/books/AnyUser/bireports.html
    Oracle BI Publisher
    http://dylanwan.wordpress.com/bi-and-olap-glossary/oracle-xml-publisher-or-bi-publisher/

Maybe you are looking for

  • Po document type to a tcode

    Hi, 1.i have created a new feild settings for a PO and assing that to a particular document type.Is there any way to make a Price feild in dispaly mode in ME22n tcode for that document type only not to all. What is the way to find out whether the pri

  • Preview: Alpha Select (background removal) - not working for me

    The help says "choose Instant Alpha from the Select pop-up menu" I see Select in the toolbar with a pulldown arrow, but clicking it does nothing. The only select I have on the previewed image is a scalable box... I'm stumped, I can't seem to find out

  • Sync calendar with office outlook 2007

    When sync. office outlook calendar to Iphone, new obkects with an all day duration syncronize one day early on the Iphone !!!!!! What is wrong ?

  • Percentage in Fiori Approve timesheet

    Hi Friends, We have implemented the FIORI timesheet entry and approval app. In timesheet approval, when Manager logs in it shows the subordinates timesheets for approval. All 3 employees entered the time for the same week Sep 1 - Sep 07 2014. But, fo

  • MDT 2013 and RES Automation Manager

    Hi, In one of the first step of MDT I'm using a simple script that asks for the country code (e.g. NL), which I would like to store in an environment variable, which I can later on read into RES Automation Manager. But it seems that after MDT is fini