Integrate database view to BAM data object

Is it possible to map database view to BAM data object?

it is done.it is similar as mapping external table to BAM 11g.

Similar Messages

  • Populate BAM data object through adf form.

    I want to populate a BAM data object using adf form as we do in case of database table by creating a data control. How to do this?

    Hi Simanta
    1. I am seeing lot of posts from you regarding this Java to BAM Data Objects integration.
    2. What exactly are you trying to do. Dataobjects are very tightly coupled with actual Database component that is used to create that like Table or View etc.
    3. Best way is. Create a data object. Export that DataObject using "icommand". See docs for this command usage.It generate a pure .XML file with all the details like DataObject name, external referenced Database details (datasource name), external Table or View details. Then mapping for EACH column on this object and that database stuff. Just see the xml file, Its pretty straight forward. When you Export Reports also, it creates an XML File exactly like this only but with more details like all column Formatting information etc etc. Export one Report also and see that xml 4. file.
    4. Both above XML Files are stored in ORABAM Schema. Tables of interest are :SysIterDataset, SysIterParameter, SysIterParameterValue, SysIterReport etc.
    5. Oracle do NOT expose any Public APIs to handle above stuff. But if you really really want, you can always manipulate XML content and reload to those columns any time. Need to add few query parameters to get exact row like ReportId, or DataObject Id which are just PKs etc.
    Still, I am curious why and what is the usecase where you want to do all this from Java code. Because DataObject is a one time thing. And note that it is used in Report. So if you modify data object like remove a column, then Report will die.
    By the way, all the WebServices exposed may be for ReadOnly purposes. I am not sure if you have services to modify them.
    Thanks
    Ravi Jegga

  • Can we create a BAM data Object from two tables

    Hi ,
    I want to pull the data from two tables and create a BAM data object, Is it possible in BAM?
    Do the needful
    Regards,
    Francis

    The sample way is using AQ on database. You can create a database view to join the tables. And create AQ on the view, create a ems to listen on the queue.

  • How to send data to bam data object through java code

    how to send data to bam data object through java code

    I've made a suggestion in other thread: https://forums.oracle.com/thread/2560276
    You can invoke BAM Webservices (Using Oracle BAM Web Services) or use JMS integration using Enterprise Message Sources (http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bam_ent_msg_sources.htm)
    Regards
    Luis Fernando Heckler

  • BAM data object lookup fields for real-time data

    I have two tables T1 and T2 and associated data objects DO1 and DO2. T2 has two columns EventId and AgencyId which form composite primary key. I am creating an Updating Ordered List Report to show data from boths tables T1 and T2. How will I use Data objects lookup to achieve this. Is this possible, as the data feed will be real-time and I don't know whether T1 or T2 data will arrive earlier. I need to show all data in T1 and relevant Status column data from T2 based on EventId and AgencyId. Please suggest if datalookup fields will help achieve my use case in real-time scenario.
    Thanks

    Is there a working example of how the Lookup fields work for BAM data objects.
    Thanks

  • Differences between Oracle BAM and Oracle BI and Question BAM  Data Objects

    Hi,
    I have two questions.
    1. Can someone tell me differences between Oracle BAM and Oracle BI?
    My understanding about Oracle BAM is, we use BAM to build Dashboards or Reports.
    We can also build DashBoards or reports using Oracle BI.
    I am not able to understand why Oracle has two tools for same purpose?
    Which tool is more powerful and user friendly(Oracle BI or Oracle BAM)?
    2. Every time we plan to develop Dashboard or report in BAM, we need to create BAM ADC Data Object to store Data (i.e first step is to get data from external database or application and second step is to store data in BAM ADC data object).
    My understanding is we have an extra step(i.e creating Data Object) in Oracle BAM to develop a report or DashBoard
    I am wrong pl correct me?
    Regards,
    Shanti Nagulapalli.

    Oracle 11g has many advanced features in PL/SQL over Oracle 9i.
    refer here,
    http://www.oracle.com/technetwork/database/features/manageability/9i-to-11g-real-world-customer-exper-133754.pdf
    http://www.oracle.com/global/de/upgradecommunity/artikel/upgrade11gr2_workshop2.pdf
    http://www.compuworks.com/events/view/233.pdf
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getCourseDesc?dc=D52601GC10&p_org_id=15942&lang=US
    Thanks

  • BAM: Data objects cannot be edited while they are in use.

    Hi all,
    When I try to edit the layout of an data object I'm getting the error: BAM-04003: Data objects cannot be edited while they are in use.
    I have the Active Viewer and Studio closed.
    How can I do this?
    Thank you in advance.
    Kind regards,
    CD
    Note: Oracle BAM version: 11.1.1.3

    Plans are not supported in 11g. Look if there are any alerts are defined on the data object that you are trying to edit.
    Go to BAM Architect - Alerts page
    or Go to BAM ACtiveStudio - Alerts tab.

  • Objects missing in database (views)

    As information/background, I have been away from SAP and basis for about four years.  Due to personnel changes here, I am now returning to it. While I was away, our SAP system was upgraded from version 4.0B to “SAP R/3 ENTERPRISE 47X110”.  I was not a part of the upgrade and have no details as to how it was accomplished.
    At this point, we have two SAP “systems”: DEV and PRD and they are on separate partitions of an i5 520.  Both are running on OS/i5 V5R3M5 with mostly updated CUMe packages, etc, and PASE is installed.  Both of these “systems” use the 6.20 kernel at patch level 1598.  We know that this is an OLD kernel and we need to upgrade.  I am currently planning the kernel upgrade to 6.40.
    In our PRD instance, using transaction DB02 I have been seeing that we are  missing  four views in the database:
      Views
        SYSTRIGCOL    Obligatory Base object is missing in DB
        SYSTRIGDEP    Obligatory Base object is missing in DB
        SYSTRIGGERS   Obligatory Base object is missing in DB
        SYSTRIGUPD    Obligatory Base object is missing in DB
    Is this a big deal?  Should I worry about it or just continue with my kernel-upgrade planning?
    If needed, can I just retrieve the source from the DEV instance, modify the source, and create the views in PRD? 
    I have confirmed that I can retrieve the DDL source from DEV via iSeries Navigator.  It would then just be a matter of copying it, modifying it for PRD, and then executing it for PRD.
    Thanks in advance for any advice.
    Robert

    Hi Robert,
    no this isn't critical during daily business, at least not in base release 6.20.
    You are missing a couple of system catalog views providing SQL trigger information on a schema basis. (They are views on top of the systemwide cross reference files.)
    I've seen this happening if you restore a library from an old OS/400 release (that did not know about those views) to a newer release.
    SAP does not use triggers in 6.20 during daily business that's why it is not critical.
    It's easy to fix though: You may consider removing all system catalog logical files from your R3<sid>DATA schema (WRKOBJ, 4) according to the following list:
    http://publib.boulder.ibm.com/infocenter/iseries/v5r3/topic/db2/rbafzmstcatalogtbls.htm#catalogtbls .
    The following command will recreate them:
         CALL QSYS2/QSQXRLF PARM(CRT R3<sid>DATA)
    Hope that helps!
    Best regards,
    Dorothea

  • Unable to get database format for date object

    Hi,
    I am using UDT to build an universe against Oracle DB, We are using a view to get date object to filter the dates in our reports. Format for the date column in the view is "dd-MMM-yy". Desired format at the WebI layer is also "dd-MMM-yy"
    However, when I pull this object in WebI in filter pane, I am still getting Timestamp with date and the format is also coming as "mm/dd/yyy hh:mm:ss a"; and, if I pull the date column in results pane I am getting the correct format "dd-MMM-yy". I tried typing the value for prompt, using calender (this also gives default timestamp) none of them worked
    I tried using with and with out the TRUNC(date) function, changed object properties at universe level but, still I am getting the same result
    Can you please guide me on, how to get the date value in "dd-MMM-yy" when used in prompt and, is there a possibility to not show timestamp in calendar selection (screenshot: Date parameters2)
    Thanks in advance
    Sri

    Hi Jacq,
    Thanks for your reply. We are on BO4.0 SP04 FP03 with Oracle 11g as back end
    Object type is defined as Date in universe. In the report and the SQL generated are showing as per the backend column format 'dd-MMM-yy'
    However, same date object is showing with timestamp, as 'dd/mm/yyyy hh:mm:ss a' format when showing LOV's &  when selected using calender GUI in prompt screen
    I already tried the below options in various combinations, none of them worked
    1) TRUNC(date)
    2) Object Properties - Advanced
    3) Object Format - custom
    Thanks,
    Sri

  • Sample payload to include multiple Data objects in BAM

    Hi,
    We are using BAM 12c in our project. We have a requirement to insert/update data into multiple data objects as part of an EMS [Enterprise Message Source] request. As part of the request, I have some Dimensions data and Fact data. When I submit the request to server, I need to insert dimensions data when there is no data available for the specific dimension key, otherwise update the dimension meta data. Then I need to insert Fact data in to another data object along with the reference of the dimension data.
    From the Oracle documentation, https://docs.oracle.com/middleware/1213/bam/BAMUG/bam-enterprise-message-src.htm#BAMUG10589 I found sample payload for one data object operations, under the text: Use Self-Described Payload.
    Please share a sample payload to submit it to BAM so that data will be created in multiple configured BAM data objects in one EMS request.
    Thanks in Advance.
    Satya

    Deepan:
    Thank you for the fast response, the xml file you have given below will clear all the DO rows specified in that file.
    +<?xml version="1.0" encoding="utf-8"?>+
    +<OracleBAMCommands>+
    +<Clear name="/folder/do1" />+
    +<Clear name="/folder1/do2" />+
    +</OracleBAMCommands>+
    But in an organization in long run when data objects keep on increasing. should we also keep on adding the "Clear" statement into the xml file.
    i.e. like to ask the developer to create an entry in this xml file each time he creates a data object in BAM console?
    do we have any command like
    <Clear type = "dataobject" all="1" />
    Thanks you very much in advance

  • Database View do not refresh in ADF application

    Greetings,
    im facing a weird problem in my application (JDeveloper 11.1.2.4.0 - ADF). All this time i was working directly with tables (VO), but now i also started using database views.
    Everything works fine, when i add a new row in a table that my Database Views is associated with, it refresh properly.
    BUT if i delete rows manually from my database, the View do not refresh in my application, not by refreshing the page,
    redeploying application, even executing the view object query inside the view object. The only way for the DB View to be
    refresh inside the JDeveloper and on deployment time is by restart JDeveloper. I try adding an action on my OV to re-execute them when
    i do something specifically, hopefully the will reset the cache and retrieve the DB view again, but with no luck..
    Correction: now it doesnt even refresh on restart jdeveloper.
    Just for the clarification, im talking about Database Views, and not just Object Views. I create a Object View inside the application to retrieve the data
    from the Database View results.
    Can you help me on this please?

    Yes the queries in SQLDeveloper was showing me correct results.
    But i feel disappointed.. When i went to close SQLDeveloper to try something, it pop me a message to commit/rollback changes.
    After i commit them, my app show correct results too.

  • Need Database Views for these categories.

    Dear Experts,
    I need Database Views to get data for the following categories.
    <b>
    Historical production
    Historical consumption
    Historical inventory
    Historical procurement.
    </b>
    Thanks in Advance.

    Hi
    Which SAP Version your are using ?
    For which Module you require them ?
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • How to create more Timestamps fileds in EDS data object?

    Hi All,
    I am trying to create BAM Data Objects fro EDS.I provided details for the DB connections, while saving Data Objects its not allowing the timestamps fields.
    is there any workaround to this and please let me know possibilities.
    Thanks.
    swamy

    Hi,
    below is the ans for this question.from oracle docs
    Note:
    Only the tables that belong to the user are shown when a data object is created on an EDS.
    Creating a data object with multiple time stamp fields on an EDS is not supported.
    http://docs.oracle.com/cd/E15586_01/integration.1111/e10224/bam_data_objects.htm#BABCEHBB
    http://docs.oracle.com/cd/E15586_01/integration.1111/e10224/bam_extl_data_sources.htm
    Thanks
    Siva

  • Comparing java.util.Date objects...

    Hi,
    I got a problem using the follwing code:
    // get current date
    Date currentDate = new Date();
    // first check if column 'Date Actions Plan' has a valid value
    if (dl.getDate("actionsplanneddate", i) instanceof Date) {
    // then check if current date is after 'Date Actions Plan'
    if (currentDate.compareTo(dl.getDate("actionsplanneddate", i)) > 0) {
    I'd like to compare two Date objects - the first one is the current date and the second one is from a database column. The Date object of the database column has the following format (for example):
    2004-08-23 00:00:00
    The important thing is just the date (hours, minutes and seconds are not important in that case - therefore it is 00:00:00).
    I'd like to format the currentDate object in the same manner, which means setting hours, minutes and seconds to 00:00:00, too.
    Best regards
    - Stephan

    Hi,
    I got a problem using the follwing code:
    // get current date
    Date currentDate = new Date();
    // first check if column 'Date Actions Plan' has a
    valid value
    if (dl.getDate("actionsplanneddate", i) instanceof
    Date) {Why the instanceof? How would getDate not return a Date? (I'm assuming this is JDBC.)
    // then check if current date is after 'Date Actions
    Plan'
    if
    (currentDate.compareTo(dl.getDate("actionsplanneddate",
    i)) > 0) {
    I'd like to compare two Date objects - the first one
    is the current date and the second one is from a
    database column. The Date object of the database
    column has the following format (for example):If you have a java.util.Date or a java.sql.Date then it doesn't have format. It just represents an instant in time. Whatever format the DB uses or you used to create the date is not present in the Date object.
    You can use compareTo. I think Date also has before() and after() or isBefore()/isAfter() or something like that. Look at the API.
    Or you could call getTime() and compare the longs. Not sure why you'd want to do this though--I'm sure the other two idioms do this under the covers anyway.
    2004-08-23 00:00:00
    The important thing is just the date (hours, minutes
    and seconds are not important in that case - therefore
    it is 00:00:00).
    I'd like to format the currentDate object in the same
    manner, which means setting hours, minutes and seconds
    to 00:00:00, too.Ah. Well, then just creating a java.sql.Date from your java.util.Date might take care of that for you--I think the time portion is supposed to always be zero. Write some code and try it, but remember, it's GMT based, so you might see a nonzero time component, but it shoud match your TZ offset.
    Otherwise you'll have to use java.util.Calendar (java.util.GregorianCalendar)

  • Conversion of Char database fields to Date Object view attributes

    Hello,
    I would like to transform all date values of data type CHAR(10) in an oracle database (formatted like this : "YYYY/MM/DD") to oracle.jbo.domain.Date fields.
    For the moment the better idea I have found is :
    - add transcient entity attributes (type oracle.jbo.domain.Date) for each persistent attributes (type oracle.jbo.domain.Char) representig a date field in each Entity object of my application.
    - in the java code of the Getter and Setter method of those transcient attributes, I call a method which transform a value of type "oracle.jbo.domain.Char" to a
    "oracle.jbo.domain.Date" (for the Getter), and an other method which transform a value of type "oracle.jbo.domain.Date" to a
    "oracle.jbo.domain.Char" (for the Setter)
    The aim of these transformations is to retrieve those transient attributes of oracle.jbo.domain.Date type in my web application in order to easily associate them to adf "input date" components : what I have undersand is that this "input date"component is waiting for a "Date" type in input to work properly.
    But I find that it is a lot of work to do. I have maybe 100 database fields concerned by those conversions.
    Does it exist something in the Adf framework between the database and the "adf entity objects", or between the "adf entity objects" and the "adf view objects", where I can declare to make these transformation for all my database pseudo date fields : something like a class-converter in the adf web framework where I can say, for example, to execute some methods in order to transforms the concerned data in two directions : "Char to Date" and "Date to Char".
    Thanks for your help.

    Hello,
    I would like to transform all date values of data type CHAR(10) in an oracle database (formatted like this : "YYYY/MM/DD") to oracle.jbo.domain.Date fields.
    For the moment the better idea I have found is :
    - add transcient entity attributes (type oracle.jbo.domain.Date) for each persistent attributes (type oracle.jbo.domain.Char) representig a date field in each Entity object of my application.
    - in the java code of the Getter and Setter method of those transcient attributes, I call a method which transform a value of type "oracle.jbo.domain.Char" to a
    "oracle.jbo.domain.Date" (for the Getter), and an other method which transform a value of type "oracle.jbo.domain.Date" to a
    "oracle.jbo.domain.Char" (for the Setter)
    The aim of these transformations is to retrieve those transient attributes of oracle.jbo.domain.Date type in my web application in order to easily associate them to adf "input date" components : what I have undersand is that this "input date"component is waiting for a "Date" type in input to work properly.
    But I find that it is a lot of work to do. I have maybe 100 database fields concerned by those conversions.
    Does it exist something in the Adf framework between the database and the "adf entity objects", or between the "adf entity objects" and the "adf view objects", where I can declare to make these transformation for all my database pseudo date fields : something like a class-converter in the adf web framework where I can say, for example, to execute some methods in order to transforms the concerned data in two directions : "Char to Date" and "Date to Char".
    Thanks for your help.

Maybe you are looking for

  • How to select valid lines in a secondary list in a interactive report

    hi how to select valid lines in a secondary list in a interactive report

  • Not assigned and # in BEX 7.0 WAD

    Hi all, In the report I have a characteristic time Z object. In the portal, For the value 00:00:00 (midnight) it displays '#' instead of 00:00:00. Is there a way around this? Also in Javascript is it posible to change 'Not Assigned' to some other ver

  • Duplicating timelines (not assets) makes project HUGE!?!...

    Hi all, I don't do much authoring, so forgive my niavety... I am working on a DVD where the client wants a play all button and then 7 individual chapters that when played come back to the menu after each one... Now, what I usually do is encode the wh

  • LabVIEW Run-Time Engine 6.0 Error 1606

    I try to install LabVIEW Run-Time Engine 6.0 on a PC running Windows Me. As soon as the installer wizard apear, the message follows "can't find network location ..\. Error 1606

  • Illustrator CS 5

    10.8.3 will not open Illustrator CS 5. anyone else experiencing this problem (apart from my clients)? Have tried Onyx/Yasu/Safe boot/reinstall CS5 to no avail, all other apps open as usual. Thanks. (Mac Mini i7 2.7 GHz OS 10.8.3)