How to access View Accessor in VOImpl

Hi
In our application we have two View Objects say VO1 and VO2
Now VO1 has a view accessor as VO2.
VO1 is a View object with programmatically populated rows that i want to populate by executing VO2 in VOimpl of VO1.
How can i access VO2 in VO1.impl file.
Thanks
AJ

Hi,
have you provided view link for both vo..?
if yes then there is no need to manually add child vo as accessor, because in that case in accessor the vl doesnot gets applied..
remove it from accessor list
open vl, goto relation ship, edit accessors, make sure in destination accessor 'In view object' is checked, note the name of accessor for example take it as 'childvo' keeping it default is better.
so in row of parent viewobject you can access the child view rows as following
1-* relationship
Row row = getCurrentRow();
ViewRowSetImpl vrs = (ViewRowSetImpl) row.getAttribute("childvo");1-1 relationship
Row row = getCurrentRow();
ViewRow vrs = (ViewRow) row.getAttribute("childvo");Regards,
Edited by: Santosh Vaza on Jun 4, 2012 4:49 PM

Similar Messages

  • How to access View Context thr' View Controller; and not thr' View....

    Hi
    As we know that we can access Component Context Attribute by Component Controller in view as:
    wdThis.wdGet<Component_Name>Controller().wdGetContext().currentContextElement().
    get<Component_Context_Attribute>
    whereas wdThis.wdGet<Component_Name>Controller() is the Component Controller.
    So, in the same way, I was just wondering do we have any way to access the View Context through View Controller.
    Generally for view context, we use wdContext which is (= wdThis.wdGetContext() ) means accessing view context thr' view.
    i want to access View context thr' View Controller which is wdThis.wdGetAPI().
    Thanks....

    Hi
    Get the detailed description and understanding of these webdynpro jorgens from [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ba2c45-0518-2a10-73be-9b785e10aef1]
    Best Regards
    Satish Kumar

  • How to access Views of ERP with Netweaver BPM?

    Hello,
    i want to create an example-application with Netweaver BPM and Visual Composer.
    For this, more employees should share the creation of a new Material in an ERP Backend.
    Every emplyoee should enter data of a different View of MM01 ! (like Basic Data, Sales..., Purchasing., ..)
    I thought about using the Service "Create Material Basic Data" but there are only little options for the data you can enter
    (only InternalID, Base Units, Description...).
    So my question is, how can i get access to the usual views of MM01 with Netweaver BPM and Visual Composer?
    Or how can i enter more Materialdata with Webservices?
    Thanks for your help,
    Oliver

    What you could also do is make use of MDM Webdynpro Components since your intention is probably to update master data at the end you can use MDM Webynpro Components and then use them a webdynpro application. Use the webdynpro component in the BPM Process in return or use the option given in the previous reply as well.
    http://help.sap.com/saphelp_nwmdm71/helpdata/en/4a/387eb4a7ea1ca2e10000000a42189c/content.htm
    Link to MDM WD Comps

  • How to access View object programmatically and ...

    Hi,
    I have a hypothetical situation. I have for example a VO based on Emp and a data table in the UI with a button.
    When pressing this button I want to call a method that will programmatically read in teh values of the current row and then update a field in the UI (say an outputText).
    My problem is I am not sure where to pu this logic. I thought I shouldI create a new method in the Application module then bind that methid to the button. By having the code in the AM then it can easily access the VO attributes. But how can the method in the AM access the values in my backing bean and set them or read them ?
    I am not sure where to put the code - I could put it in teh backing bean and call teh application module from there but the manual doesn't really recommend that I think.

    This is probably logic that should be in the backing bean in a method that is activated from your button.
    The ADF Developer Guide shows you how to do it here:
    http://download.oracle.com/docs/html/B25947_01/bcservices005.htm#sthref681

  • I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files?

    I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files? Does using time machine mean that that partition is no longer able to be used as it used to be?
    HDD is a Toshiba 1TB, partitioned into two 500GB partitions.
    OS X version 10.9.2

    Yes, sharing a TM disk is a bad idea, and disks are cheap enough so that you don't need to.
    Now
    Have you tried to repair the disk yet

  • How to Access Maintenance View from a program

    Hi Experts,
    I have created a maintenance view for a table. i want to insert data's into the table through the maintenance view. I don't know how to access the view, how to insert data into the Maintenance view. Please suggest me how to access the view from the program.
    with regards,
    James...
    Valuable answers will be rewarded...

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • How can i view the data from Access DB in oracle

    pls tell me that how can i view the data of MS ACCESS DATABASE in ORACLE.i was use ODBC of ACCESS DATABASE AND THEN CREATE DATABASE LINK IN ORACLE BUT NOT YET SUCCEEDED.PLS TELL ME THE PROCEDURE.
    regard's

    hi,
    u nedd to use Oracle Hetrogeneous Services,,
    full details of the procedure u may fing on metalink
    Regards

  • How to access tables/views of an external database provider..

    After much trouble I finally managed to setup a second Database Provider that doesn't display the "0 out of 0 connections are good" error by filling in the "Configuration Class" field with "intradoc.server.DbProviderConfig".
    But now the problem is actually accessing the tables/views in my newly configured external database provider...
    In the Configuration Manager applet when I try to add a new Table or View it only lists the tables contained in the schema of the SystemDatabase database provider (the original one), I've tried running Queries via components trying stuff like SELECT * FROM provider_name.table_name and other similar but obviously it doesn't work...
    So... with that said, I just want to know how I access tables or views in my "supposedly" well conected (15 out of 15 connections are good, no errors on the Test Query) Oracle external Database Provider - After searching I was unable to find any information regading any post-provider-setup actions in the Content Server documentation - Does anyone know how to do this?
    On a side note, if the database is SQLServer instead of Oracle, with the same configuration and apparently no errors on the database side (other clients access it well) the Query Test of the new database provider returns the following error:
    "The provider 'TestSqlSrv' is in error. Unable to create database connection for JDBC:ODBC:SqlSrv. Unable to create result set for query 'select * from dummy'. Invalid Fetch Size Unable to create result set for query 'select * from dummy'. Invalid Fetch Size java.sql.SQLException: Invalid Fetch Size".But I won't even go there yet.... for now I would settle with just knowing how to reference information in the Oracle external database provider...
    Message was edited by:
    user602700

    if you are able to, pick up Bex Huff's book the Definitive Guite to Stellent Content Server Development (amazon link: http://www.amazon.com/Definitive-Stellent-Content-Server-Development/dp/1590596846/ref=sr_1_1?ie=UTF8&s=books&qid=1196365101&sr=8-1)
    chapter 11 is all about this.

  • How to access design view in DW CC?

    I am new to DW and am working in fluid grid. tutorial references design view (maybe with a toggle switch) - cannot find how to access 'design view'. any help would be appreciated.

    If you use CC 2014.1 (October release) or 2014.1.1 (February release)  you can't get to Design View b/c it was removed from FGLayouts.
    New Features in CC 2014.1 October Release
    http://helpx.adobe.com/dreamweaver/using/whats-new.html
    New Features in CC 2014.1.1 February Release
    https://helpx.adobe.com/dreamweaver/using/whats-new.html#Enhancements%20to%20Live%20View%2 0editing
    Nancy O.

  • Help me with how to access accessor!!!

    hi my code is..
    import java.lang.*;
    import java.util.*;
    import java.io.*;
    class testStudentIterator
         public static void main(String args[])
              TreeMap stuTree = new TreeMap();
              student myStudent1= new student(1111,"AAA");
              stuTree.put("1",myStudent1);
              student myStudent2= new student(2222,"BBB");
              stuTree.put("2",myStudent2);
              Collection allStudents = stuTree.values();
              Iterator stuIterator = allStudents.iterator();
              while (stuIterator.hasNext()) {
                   System.out.println(stuIterator.next());
    class student
         private int stuID;
         private String stuName;
         student()
              stuID=0;
              stuName="unknown";
         student(int iD, String name)
              stuID=iD;
              stuName=name;
         public String toString()
              String info="Student ID : "+ stuID;
              return info;
         public String getStuName()
              return stuName;
    }and i want to use accessor to explicilty print the student's name only
    but i don't know how to access it..

    Feels a lot like homework, but what the heck...
    Instead of
    while (stuIterator.hasNext()) {
      System.out.println(stuIterator.next());
    }you might want
    while (stuIterator.hasNext()) {
      student s = (student) stuIterator.next()) // Classnames begin with upper-case letters!
      System.out.println(s.getStuName());
    }

  • Access programmatically view accessor

    hello,haw can i access programmatically view accessor of LOV in backing bean.

    Which jdev version do you use?
    What is your use case?
    What kind of LOV are you talking about?
    Timo

  • Creating a photo book, How can I access / view all the versions?

    I used 247 versions to create a book in Aperture 3.5.1. I am reviewing the book. Only 93 versions are now displayed! I cannot access/view the other ones. Up to friday it was fine. What happens? How do I solve this issue?

    You can not - they are soreted by date
    --  the only solution I have seen is to put them in an album sorted the way you and and then use the batch cnage command to redate them with a small invrement between so a data sort matches your desired sort  --  I personally do not want to redate a bunch of my photos nor do i want  to have to go through and un-re- date a bunch
    suggest a change to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • How to access a view object under a nested appmodule in servlet

    Hi,
    Can anyone tell me how to access a view object under a nested appmodule in a servlet?
    I know that I can use
    ApplicationModule app = Configuration.createRootApplicationModule(amDef, config);
    ViewObject vo = app.findViewObject(viewObjectName);
    to get hold of an appmodule and view object.
    But in a nested appmodule, for example, I have am0 as root, am1 as child, and voZ within am1, what should I use for this amDef? config? and viewObjectName?
    Your help would be much appreciated.

    Hi,
    http://radio.weblogs.com/0118231/stories/2005/07/19/nestedApplicationModules.html
    Frank

  • I have a router that has a readyshare USB storage access port that has mp4's of movies. So how can I view them from my iPad 2 ?

    I have a router that has a readyshare USB storage access port that has mp4's of movies. So how can I view them from my iPad 2 ?

    I just bought a NETGEAR WNDR3400v2". 
    I own a mac, running 10.7 and an ipad 1.
    I can access my USB stick, on the netgear wireless router, from my mac or ipad.
    From a mac or ipad .... http://readyshare.routerlogin.net/shares/USB_Storage/    or  just http://readyshare.routerlogin.net/shares
    Also,   on a mac only, try, go > connect to server> smb://readyshare
    Works for me!

  • How to Access the view from another Component

    Hi,
    Seek your advice on this following requirement.
    1. Would like to add the view OVWindow of Component BTCATEGORIES in an assignment block of 
        CRMCMP_CMG similar to the assignment block exists in the BT116H_SRVO component.
    2. Please provide the step by step procedure to implement this requirement.
    Regards,
    Arif

    Hi,
       I am having view1 and view2.
      in view1 i am using roadmap. S1 is one of the step of road map.
      in view1 i used this code to get the reference of this view in componentcontroller attribute
    Data: lo_api TYPE REF TO if_wd_view_controller.
    If first_time = 'X'.
    lo_api = wd_this->wd_get_api( ).
    wd_Comp_Controller->my_VIEW = lo_api.
    endif.
    in my view2 i want to access the roadmap step
    i dono how to access that.. i used this code.......
             wd_comp_controller->my_view->get_element( 'S1' ).
    is this correct.. If not what is the code to get that id..
    Can any one tell me clearly...

Maybe you are looking for

  • Report using GL Hierarchy directly from a cube in crystal reports

    Hi, I am trying to build a crystal report showing GL account hierarchy ( a P n L report). When I am trying to source this field from the BW cube directly its not showing up on the report preview at all.  I built something similar with hierarchy using

  • Dumb Question??

    I hope the philosophy here is that there is no such thing as a dumb question. Here goes. Adobe Classroom in a Book for Premier Pro states that when opening a New Project under the Project tab you have two choices DV or HDV when in actuality the choic

  • When I try to trim my movie in elements 12, it doubles it instead of trimming it.

    I try to trim my movie in elements 12. I move the cti to the beginning of what I want eliminated and then to the end piece I want eliminated and it doubles it. How do I eliminate what I don't want in my movie?

  • File Adapter - BPM

    My Scenario is Start BPM - Receive Huge File from System A - Transform Big File into 8 Smaller Files - Send All Files using FTP adapter to System B- Invoke Webservice on System B to Process all the files earlier sent - If Response Message is successf

  • If I use a loop as BG music what do I put on the cue sheet for composer?

    Anyone know this? I am pretty sure it's OK to do tghis, I just need to know how to list the composer since there that is not known.