VO Transient Attribute referencing the Attribute from another VO

Hi I have an scenario where I have a VO "A" has a transient Attribute say aPeriod, (at any given point the executed VO"A" has only 12 Rows) , I have another VO "B" which when executed gives me exactly 12 Rows with attribute "bPeriod".
I want the 12 Rows of VOA with aPeriod attribute to hold the values from VO"B" attribute bPeriod. Is there any groovy expression / or any View accessor usage which can enable me to resolve this scenario. currently I am achieving this programaticaly by iterating every row of VOA and VOB and assigning aPeriod attribute with bPeriod ( which I am not happy with ).
Please help me if there is any better solution for the same.
Thanks
TK

Thanks for your reply, but there isnt any common attribute between the two VO, I am having VO1.aPeriod attribute has a transient one and VO2 when executed gives me VO2.bPeriod, actually this is a small subset of a bigger scenario.
both VO1 and VO2 are SQL based read only VO. both have same query but both needs two different bind variable bindPeriodVariable = 12 and 24 respectively which returns VO1.xPeriod and VO2.bPeriod, when executed.
I Am supposed to show both VO1.xPeriod and VO2.bPeriod in a single ADF ReadOnly table.
so I thought of having a transient attribute called aPeriod in VO1 and assign it with VO2.bPeriod individually by iterating every row of VO1 and VO2.
I am not pleased with the way I am doing this stuff.
Pls help me with this issue.
Thanks
TK.

