Create view link between two view objects (from programmatic data source)

Hi Experts,
Can we create a link between two view objects (they are created from programmatic datasource ; not from either entity or sql query). If yes how to create the link; ( i mean the like attributes?)
I would also like to drag and drop that in my page so that i can see as top master form and the below child table. Assume in my program i will be only have one master object and many child objects.
Any hits or idea pls.
-t

Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

Similar Messages

  • View Link between two query views

    Hi is it possible to create a view link between two views having the where clause bind variables.
    How you set the bind variables at the run time for the View objects. It is giving hard time for me to use the Master view in the XmlData bean to generate the Xml document.
    I am able to set the Master views bind variables, but for view link destination view
    where clause bind variables are not able to set ( link object link condition bind variables are binded run time but the views where chause bind variables of destination view are unable to setand bind)
    Thanks
    null

    Easiest way to do this is to add additional transient attributes to your master view object, and then include those additional transient attributes in the list of source attributes for your view link. This way, you can get BC4J to automatically refer to their values with no additional code on your part.

  • I have a view link between 2 views that refuses to show up on a diagram

    i can create the view link from the "new-adf companant-view link" menu (right click mouse). if i start from scratch i CAN'T create the view link using the component palette. i get the error Message
    BME-99004: A Java runtime exception has occurred.
    Cause
    This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.bm.uml.validation.AssociationValidation.validateAssociationEnds(AssociationValidation.java:315)
         at oracle.bm.uml.validation.AssociationValidation.validate(AssociationValidation.java:108)
         at oracle.jbo.dt.modeler.validation.BC4JAssociationValidation.validate(BC4JAssociationValidation.java:35)
         at oracle.bm.data.validation.ValidationEngine.validate(ValidationEngine.java:201)
         at oracle.bm.data.cacheimpl.TransactionImpl.validate(TransactionImpl.java:1713)
         at oracle.bm.data.cacheimpl.ProjectCacheImpl.closeTransaction(ProjectCacheImpl.java:5055)
         at oracle.bm.common.registry.CRNWayEdge.createEdge(CRNWayEdge.java:208)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.doCreateEdge(CreateRegisteredShapeTracker.java:537)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mav$doCreateEdge(CreateRegisteredShapeTracker.java:111)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker$6.performAction(CreateRegisteredShapeTracker.java:336)
         at oracle.bm.diagrammer.LockMonitor.performLockedAction(LockMonitor.java:64)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramLockedAction(BaseDiagram.java:2437)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:279)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:403)
         at oracle.bm.diagrammer.track.TrackerStack.pop(TrackerStack.java:198)
         at oracle.bm.diagrammer.track.TrackerStack.safePop(TrackerStack.java:320)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mousePressed(CreateRegisteredShapeTracker.java:1022)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.mousePressed(CreateRegisteredShapeTracker.java:819)
         at oracle.bm.diagrammer.track.ModularTracker.processEvent(ModularTracker.java:191)
         at oracle.bm.diagrammer.track.CreateRegisteredShapeTracker.processEvent(CreateRegisteredShapeTracker.java:230)
         at oracle.bm.diagrammer.track.TrackerStack.processEvent(TrackerStack.java:389)
         at oracle.bm.diagrammer.BaseDiagramView$53.processEvent(BaseDiagramView.java:719)
         at oracle.bm.diagrammer.PageView$PageViewPanel.fireEvent(PageView.java:2904)
         at oracle.bm.diagrammer.PageView$PageViewPanel.processEvent(PageView.java:3090)
         at java.awt.Component.dispatchEventImpl(Component.java:3955)
         at java.awt.Container.dispatchEventImpl(Container.java:2024)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3889)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
         at java.awt.Container.dispatchEventImpl(Container.java:2010)
         at java.awt.Window.dispatchEventImpl(Window.java:1774)
         at java.awt.Component.dispatchEvent(Component.java:3803)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    Message
    BME-02038: Exception thrown during validation
    Cause
    Action
    any insight would be helpful
    ________________________________________________________________________________

    I have iPhone 4s but the same problem with calendar on 8.2 iOS - no sound, no notification appears - but everything is switched on.

  • How to create Doc Link between two document numbers?

    Hi Folks,
    I have two document numbers with different transaction type.
    I want to create a Document link between these two documents, i.e. each documents should come in Dock Flow of each other.
    How to acheive this target.
    I tried to do it by using FM CRM_DOC_FLOW_MAINTAIN_OW, but not able to achieve it.
    So please tell me how to do this thing.
    Regards
    PG

    Hi PG,
    The FM CRM_DOC_FLOW_MAINTAIN_OW should work , I am not sure what parameters you are passing. Any way you can use the CRM_ORDER_MAINTAIN as well which will eventually call CRM_DOC_FLOW_MAINTAIN_OW . Have a look of the sample code, This will give you some idea
    lw_input_field_names-fieldname  = 'GUID'.
          INSERT lw_input_field_names INTO TABLE lt_input_field_names.
          CLEAR lw_input_fields.
          lw_input_fields-ref_kind    = gc_object_kind-orderadm_h.
          lw_input_fields-objectname  = gc_object_name-orderadm_h.
          lw_input_fields-ref_guid    = lw_orderadm_h1-guid.
          lw_input_fields-field_names = lt_input_field_names.
          INSERT lw_input_fields INTO TABLE lt_input_fields.
          lw_doc_link1-objkey_a   = lw_orderadm_h-guid.
          lw_doc_link1-brel_kind  = gc_brel_kind-header_header.
          lw_doc_link1-brel_mode  = gc_mode-create.
          lw_doc_link1-reltype    = gc_bin_rel_type-predecessor_successor.
          INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
          lw_doc_flow1-ref_guid   = lw_orderadm_h1-guid.
          lw_doc_flow1-ref_kind   = gc_object_kind-orderadm_h.
          lw_doc_flow1-doc_link   = lt_doc_link1.
          INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
          CLEAR lw_input_fields.
          REFRESH lt_doc_link1.
          lw_input_fields-ref_kind    = gc_object_kind-orderadm_i.
          lw_input_fields-objectname  = gc_object_name-orderadm_i.
          lw_input_fields-ref_guid    = lw_orderadm_i1-guid.
          lw_input_fields-field_names = lt_input_field_names.
          INSERT lw_input_fields INTO TABLE lt_input_fields.
          lw_doc_link1-objkey_a   = lw_orderadm_i-guid.
          lw_doc_link1-brel_kind  = gc_brel_kind-item_item.
          lw_doc_link1-brel_mode  = gc_mode-create.
          lw_doc_link1-reltype    = gc_bin_rel_type-predecessor_successor.
          INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
          lw_doc_flow1-ref_guid   = lw_orderadm_i1-guid.
          lw_doc_flow1-ref_kind   = gc_object_kind-orderadm_i.
          lw_doc_flow1-doc_link   = lt_doc_link1.
          INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
          CALL FUNCTION 'CRM_ORDER_MAINTAIN'
            CHANGING
              ct_orderadm_h     = lt_orderadm_h1
              ct_input_fields   = lt_input_fields
              ct_doc_flow       = lt_doc_flow1
            EXCEPTIONS
              error_occurred    = 1
              document_locked   = 2
              no_change_allowed = 3
              no_authority      = 4
              OTHERS            = 5.
          IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            RAISE error_occurred .
          ENDIF.
    Hope this will help.
    Thanks,
    Vikash.

  • How to create a link to base oracle olap express(ODBC DATA source Name)

    hello,
    How can I create a datasource name, because I want to connect to Express base with Business Objects.
    thank you for your help

    Express does not support ODBC access, it only supports a proprietary interface called SNAPI. There was a way to connect and pass data backwards and forwards using VB but that was about it. No ODBC connectivity.
    If you want to access multi-dimensional data using Business Objects I would recommend upgrading from Express to Oracle OLAP 10gR2. There might be licensing issues here so I would talk to your Oracle account manager first because I am not sure customers can migrate from Express to Oracle OLAP for free.
    Once you have moved your data from Express to OLAP 10gR2 (the steps to do this are all in the manual and it should be a painless process) then you can use a utility from Business Objects to create the required relational views over your OLAP cubes and dimensions. This will allow you to access your multi-dimensional data via BO's Webi client. I think the utility to create the views can be provided free of charge from BO, however, I think you need to have access to their support website to download it. But check with your BO account manager.
    Hope this helps
    Keith

  • An object from several data source

    Post Author: A. Djelassi
    CA Forum: Desktop Intelligence Reporting
    Français
    Bonjour;
    Je dois créer un seul objet pour lu2019utilisateur qui doit présenter une valeur qui peut être issue de plusieurs tables.
    Si vous avez déjà réaliser ce type du2019objet, votre aide est bien venu.
    J'utilise BO XI Designer
    Merci
    Translate
    Hi
    I must create only one object for the user who must present a value which can result from several tables.
    If you have already to carry out this type of object, your assistance came well.
    I use BO XI Designer.
    Merci

    a relevant feature request
    http://bugs.sun.com/view_bug.do?bug_id=6568991

  • How to create a link between database schema?

    Hi,
    I have created database link between two database schema (From DBSchema2 i have created database link for DBSchema1). From DBSchema2, i have quried one table (This table is present in DBSchema1). But it throws an error says that Table or View does not exist. Anyone pls tell the detailed way to create database link between schema??
    Thanks,
    Sathish kumar D

    Yes iam trying to Archive
    I said achieve not archive. Anyways so you are trying to archive the data. Can you just detail your requirement ? What exactly do you want ?
    Only few tables will be moved to Archive Schema and other foriegn key tables will have a reference to the Live Schema. So how i can create the link between the Archive Schme to Live schema?
    There is no question of creating database links between 2 schems. It is pure stupidity. If you want to access any object from another schema grant proper privileges and create a synonym for the object. Database links are not meant for this purpose.
    Amardeep Sidhu
    http://www.amardeepsidhu.com

  • Link Between two worksheets in Discoverer

    Hi...
    I'm trying to create a link between two worksheets without success.
    What I have is a 'General Ledger' worksheet which lists the journal source for a particular account code that is selected by the user via a parameter. Say the journal source is Accounts Payable invoices, what I want to do is have another worksheet which is 'Accounts Payable' and on that worksheet I want to be able to list all the invoices that make up the journal total on the 'General Ledger' worksheet.
    I have tried to create a link using a sub query condition but when I run the report, the first part 'General Ledger' works fine but when I click on the 'Accounts Payable', I get a "Invalid Number" error message.
    I am going to need to create these type of links for various reports.
    I would be very grateful if anyone can please advise on how to create the link.
    Thanks

    I think you're on the right track with the subquery. So, the wrong number error must be related to the format of the columsn you use for the subquery.
    Alternatively, if the account number you've created the parameter for in sheet 1, you can use the same parameter again for sheet 2 (then check "only one value for all sheets" for that parameter). But this obviously only works if that account number is in the second sheet too...

  • Crossfade slider between two sound objects

    I cant find a solution for this anywhere, im so stuck
    arrrghh!
    Im trying to create a crossfade between two sound objects
    using a horizontal slider ( the sound objects have mp3's loaded
    into them via dragging mc's onto a target).
    any help would be great! AS2 please

    Hi,
    exactly what I had seen first. After my adjustment, your page looks like this in my FF and there is no white space:
    There is a difference here:
    my FF:
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1200" height="200" border="0">
    your old FF: 
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1200" height="200">
    and there the new one:
    <object type="application/x-shockwave-flash" data="menu_top.swf" width="1200" border="0" height="1000">
    Hans-G.

  • View link between VO from two application modules

    Is it possible to create view link between VOs from 2 different Application modules?

    Here is what it says:
    SymptomsYou have an ADF BC (BC4J) project and you are getting the following error:
    oracle.jbo.domain.Number; local class incompatibleA more detailed error looks similar to:
    oracle.jbo.domain.Number; local class incompatible: stream classdesc
    serialVersionUID = -7171468674200794918, local class serialVersionUID =
    -6507359405709672486
    CauseThis problem is caused by either that:
    You have inadvertently mixed two mutually exclusive domain libraries like "BC4J Generic Domains" (bc4jdomgnrc.jar) and "BC4J Oracle Domains" (bc4jdomorcl.jar).
    or
    You have added the "BC4J Datum" library (bc4jdatum.jar) to your middle-tier class path, and are trying to use a JDBC driver different from the one that ships with JDeveloper 10g in the box.
    The BC4J Generic Domains and the BC4J Oracle Domains are never meant to be used in the same application classpath. They contain different implementations of the same set of classes, one destined for use in Oracle JDBC driver environments, and the other for use with other non-Oracle JDBC drivers.
    The BC4J Datum library is designed for use in a thin-client Classpath that is remotely accessing an ADF Business Components middle tier deployed as an EJB Session bean. It contains only the domain classes (typically jar'ed up as part of the whole Oracle JDBC Driver JAR) without having to have the rest of the JDBC Driver JAR on the thin client. SolutionPlease check if any of the above suggested scenarios is applicable to your application.
    If you have the BC4J Generic Domains and the BC4J Oracle Domains in the same project despite that they are never meant to be used in the same application classpath you will get this error. They contain different implementations of the same set of classes, one destined for use in Oracle JDBC driver environments, and the other for use with other non-Oracle JDBC drivers.
    Goto the Project Properties for you project.
    Select Profiles -> <Profile Name> -> Libraries
    Check in the Selected list (to the right) if you have both BC4J Generic Domains and the BC4J Oracle Domains there. If so, remove the one not appropriate for your project.

  • View link between 2 public view object(PVO)

    Hi,
    Can we create a view link between 2 Public View Object(PVOs)? Is as same as creating view link b/w normal VOs.
    Regards,
    Suresh

    Hi,
    whats mean Public View Object? do you use BI?

  • View Link w/ Transient View Objects

    I'm trying to create 2 view objects that contain only transient attributes and create a view link between them. I have a key defined in the parent and 2 keys in the child. When I create the view link I'm unable to generate the accessor in the source because the boxes are all grey'd out. The destination side works correctly.
    Is there any reason this shouldn't be possibly in BC4J? I've been scouring the documentation and so far I haven't found any mention that a view link will not work in this situation.
    This is in JDev. 9.0.4.
    Thank you

    A view link builds its corresponding where clause based on the selected attributes. On the source side, the attributes are used as parameters to the query, so transient attributes are fine. Attributes on the dest side get built into a where clause which would not work with transient attributes, so they are disabled.
    for example:
    select * from blah where (%1 == destVo.attr1) would not work if destVo.attr1 is transient.

  • How to get relationship between two  views in the  reports

    How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

    Hi,
    Please explain your question in detail...what do you want to read ?
    If you want to know about the navigation links between the views then you can use APIs  like
    wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
    Iterate through the navigationLinkInfo from above collection and can read the other properties .
    I haven't tried the above , but it should work !!!
    Regards,Anilkumar

  • BSP(htmlb) - spinning wheel interact between two views,

    hi all,
    if i click button in first view it will opens second view . The second view contains some more data's so it takes too much time to dispaly datas, in mean time i want to give spinning wheel or some process bar in between two views, how can i give,
    Thanks & Regards
    Bala.E

    Hi Bala
    We can achive this by 2 ways.
    One way you can check the standard example "HTMLB_samples".
    In the example HTMLB_samples i can explain what is happeing taking the example of page
    a) breadcrumb.htm and
    b) breadcrumbSample.htm.
    Here when we click the link in the left(Samplelist.htm) page, the page Defaultright.htm will be rendered.
    The defaultright.htm is calling breadcrumb.htm and load.htm.
    The breadcrumb.htm in turn is calling the page breadcrumpSample.htm(Before it is calling the load.htm page is shown in mean time). For this to happen below code is kept in breadcrumb.htm page.
    <htmlb:form method = "post"
    action = "breadcrumbSample.htm"
    target = "coding" >
    This is how the loading icon is comming.
    Other Way of doing is.
    From the first page navigate it to a intermediate page which has the loading icon. From this intermediate page you can navigate it to the Second page which you want it.
    Thanks
    Vijay.M

  • Connection between two views

    Hi Experts,
    Please give me some inputs related to connection between two views ???

    Hi
    http://help.sap.com/saphelp_46c/helpdata/de/39/7dfeaaac6011d189c60000e829fbbd/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2cceb190-0201-0010-be88-acdbeb2ad65f
    How to acces context of view B from view A without using the controller?
    http://help.sap.com/saphelp_nw04s/helpdata/en/7b/67eaa71bdf2645be6e811eee980a04/frameset.htm

Maybe you are looking for

  • Is MaxMenus working on Snow Leopard?

    I've been referring to http://snowleopard.wikidot.com/ and developer sites to see if my apps are compatible before I upgrade, but there are still a whole bunch of applications I don't know the status. Most important on that list is an app called MaxM

  • Conversion of LV 8.5 file to LV 8.2 file

    Hello, would anybody be so kind and save the attached test VI for serial communication for LV version 8.2 or previous, such that I can read it with LV 8.2.1? Many thanks. Benjamin Solved! Go to Solution. Attachments: Serial test.vi ‏23 KB

  • Max. Bildzahl für PS-Album 2.0

    Weiss jemand, wieviel PS Album 2.0 max. bearbeiten kann. Wir haben derzeit damit rund 20 000 Bilddateien gespeichert. Beim Start des Programms kann man sich in Ruhe einen Kaffee bereiten gehen, bis das gesamte Album geladen ist vergehen Minuten, auch

  • Install adobe flash player 11! plz help

    cannot install for firefox. need adobe flash player 11. keeps saying general instalation error. someone with a brain plz help.

  • Transport a hierarchy created in transaction RSH1

    Hi to all, Is it possible to transport a hierarchy created with transaction RSH1 from the development system to the productive system?. Regards Jair