How to Get view attribute of another VO

HI OAF Guys,
I have a query to get view attribute of another VO. I will explain the case:
I created a separated region(consists of Advanced Table-in-Advanced Table) and i added it to the already existing page. I want to populate the master table content by passing the custacctid and contactid to the VO(Master table). Here contact id, we can get using party id. This party id view attribute is in another VO(This VO is already existed in the page). How to access that VO and view Attribute.
If some one knows this, respond asap as it is urgent requirement.
Kind&Regards
U.Palakondaiah

Hi tapash,
thx for ur soon reply. I will explain a little bit more. In the existing page, there is a VO(IMCCustAccountRolesVO) having IMCAcctContactUpdateCO and
IMCCustAccountContactAM controller and Application modules respectively.
Now I added a region to this page(consists Advanced table-in-advanced table). This region has ContactPrivilegesCO and ContactPrivilegesAM conroller and Application modules respectively. I created a VO(EqxContPrvlVO) to populate the values in master table. For this one I have to pass contactid. we can get this contactid by using partyid which is view attribute of IMCCustAccountRolesVO.
Now can I get this view attribute(PartyId) in ContactPrivilegesAM?
I think you undetstand the situation. If you have any doubts let me know..
Thanks & Regards
U.Palakondaiah

Similar Messages

  • How to get view attribute old value

    Hello,
    I have an update page which has a view object associate with, I first execute query to display view attribute value on the page, then I edit the page, and before saving to database, I want to compare row attribute value before editting and the one after editting. row.getAttributeName("attributeName") always returns whatever value currently on the screen.
    Is there any method that allows me to get old row attribute value, the value comes from database?
    thanks
    Lei

    Lei,
    If you are concerned only about a couple of attributes, then you can manage with a separate copy of the data. But if the data is in bulk, better leave it to pl/sql side of validation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How can I get the attribute of another app of the JSP server's session

    in one server, use Tomcat 4.1, have two application at
    .../webapps/app1
    .../webapps/app2
    when use login to application1, it'll set a attribute of session use following code:
    session.setAttribute("identitycode", IdentityCode);
    session.setMaxInactiveInterval(SessionTimeOut);
    and the other jsp programs which at app1 directory will try to get the attribute of this session to identity whether the user had login and get the identity code.
    I want to make user just login one time to use application1 and application2, but I didn't know how to get the attribute of session what seted at app1 in app2's programs.
    can you tell me how I can do this?

    If there are 2 different applications like app1 & app2, U need to use:
    application.setAttribute() method.(not session.getAttribute).
    u need to maintain one collection like hash table which will store the mappings of User & their IDs . U can then get the user details from app1 to app2

  • How to Get Navigational attributes of dso in Report ...

    Hi i have a dso with many fields ,
    In the report i need to get some navgational attributes which are in dso..
    How to Get Navigational attributes of dso in Report ..??
    Thanks All..

    hai naiduz,
    in the dso u find folder with navigational attributes, there select the Navigation check box the fields which u need in the report.
    and further if ur dso through multiprovider and also identify them at multi provider level.
    then u will be able to see the fields at query designer level, then u can use the nav. fields u need in the report.
    regards,
    Vj

  • How to get the attribute value of an XML file??

    How to get the attribute value of an XML file??
    For example, how to get name and age attributes?
    <student name="Joe" age="20" />

    What are you using to read the XML file??
    On the assumption of JDOM - www.jdom.org. Something along the lines of:SAXBuilder builder = new SAXBuilder(true);
    Document doc = builder.build(filename);
    Element root = doc.getRootElement();
    List children = root.getChildren();
    Element thisElement = (Element)children.get(n);
    String name = thisElement.getAttributeValue("name")
    try
         int age = Integer.parseInt(thisElement.getAttributeValue("age"));
    catch (Exception ex)
         throw new InvalidElementException("Expected an int.....");
    }Ben

  • How to get the attribute values out?

    Hi everyone,
    <root>
    <category name="Mens Clothing" id="0">
    <subcategory>Active/Baselayer Tops</subcategory>
    <subcategory>Active/Baselayer
    Bottoms</subcategory>
    </category>
    <category name="Womens Clothing" id="1">
    <subcategory>aaa</subcategory>
    <subcategory>bbb</subcategory>
    </category>
    </root>
    How to get the attribute values out? For example "Mens
    Clothing" and "Womens Clothing".
    // the line below returns "Active/Baselayer Tops" and
    "Active/Baselayer Bottoms"
    var myXml:XML = new XML(event.result);
    Thanks,
    May

    Here is attribute identifier operator from FB Help:
    @ attribute identifier Operator
    Usage myXML.@attributeName
    Identifies attributes of an XML or XMLList object. For
    example, myXML.@id identifies attributes named id for the myXML XML
    object. You can also use the following syntax to access attributes:
    myXML.attribute("id"), myXML["@id"], and myXML.@["id"]. The syntax
    myXML.@id is recommended. To return an XMLList object of all
    attribute names, use @*. To return an attribute with a name that
    matches an ActionScript reserved word, use the attribute() method
    instead of the @ operator.
    Operands attributeName:* — The name of the attribute.
    Example
    How to use examples
    The first example shows how to use the @ (at sign) operator
    to identify an attribute of an element:
    var myXML:XML =
    <item id = "42">
    <catalogName>Presta tube</catalogName>
    <price>3.99</price>
    </item>;
    trace(myXML.@id); // 42The next example returns all attribute
    names:
    var xml:XML =<example id='123' color='blue'/>
    var xml2:XMLList = xml.@*;
    trace(xml2 is XMLList); // true
    trace(xml2.length()); // 2
    for (var i:int = 0; i < xml2.length(); i++)
    trace(typeof(xml2
    )); // xml
    trace(xml2.nodeKind()); // attribute
    trace(xml2
    .name()); // id and color
    } The next example returns an attribute with a name that
    matches a reserved word in ActionScript. You cannot use the syntax
    xml.@class (since class is a reserved word in ActionScript). You
    need to use the syntax xml.attribute("class"):
    var xml:XML = <example class='123'/>
    trace(xml.attribute("class"));

  • How to get zclass attribute's value inside  "Execute_default" method

    Hi all,
    I am displaying a link in UD step under "Objects & Attachmnents".I am using zclass. I created a attribute in zclass and i am creating a instance (background task) before this UD step and i will be setting a attribute of the zclass inside this create instance method.
    My problem is, if i click the link, this method "BI_OBJECT~EXECUTE_DEFAULT_METHOD" is getting executed but i am not able to get the attribute value inside this method, eventhough i am setting the attribute value before the UD step.
    Pls let me know, how to get the attribute's value inside "Execute_default" method, as i need to process further using this attribute.
    P.S: I tried with both static & instance attribute. I can achieve the same using ZBO but my client needs to use only class.
    -Vinoth
    Edited by: S Vinoth on Jan 29, 2010 7:23 AM

    Lei,
    If you are concerned only about a couple of attributes, then you can manage with a separate copy of the data. But if the data is in bulk, better leave it to pl/sql side of validation.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to get to attributes of a particular infoobject from Portal

    Hello all,
    When we create a query and have a infoobject lets say 0EMPLOYEE in free characteristics. When we open the query in  analyzer (RRMX) we can see the attributes related to that infoobject. In RRMX, 0EMPLOYEE -> right mouse click -> Properties -> general tab and attribute tab. From here we can choose the attributes we want and get populated in the report.
    How do we achieve the same thing in Portal, When i right mouse click on 0EMPLOYEE -> Properties -> characteristics -> all I see is data formatting options.
    So how do I get the attributes functionality in Portal, is it somewhere else that I am seeing or is it done some other way.
    We are working on NW2004s, SP08.
    Thanks,
    Kiran

    Hi Heike,
    Do you know which Service pack this limitation will be solved?
    I saw another issue with the attribute. In query Designer, if I drag an attribute to the row and execute in web runtime/Bex analyzer, the attribute does not appear in the report at all. Is this also a limitation?
    Please let me know if you have any information on this.
    We are on SPS 7/FEP 7.
    Thankyou,
    -Sini

  • How to find view attribute is from entity attribute programatically

    Guys,
    How to find if a specfic view attribute is from entity attribute programatically?

    Hi,
    ViewObject --> get AttributeDef("name of attribute")
    http://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/StructureDef.html#getAttributeDef_int_
    AttributeDef --> getAttributeKind
    http://docs.oracle.com/cd/B14099_19/web.1012/b14022/oracle/jbo/AttributeDef.html
    If this matches AttributeDef.ATTR_ENTITY_DERIVED then the attribute is entity based
    Frank

  • How to get all attributes of a component

    Hi all,
    In a component I'm trying to get attributes of some primefaces components, but somehow I cannot retrieve them all.
    Here's a little bit of a table:
              <p:dataTable styleClass="ptable100" title="${msg.contractlist_title}" id="contractlistTable" var="contract" value="#{contractList.contracts}" width="100%" height="200px"
                        emptyMessage="#{msg.all_lists_no_records_found}" paginator="#{contractList.rowSize > 10}" rows="10" rowsPerPageTemplate="5,10,20,50,100"
                        paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}  #{msg.all_lists_numberOfRowsDisplayed_label}{RowsPerPageDropdown}">
                   <p:column id="column_id" resizable="true" sortBy="#{contract.id}" style="white-space:normal">
                      <f:facet name="header"><h:outputText styleClass="headerText" value="#{msg.contractlist_contract_id}" /></f:facet>
                         <h:outputLink value="#{path.dynamicUrl}contract/detail.xhtml" onclick="Richfaces.showModalPanel('busy_nav');">
                             <h:outputText value="#{contract.id}"/>
                             <f:param name="contractid" value="#{contract.id}" />
                         </h:outputLink>
                  </p:column>Then, I try to get the attributes like this (where table is the UIData component):
              String title = "";
              System.out.println("table.getAttribs.keys= " + table.getAttributes().keySet());
              System.out.println("table.getAttribs.vals= " + table.getAttributes().values());
              if (table.getAttributes().containsKey("title")) {
                   title = String.valueOf(table.getAttributes().get("title"));
              }The function getAttributes() is implemented on UIComponentBase so I believe it's independent of the component.
    This prints the following:
    table.getAttribs.keys= [com.sun.facelets.MARK_ID]
    table.getAttribs.vals= [5756abfa]When I do the same for the columns, all attributes I get is MARK_ID, style and styleClass.
    Obviously I'd like to get all attributes, in this case the "title" on the p:dataTable.
    Any thoughts why this isn't working and how I could do that?
    Thank you,
    Steven

    Hi all,
    In a component I'm trying to get attributes of some primefaces components, but somehow I cannot retrieve them all.
    Here's a little bit of a table:
              <p:dataTable styleClass="ptable100" title="${msg.contractlist_title}" id="contractlistTable" var="contract" value="#{contractList.contracts}" width="100%" height="200px"
                        emptyMessage="#{msg.all_lists_no_records_found}" paginator="#{contractList.rowSize > 10}" rows="10" rowsPerPageTemplate="5,10,20,50,100"
                        paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink}  #{msg.all_lists_numberOfRowsDisplayed_label}{RowsPerPageDropdown}">
                   <p:column id="column_id" resizable="true" sortBy="#{contract.id}" style="white-space:normal">
                      <f:facet name="header"><h:outputText styleClass="headerText" value="#{msg.contractlist_contract_id}" /></f:facet>
                         <h:outputLink value="#{path.dynamicUrl}contract/detail.xhtml" onclick="Richfaces.showModalPanel('busy_nav');">
                             <h:outputText value="#{contract.id}"/>
                             <f:param name="contractid" value="#{contract.id}" />
                         </h:outputLink>
                  </p:column>Then, I try to get the attributes like this (where table is the UIData component):
              String title = "";
              System.out.println("table.getAttribs.keys= " + table.getAttributes().keySet());
              System.out.println("table.getAttribs.vals= " + table.getAttributes().values());
              if (table.getAttributes().containsKey("title")) {
                   title = String.valueOf(table.getAttributes().get("title"));
              }The function getAttributes() is implemented on UIComponentBase so I believe it's independent of the component.
    This prints the following:
    table.getAttribs.keys= [com.sun.facelets.MARK_ID]
    table.getAttribs.vals= [5756abfa]When I do the same for the columns, all attributes I get is MARK_ID, style and styleClass.
    Obviously I'd like to get all attributes, in this case the "title" on the p:dataTable.
    Any thoughts why this isn't working and how I could do that?
    Thank you,
    Steven

  • How to get the value from another report Customizes Form

    Dear all,
    I create a report such as
    select * from mytable.table1
    where field1 = :bind_variable
    I create a menu to run this Customized Form and user have to select the bind_variable values. So I have another report created which also want this bind_variable as it WHERE Clause. But I don't want my user to key the same bind variable twice. They can just same the Customized Form and run for both report.
    Could anybody know how to get the bind_variable on 1st report and used by the 2nd report.
    Thank you very much.
    Best Rgds,
    SL Voon

    Hi,
    are you on BI7.0? There you can create variables type replacement path and get the value out from a different variable without any coding.
    regards
    Cornelia

  • How to get the attribute...?

    well im trying to create JTable from a vector which will contain random Objects from random classes haveing random number of attributes for example:
    class x{
    int id;
    String name;
    String surname;
    class y {
    String title;
    String author;
    etc.
    like i said i have a vector of such objects and wanna make a JTable from it... i tried to make it like this:
    JTable table = new JTable(vector a, vector b)
    but i get nullpointer exception because (i supose) vector b had objects of class x and it cant be converted somehow to JTable rows...
    so im trying to make an array[][] which should contais all objects with all attributes of one of those classes
    well i dont know if u will understand what im talking about cause my english sux...
    anyway the problem is that:
    lets say i have a vector containing:
    new x(1,"a","b")
    new x(2,"x","y")
    etc
    lets say my vector is v
    how to get gor example any string from first object?
    i had something like this:
    v.get(i).getClass().getFields()[k]
    where:
    - i is the i element in vector
    - k is the attrribute which i wanna get
    i tried many combinations (after i get Field) but all i get was something like:
    java.lang.reflect.Field
    or
    java.lang.String
    and i want to get for example "a" not a type:/
    plz helkp me if u can or tell me how to do something like this in other way:/
    thx alot for all answers...

    well it is not a Swing problem...
    maybe u dont understand the problem...
    lets say i have a class
    Person{
    int id;
    String name;
    String surname;
    and the array in main:
    Person[] people;
    lets say that there is 100 people...
    and i wanna to outprint first person surname BUT without useing Person class methods...
    so i should do something like
    System.out.pintln(""+
    Person[1].getClass().... <--> and what next?
    in other words how to get and outprint a String attribute from java.lang.Class

  • How to get the Attributes of the UNIX  file Directories  ?

    Hi Guru,
    How to find of the Attributes of the UNIX  file Directories in sap  TC  :-   u2018 *ZZWT*u2019   .
    The file attribute details need to show in the report.
    I try on FM : EPS_GET_FILE_ATTRIBUTES
                       /SDF/GET_FILE_INFO
    But not getting the attributes details.
    If any idea plz. Help me.
    Regards,
    Subash

    Which basis release do you use?
    From 7.0 you have [GET DATASET|http://help.sap.com/abapdocu_70/en/ABAPGET_DATASET.htm] statement
    Before, you may only get what you see in AL11 : mimic what is in program RSWATCH0
    Or you may register and use [UNIX commands (SM69 transaction / SXPG|http://help.sap.com/saphelp_nw70/helpdata/en/fa/0971e1543b11d1898e0000e8322d00/frameset.htm]) and get the results
    Edited by: Sandra Rossi on Aug 2, 2009 12:39 AM

  • How to get / view Java Sound source code

    Hi All,
    I'm curious to view the Java Sound source code, is that possible? Let me know what I have done so far,
    1. In eclipse I have mapped the src.zip from the JDK directory, now I am able to view most of the source code.
    2. When I try to view AudioSystem.getProviders method it returns value from JDK13Services.getProviders
    But I dont have source code for JDK13Services class, indeed i don't have com.sun.media package source code, in the src.zip
    Do anyone know how to get com.sun.media package source code?
    Thanks in advance,
    Karthikeyan R

    It appears that the 3rd entry of this search
    [http://www.google.com/search?q=JDK13Services]
    give both the javadoc and source for JDK13Services, as follows:
    [http://www.docjar.org/docs/api/com/sun/media/sound/JDK13Services.html]
    The other search listings appear to contain useful information, also.

  • How to get/view document number for KP06 Planning upload

    Hi,
    I have uploaded excel for Cost center/cost element Planning in KP06 using exccel planning.Now i want the document number which for which i have posted in KP06-Plan values using excel upload.
    Kindly advice me how to get the document number for CO-OM(Cost center/Cost element planning) in KP06?
    Thanks
    Supriya

    Hello,
    Please execute report KSBL. It should be useful.
    Regards,
    Ravi

Maybe you are looking for

  • Do I build my site in Edge or Muse?

    I am new at this and don't know anything about writing code. I am using PhotoShop CS6, Edge, and Muse to build a website. I have built a 60 second, interactive home page but I don't know how to make the navigation buttons work for other pages that I

  • Streaming Windows Media Player Issues

    So I've searched all of support and to the best of my knowlege i can't find anything. I did find one thread that said to download Flip4Mac but that will not work for me. I am currently in my T-Mobile account trying to listen to some playback music on

  • VOFM : formula for condition type variant wise

    Hi All, In Pricing condition we have two variants and the example is as follows. ZLOL C 450.00 INR 1 EA 1,350.00 INR 1 EA 1 EA ZLOL D 250.00 INR 1 EA 750.00 INR 1 EA 1 EA Formula : XKWERT = xkomv-kbetr * xkomv-kumne We have applied the above said for

  • Finding the serial number

    How do you find the serial number of an iPod if you've lost it? I was hoping I could find it in iTunes but it won't display the information unless the iPod is connected. Is the serial number in a file somewhere?

  • Periodic CPU spikes in Solaris 8

    I am having a very strange problem that I cannot seem to figure out. I have a very simple client/server app that uses Corba (TAO ORB) between two Solaris 8 machines. I was running some performance test and found that about every 10 minutes my applica