Similar Messages

  • Get the value from another node.

    Hi, expert
    In the component BT131I_SLS , I create a enhanced attribute in the node: BT131I_SLS/Details BTADMINI
    Then i define the GET-V method to create a search help for the attribute.
    Now , i want to pass a BP number to the search help function to filter the data.
    We need to get the BP number as below:
    When create a order, we input the product id ,
    then there will be a popup window , we can choose  a vendor in the window.
    The vendor number is the value which we want to pass to the search help.
    How can i do that ?
    Thanks.
    Oliver.

    Hi , expert
    Can i use the 'get_related_entities' to get the value I need?
    I think maybe i can use the method to get the value from another view which is not in my component.
    Now I write codes in the GET-V method, as below:
    method GET_V_ZZZFLD000011.
      DATA:
        LS_MAP    TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING,
        LT_INMAP  TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,
        LT_OUTMAP TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB.
      DATA: LV_PARTNER_NO TYPE CRMT_PARTNER_NUMBER.
      data: lr_current TYPE REF TO if_bol_bo_property_access,
            lr_entity  TYPE REF TO cl_crm_bol_entity,
            lr_col     TYPE REF TO if_bol_bo_col,
            value      TYPE string.
      lr_entity ?= me->collection_wrapper->get_current( ).
      lr_col = lr_entity->get_related_entities( iv_relation_name = 'Relation_Name' ).
      lr_current = lr_col->get_current( ).
    * value =
      LS_MAP-CONTEXT_ATTR = 'EXT.ZZZFLD000011'.
      LS_MAP-F4_ATTR      = 'LGORT'.
      APPEND LS_MAP TO: LT_OUTMAP.
    *  LS_MAP-CONTEXT_ATTR = 'EXT.ZZZFLD000011'.
    *  LS_MAP-F4_ATTR      = 'LANGU'.
    *  APPEND LS_MAP TO LT_INMAP.
      IF SY-SUBRC  = 0.
      ENDIF.
      CREATE OBJECT RV_VALUEHELP_DESCRIPTOR
        TYPE
          CL_BSP_WD_VALUEHELP_F4DESCR
        EXPORTING
          IV_HELP_ID                  = 'ZHELP_ZSAKCDD'
    *      IV_HELP_ID_KIND             = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_COMP
          IV_HELP_ID_KIND             = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
          IV_INPUT_MAPPING            = LT_INMAP
          IV_OUTPUT_MAPPING           = LT_OUTMAP
          iv_trigger_submit           = abap_true
    *      IV_F4TITLE                  = ' '"#    EC NOTEXT
    endmethod.
    But i don't know the Relation_Name which i can get the vender's information.
    Another question : i want to trigger the code 'get_related_entities' when i click the search help,
                                   How can i do that ?
    Thanks.
    Oliver.
    Edited by: oliver.yang on Aug 7, 2009 5:56 AM

  • When I sync a certain cd from a certain band all of the music from another band dissapears and vise versa.

    This problem has perplexed me for quite some time.  I have been trying to find a solution to this for a while now and have had no luck.  The problem I face is that I have trouble getting a cd from one band and all of the music from another band to sync to my ipod touch.  When I do manage to get one of them to sync the other one isn't synced.  I do manage to get the other one to sync but the previous one gets removed from my ipod.  In detail it is the plastic beach album from the gorillaz and a two disc greatest hits set from sublime.  I have no problem syncing other items to my ipod.  Before the last update neither of those items would sync to my ipod.  After the update I managed to get the gorillaz cd to sync but no sublime.  I unchecked the sublime music and resynced my ipod.  Then I checked the sublime music and synced my ipod.  This worked in putting the sublime music on my ipod but for some reason removed the gorillaz albume from my ipod.  When I went through the same process to try and get the gorillaz ablum back on my ipod it removes the sublime music.  I never receive any kind of error message.  I highly doubt apple support is going to help at all because I am using a pc and last time I tried to get help from apple support they tried to get me to start messing with my reg key edit.  That problem I actually ended up fixing with a hard reset so my faith in the apple support hotline has been demolished.  I was hoping there might be someone on here that has run into a similar problem and knows the fix for this.

    I would like to add something to this.  I just discovered tonight that in the case of both the specific cd and the entire sublime music they will be removed each time I sync my ipod.  But if I uncheck them, sync the ipod, then check them again sync the ipod one more time they will the on my ipod.  But upon the next sync the songs will be removed even though they are checked.

  • OBIEE Report - filter based on the result from another analysis

    Hi,
    I am using OBIEE 11g,
    I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
    Table 1
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-01
    14:00
    20:00
    14:00:00
    20:00:00
    2015-03-02
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-07
    14:06
    20:02
    14:00:00
    20:00:00
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    Table 2
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    -3
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    6
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-01
    14:00
    20:00
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-02
    16:00
    20:00
    00:00:00
    00:00:00
    4
    16:00:00
    20:00:00
    4
    2015-03-07
    14:06
    20:02
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    4
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    4

    Why avg here?
    What columns you want to show in the report?
    for a employee for given date if he have 2 rows then you may sum up hours right?
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours

  • How can I import pictures from my iphone to PC which I imported to the iphone from another PC? The folder doesn't show on my computer. I see all other pictures I took with the phone but not the imported folder.

    How can I import pictures from my iphone to PC which I imported to the iphone from another PC? The folder doesn't show on my computer. I see all other pictures I took with the phone but not the imported folder.

    Photos that were synced from a computer won't show for copying to a computer. If you want to copy them back then you will need a third-party app on your phone such as Simple Transfer which can copy them off via your wifi network. But photos are 'optimised' when they are synced to a device, any that you then copy back to a computer may not be exactly the same as they originally were on your computer (e.g. their dimensions might be different and their colours may look a bit different).

  • Variable type Hierarchy, how to get the value from another similar variable

    Hi.
    We have created a variable, type hierarchy (using ORGEH hierarchy in HR based on 0ORGUNIT). Let's call this VAR1. We want to fill this with an User Exit, beacuse we want VAR1 to have the value from another variable, VAR2, which is also type hierarchy (and based on the same characteristic).
    However, when we program this user exit and use the VAR1 afterwards, it just behaves as if we have a single characteristic value and not a node value. As a result, we just get posts which do have the 'parent itself' as characteristic value, and none of the subnodes...  Any hints as to what we can do in our User exit to get the value passed over from VAR2 to VAR1 as a node value? Is there any spesific syntax to be used here that we are missing? ( The VAR1 and VAR2 are both defined as hierarchy variables, we have double checked...).

    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

  • Open the form from another form...

    How can I open the form from another form with the PL/SQL code???
    The my form are create from OracleDesigner and developed with OracleBuilder.
    Regards
    Basilisco Giorgio

    You can read "About calling reports, displays, and other forms from generated forms" topic in the Designer on-line help. By the way in Forms there are CALL_FORM,OPEN_FORM and NEW_FORM built-ins.
    Helena

  • TS4592 I have an ibooks file that when I make a change to a page in one chapter it throws a bunch more pages in at the end of the chapter from another chapter in the book.  Anybody have any ideas what is going on?

    I have an ibooks file that when I make a change to a page in one chapter it adds additional pages at the end of the chapter from another chapter.  Any ideas what is going on and how I can fix this?

    Text  pages?  from what you say you are getting the auto flow function to add pages either because you have  flowing text or because you  have a lot of blank lines as you would if  you  tap return to  move  blank space around.

  • .How to instantiate the innerclass from another class with coded eg.

    How to instantiate the innerclass from another class(both for static & non static) please give me an eg with coding.

    It's just a preference, but I like writing factory methods:
    public class Outer {
        public class Inner {}
        public static class StaticInner {}
        public Inner innerInstance() {
            return new Inner();
        public static StaticInner staticInnerInstance() {
            return new StaticInner();
        public static void main(String[] args) {
            Outer.StaticInner si = Outer.staticInnerInstance();
            Outer outer = new Outer();
            Outer.Inner i = outer.innerInstance();
    }Often, for me, the inner class implements an interface, and the factory method
    lets you hide the implementation class:
    public class Outer {
        private class Inner implements Runnable {
            public void run() {}
        public Runnable runnerInstance() {
            return new Inner();
        public static void main(String[] args) {
            Outer outer = new Outer();
            Runnable r = outer.runnerInstance();
    }

  • TS1389 how to authorize computer in itunes for the purchased from another account

    how to authorize computer in itunes for the purchased from another account ??

    Use that account's Apple ID and password; the procedure is otherwise the same as authorizing it for the first account. If the iTunes library contains protected content from more than five iTunes Store accounts, you may not be able to fully sync it.
    (92807)

  • I updated my 4S iphone and now I am getting all the texts from another iPhone on my plan.  How do I stop this?

    I updated my 4S iPhone and now I am getting all the texts from another iPhone on my plan.  What do I need to do?

    I'm not completely clear on the GSM / LTE network frequencies in US vs Argentina, but I do know that cross-compatibility can be an issue when buying from one country and using in another. Apple products in particular have this problem. What this sounds like to me is that the phone is not compatible with Argentinian networks; or your friend had an AT&T phone and jail-broke it. This is against the end user licensing agreement, and when the phone is next updated is likely to jam the phone.
    Sorry but you lost your money.
    Wasted*

  • HT4061 How do I access the songs I have uploaded to the cloud from another computer?

    How do I access the songs I have uploaded to the cloud from another computer?

    oliversdaniel wrote:
    How do I access the songs I have uploaded to the cloud from another computer?
    So you purchased iTunes Match? Enable iTunes Match on your other device.
    This is the only way to upload.

  • How do I authorize music from the cloud from another computer

    How do I authorize music from the cloud from another computer? PowerBook4 to a Toshiba with Itunes.

    Hi there 7Corydon7,
    You may find the information in the article below helpful.
    iTunes Store: About authorization and deauthorization
    http://support.apple.com/kb/HT1420
    -Griff W.

  • How does the attribute gets the data from R/3 field?

    Hi Experts,
    It could be silly Q.  IO has attributes x, y, z.......  When we map r/3 field to IO, and it is added to the cube and when we create a report, how does the attribute gets data?  I've been working in BW and suddenly I got confused.  Someone please provide me some info
    Thanks,
    Radha

    X,Y,Z being attributes of an info object A.
    When A gets loaded it will be loaded with X,Y,Z.
    If A is a cube and if you wish you can bring X,Y,Z also in the cube in one or more dimensions.
    If you keep X,Y,Z as vag attributes rather than in te cube as dimensions, then , the system will generate SIDs for them.
    Ravi Thothadri

  • Can you register iPhone on one computer, then use the library from another?

    My iTunes store doesn't work on my computer (ive tried to fix it - i think it's a virus on my computer), so what i thought i'd do is register my iPhone through my dads computer, then carry on using the iTunes library from my computer.
    Is it possible to register iPhone on one computer, then use the iTunes library from another computer?

    .

Maybe you are looking for

  • Problem with printing presets in  LR 4

    Printing presets do not reflect perameters I set or update to in HP 9100 shortcut preferences working in Windows Vista.  I have reloaded the HP application and upgraded from LR 4.1 to 4.2 just in case that was the problem.  I do not know if I had the

  • IBook keeps going blank or doesn't turn on

    I have an iBook G4 and it the screen has been going blank but the computer is still on. Sometimes it just won't turn on at all. I have been having to pull out the battery and reset it. I have repaired the permissions and emptied the Cache. Would my b

  • Change PNP standard selection screen attributes

    Hi experts, I need to change the standard PNP selection screen parameter BUKRS into "obligatory". I know it can be done for all reports using PNP through SPRO, but I need it only for one customer report. Best regards, A. Cepa.

  • Why does a secure site eg Paypal or any Bank not show the padlock on entry?

    I have noticed that when I enter a site such as PayPal or my Bank or for that matter any other secure area no padlock is seen anywhere in the browser such as in the previous version of Mozilla and also Internet Explorer. Without this emblem of securi

  • NAKISA Org Modeler additional features

    Hi Experts, We have implemented NAKISA Org Modeler 4 SP 1.  We would like to get insight on below mentioned points and if this can be achieved using standard or by enhancement. 1.       Is there any preferred screen size to view Nakisa Org Modeler (O