How to return list of lowest level elements in a hierarchy given the node o

We would like to return a list of the lowest level Elements in a Hierarchy from a given node of the hierarchy.  The level of the node that is given to us is unknown, but regardless, we need the ability to return the lowest level elements.  We are trying to find a non-ABAP solution to our needs and trying to use a BEx query as a source for our APD.
In query designer we are able to obtain the correct list when using the Hierarchy and Condition with a Leaf value of '1' to return the lowest level. However,  We have come to learn APDs do no support the BEx hierarchies.  When we de-selected the 'Activate Hierarchy' display in the query, the entire structure under the given node is returned.
Does anybody know of a way to return just the lowest level elements in a hierarchy so we can feed our APD?
Thanks,
Andrea

expac works only with official and unofficial repos, not with the AUR, but it's very nice.
Adding  '-q' should help, grep to weed out false positives.
yaourt -Sa $(yaourt -Ssaq pulse)
works, but
$ yaourt -Sa $(yaourt -Ssaq chrome)
resolving dependencies...
looking for inter-conflicts...
warning: removing 'chromium' from target list because it conflicts with 'chromium-no-sse2'
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: chromium-no-sse2 and chromium-scroll-pixelGs are in conflict
so at least
$ yaourt -Sa $(yaourt -Ssaq chrome|grep google)
is needed.
Edit: Also:
$ LC_ALL=C TZ=GMT0 diff -Naur /usr/bin/pacsearch /usr/local/bin/pacsearch
--- /usr/bin/pacsearch 2014-11-21 11:20:37.000000000 +0000
+++ /usr/local/bin/pacsearch 2014-12-21 08:21:14.758856006 +0000
@@ -84,7 +84,7 @@
my %allpkgs = ();
-my $syncout = `pacman -Ss '@ARGV'`;
+my $syncout = `pacman -Ssq '@ARGV'`;
# split each sync search entry into its own array entry
my @syncpkgs = split(/\n^(?=\w)/m, $syncout);
# remove the extra \n from the last desc entry
@@ -110,7 +110,7 @@
$allpkgs{$pkgfields[1]} = [ @pkgfields ];
-my $queryout = `pacman -Qs '@ARGV'`;
+my $queryout = `pacman -Qqs '@ARGV'`;
# split each querysearch entry into its own array entry
my @querypkgs = split(/\n^(?=\w)/m, $queryout);
# remove the extra \n from the last desc entry
$ /usr/local/bin/pacsearch pulse
libpulse
pulseaudio
libao
libcanberra-pulse
libpulse
paprefs
pavucontrol
pulseaudio
pulseaudio-alsa
floyd
libcec
mate-media-pulseaudio
mate-settings-daemon-pulseaudio
ponymix
projectm-pulseaudio
Although why not simply use pacman or expac?
Last edited by karol (2014-12-21 08:26:48)

Similar Messages

  • How to confine various level of planning in to limited and lowest level of planning in DP by the users

    Hi Gurus,
    May I know the various methods to confine planning level at the lowest level and re-define the Primitive methods where  business currently uses in excel sheet and plans at all level into demand planning with a minimum and lowest level by which the business reduces manual work and increases visibility and planning.
    Example: Business currently plans at customer Hierarchies  which has about 6 levels, product has Hierarchies at 5 levels, location hierarchies at 3 level in excel sheet and on monthly level for an year and then quarterly for 2 years and yearly basis  for one year. This we need to confine to lowest level of customer, product and location.
    HEIRARCHY LEVEL
    PRODUCT
    CUSTOMER
    LOCATION
    LEVEL
    P0
    C0
    L0
    HIGHEST
    1
    P1
    C1
    L1
    2
    P2
    C2
    L2
    3
    P3
    C3
    L3
    4
    P4
    C4
    SOLD-TO
    5
    P5
    C5
    6
    P6
    CUSTOMER
    LOWEST
    SKU
    PLANNING LEVEL
    PRODUCT
    CUSTOMER
    LOCATION(DISTRIBUTION CHANNEL)
    HEIRARCHY LEVEL
    P6
    C5
    L3
    LOWEST LEVEL
    WHERE
    P6
    SKU
    C5
    CUSTOMER
    L3
    SOLD-TO- PARTY
    CVC
    P6_C5_L3
    So in this case, the cvc are created at lowest level of planning, at P6_C5_L3.
    Now how to convenience the business that they need to do the planning at this level for planning, as the rest levels will be aggregated automatically in demand planning.
    Is the grouping level place a major role? if so how to do that as the business says for some products they do at p4_c2_L1 level for some they do at P5_C4_L2 level.
    Could someone guide us in giving some solution which ease the business need of planning at any level. Hope you have understood my requirement by the above example. If not do let me know, so that I may try to inform by further details. Thanks in advance.
    Praveen

    Praveen,
    Not really sure what the question is.  You say you want to 'confine' planning to the most detailed level, but you also want to support planning at an intermediate level.
    No matter.  DP transparently supports planning at any/all levels simultaneously.  Data in DP is always stored at the detail level, no matter which level (or combination of levels) the forecast is entered at.
    Creation of the Demand Forecast - SAP Library
    Best Regards,
    DB49

  • How to Return List of Packages from Pacman/Yaourt Search

    ----EDIT----
    Changed the name of the script from pacsearch to pacdot.
    Apparently yaourt -Ssaq does this, so this script isn't as necessary as I thought. Although, I still find using pacdot -w to open the results in a text document helpful.
    ----/EDIT----
    This isn't a question; it's a script I wrote. I thought someone else might find this useful.
    I keep finding myself searching with pacman or yaourt and wishing I could get just the package names, not all of the extra stuff. For example, I'd love to be able to run yaourt -Sa $(yaourt -Ssa package). It doesn't seem like pacman and yaourt have an option for this (not that I can tell, at least), so I wrote a python script to do it. Copy it if you'd like. You can name it what you want, but I'll refer to it as pacdot.py.
    pacdot.py package will be like yaourt -Ssa package but only list the package names.
    I added a few extra options:
    pacdot.py -o package will only list results from the official Arch repositories, not the AUR.
    pacdot.py -i package will install all the found packages. If you've ever thought about running something like yaourt -Sa $(yaourt -Ssa package), that's what this command does.
    pacdot.py -w package will:
    Create a file called 'the-package-you-searched.txt',
    Write an example command that would install the found packages,
    (yaourt -Sa all-of-the-results),
    Write each result on a new line, and
    Open the file for you (with your default text editor).
    Here's the code:
    #!/bin/python3
    import argparse
    import re
    from subprocess import Popen, PIPE, call
    from collections import deque
    desc = ''.join(('Search the official Arch and AUR databases ',
    'and return package names only. ',
    'e.g.: `pacdot.py arch` will return "arch", ',
    'whereas `$ yaourt -Ssa arch` will return ',
    '"community/arch 1.3.5-10',
    ' A modern and remarkable revision control system."'
    parser = argparse.ArgumentParser(description=desc)
    parser.add_argument('package',
    help='Package to search with pacman')
    parser.add_argument('-o', '--official', action='store_true',
    help='Search official repositories only, not the AUR')
    parser.add_argument('-i', '--install', action='store_true',
    help='Install found packages')
    parser.add_argument('-w', '--write', action='store_true',
    help='Write to file')
    #Set args strings.
    args = parser.parse_args()
    pkg = args.package
    official_only = args.official
    install = args.install
    write = args.write
    # Do yaourt search.
    package_search = Popen(['yaourt', '-Ssa', '%s' % pkg], stdout=PIPE).communicate()
    # Put each found package into a list.
    package_titles_descs = str(package_search[0]).split('\\n')
    # Strip off the packages descriptions.
    package_titles = [package_titles_descs[i]
    for i in range(0, len(package_titles_descs), 2)]
    # Remove empty item in list.
    del(package_titles[-1])
    # Make a separate list of the non-aur packages.
    package_titles_official = deque(package_titles)
    [package_titles_official.remove(p)
    for p in package_titles if p.startswith('aur')]
    # Strip off extra stuff like repository names and version numbers.
    packages_all = [re.sub('([^/]+)/([^\s]+) (.*)',
    r'\2', str(p))
    for p in package_titles]
    packages_official = [re.sub('([^/]+)/([^\s]+) (.*)',
    r'\2', str(p))
    for p in package_titles_official]
    # Mark the aur packages.
    # (Not needed, just in case you want to modify this script.)
    #packages_aur = packages_all[len(packages_official):]
    # Set target packages to 'all' or 'official repos only'
    # based on argparse arguments.
    if official_only:
    packages = packages_official
    else:
    packages = packages_all
    # Print the good stuff.
    for p in packages:
    print(p)
    if write:
    # Write results to file.
    filename = ''.join((pkg, '.txt'))
    with open(filename, 'a') as f:
    print(''.join(('Yaourt search for "', pkg, '"\n')), file=f)
    print('To install:', file=f)
    packages_string = ' '.join(packages)
    print(' '.join(('yaourt -Sa', packages_string)), file=f)
    print('\nPackage list:', file=f)
    for p in packages:
    print(p, file=f)
    # Open file.
    call(('xdg-open', filename))
    if install:
    # Install packages with yaourt.
    for p in packages:
    print(''.join(('\n\033[1;32m==> ', '\033[1;37m', p,
    '\033[0m')))
    Popen(['yaourt', '-Sa', '%s' % p]).communicate()
    Last edited by GreenRaccoon23 (2014-12-22 19:17:37)

    expac works only with official and unofficial repos, not with the AUR, but it's very nice.
    Adding  '-q' should help, grep to weed out false positives.
    yaourt -Sa $(yaourt -Ssaq pulse)
    works, but
    $ yaourt -Sa $(yaourt -Ssaq chrome)
    resolving dependencies...
    looking for inter-conflicts...
    warning: removing 'chromium' from target list because it conflicts with 'chromium-no-sse2'
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: chromium-no-sse2 and chromium-scroll-pixelGs are in conflict
    so at least
    $ yaourt -Sa $(yaourt -Ssaq chrome|grep google)
    is needed.
    Edit: Also:
    $ LC_ALL=C TZ=GMT0 diff -Naur /usr/bin/pacsearch /usr/local/bin/pacsearch
    --- /usr/bin/pacsearch 2014-11-21 11:20:37.000000000 +0000
    +++ /usr/local/bin/pacsearch 2014-12-21 08:21:14.758856006 +0000
    @@ -84,7 +84,7 @@
    my %allpkgs = ();
    -my $syncout = `pacman -Ss '@ARGV'`;
    +my $syncout = `pacman -Ssq '@ARGV'`;
    # split each sync search entry into its own array entry
    my @syncpkgs = split(/\n^(?=\w)/m, $syncout);
    # remove the extra \n from the last desc entry
    @@ -110,7 +110,7 @@
    $allpkgs{$pkgfields[1]} = [ @pkgfields ];
    -my $queryout = `pacman -Qs '@ARGV'`;
    +my $queryout = `pacman -Qqs '@ARGV'`;
    # split each querysearch entry into its own array entry
    my @querypkgs = split(/\n^(?=\w)/m, $queryout);
    # remove the extra \n from the last desc entry
    $ /usr/local/bin/pacsearch pulse
    libpulse
    pulseaudio
    libao
    libcanberra-pulse
    libpulse
    paprefs
    pavucontrol
    pulseaudio
    pulseaudio-alsa
    floyd
    libcec
    mate-media-pulseaudio
    mate-settings-daemon-pulseaudio
    ponymix
    projectm-pulseaudio
    Although why not simply use pacman or expac?
    Last edited by karol (2014-12-21 08:26:48)

  • How to return List or Array from Web Service without using ADF?

    All,
    I would like to know how to do this before I use ADF. Sounds like a simple thing to do - common even - but I haven't found a solution in existing postings. My attempts have failed though I'm not sure exactly why.
    I have created a declarative WS that takes a single parameter and tries to return a List<Employees> resultset. My Sample Java Client works just fine. When I change the result type from List to String[], for example, it also works fine.
    What am I doing wrong??
    Thanks
    package wizard;
    (imports removed for readability)
    @WebService(name = "MyWebService1", serviceName = "MyWebService1", portName = "MyWebService1SoapHttpPort")
    @Deployment(restSupport = true)
    public class HelloWorld {
    List<Employees> employees = null;
    public HelloWorld() {
    public List<Employees> sayHello (String s) {
    try {
    final Context context = getInitialContext();
    ATOABPFacade aTOABPFacade = (ATOABPFacade)context.lookup("ATOABPFacade");
    employees = aTOABPFacade.queryEmployeesFindByName(s);
    return employees;
    } catch (Exception ex) {
    ex.printStackTrace();
    return employees;
    private static Context getInitialContext() throws NamingException {
    return new InitialContext();
    Trace:
    Ready message received from Oc4jNotifier.
    Embedded OC4J Server startup time: 24063 ms.
    Target URL -- http://localhost:8988/JPA-Wizard-context-root/mywebservice1soaphttpport
    Feb 18, 2008 7:42:49 PM com.evermind.server.ServerBase log
    WARNING: JPA-Wizard-webapp: Error preloading servlet
    javax.servlet.ServletException: java.lang.NullPointerException
         at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:186)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2674)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5162)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5085)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5275)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1357)
         at com.evermind.server.http.HttpApplication.init(HttpApplication.java:873)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:699)

    Gi,
    not sure what you are doing there, but you can build the J2EE WebService from your working POJO, and create a Web Service proxy class from the WSDL description (of the deployed or local WSDL file). Then, using the proxy class, you can access the output of the WebService.
    Frank

  • How to Find G/L or Cost Element When Plant is given

    Hi Guru
    The problem is that I know the plant Now I want to know G/L A/c which is associated with this plant.I have tried table csks but plant coloumn was blank. I tried out OKB 9 and KSB1 but it also does not provide me the appropriate answer immediately.
    So can anyone please assist me
    My mail id :- [email protected]

    Hi,
    - plant is normally assigned to a company code and not a GL account
    - materials with in a plant are assigned to a valuation class which in turn is assigned to a GL account via OBYC.
    Rgds.

  • List items as grouped elements

    Hi,
    In 'Select List Item' , I want to display list items as grouped elements. Assume that grouping the child items based on its master code.
    Eg: [ Fruits ]
    Apple
    Orange
    Goa
    [ Animals ]
    Tiger
    Lion
    Elephant
    [ Birds ]
    ...... etc
    How can I do it?
    Regards
    Mohan

    Mohan wrote:
    In 'Select List Item' , I want to display list items as grouped elements. Assume that grouping the child items based on its master code.
    Eg: [ Fruits ]
    Apple
    Orange
    Goa
    [ Animals ]
    Tiger
    Lion
    Elephant
    [ Birds ]
    ...... etc
    How can I do it?The select list item must generate HTML <tt>optgroup</tt> elements, via an item plug-in or some other technique, e.g.
    {thread:id=1115902}
    {message:id=4516761}

  • Returning List String or String[][] in JNI

    Hi,
    I am calling a native function in C++ from Java which has to return List<String> or String[][]. Is this possible?
    The java declaration is - private native List<String> GetListNative();
    In C++ the declaration is:
    JNIEXPORT jobject JNICALL Java_com_GetListNative
    (JNIEnv *env, jobject obj);
    Please help!
    Thanks in advance...
    Message was edited by:
    arjundg

    try treating String[][] as array of arrays of strings
    I mean consider your 2D array as a 1D array and each of its elements is an array of Strings
    I think this will work

  • How can i see my ink levels

    how can i see my ink levels on my printer PHOTOSMART 5510

    From the home screen of the printer you can press the right arrow button, and then press on the third icon that looks like ink. This will then display the estimated ink levels.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • Aggregation at the lowest level in the cube

    Hi guys
    I designed very simple test cube with one dimension (both MOLAP driven).
    The dimension PRODUCT consists of three levels:
    - Group
    - Category
    - Product_detail
    PRODUCT_SRC table to load PRODUCT dimension:
    PR_GROUP_NAME PR_GROUP_ID PR_CATEGORY_NAME PR_CATEGORY_ID PR_DETAIL_NAME PRODUCT_DETAIL_ID
    dairy 1000 yoghurts 1000000 yoghurt_1 1000000000
    dairy 1000 yoghurts 1000000 yoghurt_2 1000000001
    dairy 1000 yoghurts 1000000 yoghurt_3 1000000002
    candy 1001 cookies 1000001 cookies_1 1000000003
    candy 1001 cookies 1000001 cookies_2 1000000004
    candy 1001 cookies 1000001 cookies_3 1000000005
    beverages 1002 juices 1000002 juice_1 1000000006
    beverages 1002 mineral water 1000003 mineral_water_1 1000000007
    beverage 1002 energy drink 1000004 energy_drink_1 1000000008
    The cube SALES has one measure:
    - Value_of_sales (sum aggr)
    SALES_SRC table to load SALES cube:
    VALUE PROD_ID ID
    1236 1000000002 2
    115 1000000006 3
    1697 1000000005 4
    12 1000000004 5
    168 1000000008 6
    1984 1000000005 7
    9684 1000000004 8
    84 1000000002 9
    8 1000000007 10
    498 1000000006 11
    4894 1000000008 12
    4984 1000000004 13
    448 1000000003 14
    4489 1000000004 15
    13 1000000001 16
    879 1000000004 17
    896 1000000006 18
    4646 1000000007 20
    I created the dimension PRODUCT and a mapping which loaded the data into the dimension. It worked perfectly. The hierarchy was created as I expected.
    Then I created cube SALES and a mapping which should load the data into the cube. It is very very simple mapping - there were just only two items on the canvas:
    - SALES_SRC table
    and
    - SALES cube
    and two lines:
    - from SALES_SRC.VALUE to SALES.VALUE_OF_SALES
    - from SALES_SRC.PROD_ID to SALES.PRODUCT_NAME
    Then I deployed everything and ran mapping, which loaded cube. But in my opinion the cube was not populated in a proper way, because it was no aggregation performed at the lowest level of product hierarchy - there was only a value of the first occurence of certain product. I mean:
    In SALES.SRC we have for instance:
    VALUE PROD_ID ID
    1236 1000000002 2
    84 1000000002 9
    For me the the value in the cube should be 1236 + 84 = 1320, but the value in the cube at PRODUCT_DETAIL_LEVEL for yoghurt_3 is only 1236 - first occurence of this product in SALES.SRC.
    Why hasn't been the data aggregated at lowest level of PRODUCT dimension hierarchy - is it the way OWB does such things?
    Should I manually aggregate the data before loading to cube (just to use Aggregator to aggregate the data at lowest level)? If yes - what about incremental loading of data to cube (the old value value is simply replaced by new one and not summed in the cube)
    In data warehouse solutions of other vendors the cube in such situation is loaded as I expected here.
    I really don't know what to do. I do really appreciate any help from you.
    Thank you in advance
    Peter

    Hi David
    Thank you very much.
    Now I'm sure that I have to aggregate facts by myself at the lowest level of hierarchy in a dimension.
    Regards
    Peter

  • Lowest Level in Dimension

    HI guys
    i have rdbms 9.0.4
    can i define lowest level of dimension that is not the primary key of the dim table ( this field has unique values)
    or the lowest level of dimension should be the primary key of the dimension table.
    thanks alot.
    Brad

    Hi Matt!
    Glad to read you again!
    I agree with you that in this simple example, I should be able to make this a star schema.
    but :
    - on a functional point of view, this date is an attribute of a vehicle, not of an invoice. But let's ignore this.
    - this problem is the same as one we have in another part of the BM, which is much more complex. In this complex BM, I can't use star schemas because it removes some joins we need in order to perform some reports.
    This is why I'm looking for another way to proceed.
    If you have time to spend on the complex BM, here is a simplified description :
    * in the physical layer, I have:
    - a calendar table with multiple aliases to be used with each dates in the following,
    - an invoice header table
    - an invoice detail table
    with
    some header date -> header table -> detail table
    some detail table -> detail table
    * in the logical layer (stars), i have:
    - my calendar dates with their dimensions
    - an invoice dimension table with the two sources (header + detail) + its dimension
    - an invoice header fact table
    - an invoice detail fact table
    header date -> header fact
    invoice dim -> header facts
    invoice dim -> detail facts
    detail date -> detail facts
    I mus be able to query details facts while showing or filtering the header date. In such a configuration, you'll understand it isn't possible as there isn't any relationship between the detail facts and the header date. This is why the header date should be kept as a dimension of the invoice dimension, which is similar to my basic example.
    Unless I went wrong somewhere?
    Thanks!
    Ced.
    Message was edited by:
    ced

  • Cannot drill down from 2nd lowest level to lowest level of hierarchy

    In my item master hierarchy, I cannot drill down from the 2nd lowest level (Product Class) to the lowest level (Item Detail).
    When I add another level between these 2 levels, then I can drill down from Product Class to this new level, but I cannot drill down from this new level to the lowest level.
    Also, if I set the preferred drill path at any level to drill down to the lowest level, it instead drills down to next level down intead of of drilling to the lowest level.
    Any thoughts as to why I would not be able to drill to the lowest level of this hierarchy?
    Thanks,
    Travis

    OK, next check, any security in place on the presentation columns which would make the lowest level column unavailable to the user account?
    Are you running the report as Administrator?

  • How to run mrp and capacity leveling through heuritics.

    Hi,
    How to run mrp and capacity leveling through heuritics.
    What are the setps required for production planning run this thing in the heuritics in pp/ds?
    Regards,
    Sunil

    Sunil,
    APO PP/DS doesn't have a 1-to-1 match for MRP/Cap levelling per se.  There are, though, a limitless number of ways to achieve the results you want.
    Start with a basic PP planning MRP - SAP_PP_002, which will should create all necessary planned orders
    Then try a DS heuristic to schedule your orders according to capacity.  Schedule Sequence SAP001 is a good starting point.  This can be used to schedule your cap relevant work centers such that they fully load the capacity available, similar to cap levelling.
    Rgds,
    DB49

  • Exluding lowest level dimensionmembers from a total report.

    Hi,
    I know this thread might belong in the Discover part of the forum, but based on previous experience it seems that Discoverer for OLAP help is difficult to come by in that part. Also I think this quickly might end up with being a bit more OLAP technical.
    To the issue:
    Say that you have a sales cube with 3 dimensions, time, product and customer.
    The customer dimension has three levels with one standard hierarchy in the following order: Total, customerclass and customertype.
    For the lowest level there is a customertype member thats named "internal". This means that all employees buying from their own company with a special discount is placed under this member.
    Now to the report:
    Using discoverer for Olap, management want two total reports. One where the Internal member is included, and one where it is excluded. This meaning that the initial report should just show the total levels for all dimensions, just with different totals.
    Now I thought of just not include the internal member when you choose different dimensions in the query builder, but as far as I know this would only work for the lowest level. Total and customerclass would still show sums that include the internal level since the cube has aggregated these levels in advance.
    Does anyone a way to work around this?
    some cube facts:
    database version 10.2.0.3. with the OLAP A patch
    cube compressed and partitioned along month, fully aggregated for all levels(except year).
    regards Ragnar

    Rangar,
    Simplicity is in the eye of the beholder, but you should be able to make it work. The details will depend on your source mapping, but I will assume that you have a single dimension star table with three columns, one per level.
    CREATE TABLE CUST
    Total varchar2,
    CustomerClass varchar2,
    CustomerType varchar2
    I'll assume further that the member 'INTERNAL' appears as CustomerType. Define a VIEW on top of the table like this.
    CREATE VIEW CUST_VIEW AS
    SELECT *
    FROM CUST
    WHERE CustomerType != 'INTERNAL'
    Now create two new levels
    TOTAL_EXTERNAL
    CUST_CLASS_EXTERNAL
    Create a new level hierarchy, EXTERNAL_HIER say, that includes the two new levels along with the existing CustomerType level.
    TOTAL_EXTERNAL
    CUST_CLASS_EXTERNAL
    CUSTOMER_TYPE
    Note that even though the CUSTOMER_TYPE level appears in two hierarchies, the members in that level can vary be hierarchy. This is important since it means you do not have to reload the leaf data for the cube.
    Now map the new hierarchy to the three key columns in CUST_VIEW. To do this correctly you need to switch to the "Snowflake Schema" view on the AWM mappings tab. This allows you to explicitly set the parent column for each hierarchy. So, in your new EXTERNAL_HIER hierarchy the parent of CUSTOMER_TYPE is CUST_VIEW.CustomerClass. In your old hierarchy, INTERNAL_HIER say, the parent of CUSTOMER_TYPE is CUST.CustomerClass. If you don't switch to the "Snowflake Schema" view then you will end up with null values for the parent dimension. (I just wasted 45 minutes discovering this fact.)
    You now have two hierarchies and five levels. Your aggregation strategy for the cube should reflect this in some way. If you want full pre-aggregation, then you will need to add the two new levels to the cube. If not, then you are probably set.
    David

  • How to mitigate control at User levels

    Hello Friends,
    Can anyone send me step by step process documentation on how to mitigating control at user levels? I have already run the risk analysis ( Global Conflict roles analysis/risk analysis). So I do have all detail information like control ID , management approver and description,etc.
    It will be highly appreciated on any guidence on this.
    Regards,
    Suvi

    Hi,
    Please follow the below steps to mitigate user.
    1.  once you get the all details ( Mitigation control id, approver id and Monitor id), then select/click on the RAR Mitigation tab-> click on the Mitigated User option->search.
    There is one page is open and then click on ADD button at the bottom of the screen. once you click on add option it will ask the Mitigation control id, user id, Risk id etc... once filled the all required filelds and save. Now successfully applied the moitihation control to the particler user.
    Regrads,
    Arjuna.

  • How can I list all users and their DEFAULT tablespace?

    How can I list all users and their DEFAULT tablespace?
    Peter

    Peter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
    How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
    HTH -- Mark D Powell --

Maybe you are looking for

  • Down Payment Invoice in Sap Business One 2007

    hi   Scenario.   Before Creating Sales Order Advance is taken from customer. Then Sales Order is created .   Before delivery performa invoice is raised indicating Advance & Balance Amount against that Sale Order   Example price = 225000 Taxes = 23410

  • Problem creating a view

    I need some help with a query that I need to use in order to create a view. It's fairly complicated, at least for me. Here is a short summary of the problem: There is a table involved called salesperson. This table has a four digit salespersonid, las

  • Downloading File/Save Problem....Help!!!!

    Hello All, I have written a code to download a Text file from Server to Local Disk.But the problem is that when i click a Button in the JSP page through which the downloading of file is done,opens a Dialouge Box with the "Save To Disk " option select

  • Can i get my iPhone replaced from Singapore which was bought from USA ?

    I bought an Iphone 4 from US which has an extended applecare coverage.... I believe that there is a hardware problem in my iphone.... Can it be replaced in singapore ? As i will be visiting singapore this week...... If NO then what are the options fo

  • Flash buttons + Windows

    how can I make that, when I click on a button in a flash movie that it opens some directory in Windows? tnx