Code combination based hierarchy

Hi,
I am wanting to overlay a code combination based alternative reporting hierarchy in Finance against budgets, balances and journals.
The nature of the overlay is that the first contact is from code combination id (all of the used segments in the chart of accounts) to a parent code / description. Each parent code then has a level number and may have a parent of its own, only linked to the original gl codes through the total chain of parents.
From initial analysis I do not think this is possible using standard functionality - but if anyone thinks overwise - let me know!
My question is, is there a document that I can utilise to perform the analysis on how this could be linked into the existing physical table structure? (i.e. I need to understand the current PK -> FK links in the physical layer to scope the extent of the work)
thanks,
Robert.

Hi,
my requirement is that the hierarchy is multi-leveland joined on all of the six live accounting segments.
So; -
Level 1 - 101.10222.8554.0444.000.00000 (accounting segments) joins to; AAAAA - My analysis code level 1
Level 2 - AAAAA (parent) joins to BBBBB - My analysis code level 2
Note it is the total combination of all the segments which is the requirement, so just because the first segment is 101, this does not mean that all entries with first segment 101 will be this parent, only when in combination with the rest of the segments exactly as above (so one code combination id effectively)
regards,
Robert.

Similar Messages

  • Value based hierarchy 11g question

    Hi,
    in my BMM i've created a level based hierarchy composed of two levels: TOTAL and Audiologist
    Total level is setted as Grand Total level and doesn't have logical columns.
    At audiologist level insted i drag and drop two logical columns: Audiologist Code and Audiologist Name
    Then i created two keys.
    First Key: Audiologist Code - Use to display: None
    Second Key: Audiologist Code and Audiologist Name - Use to display : YES
    Graphically my hierarchy is as follow:
    Total-----
    Audiologist
    Audiologist Code
    Audiologist Name
    Now i would like that if i drill down Total appear simultaneously two columns: Audiologist Code and Audiologist Name.
    Is it possible? I remember that in 10 it was.
    It's quite urgent.
    Thanks

    Based on my experience of OWB10gR2 the option to create a "Value Based" hierarchy is only enabled if you create an AW based OLAP model. If you want to create a ROLAP model then I do not think this is possible.
    Question is why create a ROLAP model when you could get better performance and more powerful analytical features by using a multidimensional model within an analytic workspace.
    Keith

  • OBIEE 11g level based hierarchy

    Hi everyone,
    here is my problem in brief
    I made a level based hierarchy for Products, and I need to show the product name beside the product code in the last level in the hierarchy, the steps i made to reach this is as follows:
    1- making the name and the code columns keys in the last level (in business model).
    2- making the name and the code as display columns (in presentation).
    what happens when i do this it shows only one of them depends on the order in the "display column" area
    My OBIEE version is 11.1.1.6
    is it a bug or something ?
    thanks a lot in advance.

    guys I found a work around for this problem, I made a logical column and i used the this expression:
    "ALM"."Dim Product"."LEVEL_16_NAME" || ' - ' || "ALM"."Dim Product"."LEVEL_16_CODE" , these two columns contains the desc. and the code for the product
    and then I made this column as a key and in the display columns.
    it works as i want but still considered a work around.
    thanks anyway :)

  • Problem when querying OLAP for Value based hierarchy

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

    Hi I have problem when querying OLAP for value based hierarchy , for level based dimension it work fine
    the strange part is if I only put one value, it will work perfectly
    for example if I put only 1 value for that value base hierarchy like CF_HIER::426362, then it will get the correct value for that id 426362
    but if I put multiple value to the list
    CF_HIER::426362
    CF_HIER::424470
    CF_HIER::429073
    CF_HIER::424230
    then only some value will come out correctly, some of them will be 0, I wonder why because if I query using each value, then it show correct value
    for multiple value usually only the top in hirarchy give correct value, but the leaf will give 0, but if I query only the leaf, the leaf will give correct value
    this problem only happen for my value based hierarchy, for the level based hierarchy it work fine both for each value or multiple value in the list
    this is the code how I guery
    ////the "elementIdList" is where the value is (CF_HIER::426362,CF_HIER::424470,CF_HIER::429073,CF_HIER::424230), if I only put single value in this list the query work fine, but if I put multiple value then some value give correct result, some will give 0
    String[] elementIdArr = new String[elementIdList.size()];
              int i = 0;
              for (Long elementId: elementIdList) {
                   String elementIdStr ="";
                   if (hierarchy instanceof MdmLevelHierarchy)
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            level.getName()+dimension.getValueSeparationString()+
                                            level.getName()+"_"+elementId;
                   else
                        elementIdStr = hierarchy.getName()+dimension.getValueSeparationString()+
                                            elementId;
                   elementIdArr[i++] = elementIdStr;
              Source myList = dp.createListSource(elementIdArr);
              result = hierarchy.getSource().selectValues(myList);
         Source joinedSource = measure.getSource();
              joinedSource = joinedSource.join(result );
    is there any suggestion where I'm doing wrong?or is it different between querying value based hier with level based hier?
    thanks

  • ALL level in level based hierarchy

    I want to induce a level ' ALL' for a level based hierarchy. meaning ALL should display at toplevel as one value drilling ALL should come as follows
    Country code ---> country name--> site name--- > site id
    these are 4 columns here... inside a view ( joining 2 tables)
    Thanks prasad

    If you are using OWB, just use a constant operator to load your upper level with ALL. If you are using AWM, create a view on top of your dimension table with a mockup column that would just have ALL as its value.

  • How to get Code Combination Range (Account Range From - Account Range To)

    Hi,
    I have a requirement that I need to get the range of code of combinations based on the parameter (Account Range From & Account Range To) in the query. Please could anyone help how to fetch this value based on the parameter.
    Account Range From (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    Account Range To (7 Segments)
    XXX
    AAAA
    BBBB
    CCC
    000
    YYY
    ZZZZ
    These is the example of value which I will be getting on the Accounting Range From and Accounting Range. Based on this account range, I need to pull records from the GL_CODE_COMBINATIONS table. Any help on this plz?
    Thanks,
    Geno

    I would not use the code_combination_id. That code_combinaition_id is incremented by one for each new account, so unless you happened to create all your accounts in the right sequential order (not likely), then you cannot do a range of FROM code id a TO code id b. Do an SQL against the code combinations table and sort on the segments columns and take a look at the code combination id on each row, and I think you will see that they jump around quite a bit. I think you can only rely on using the segment columns values for doing an account range.
    John Dickey

  • Code Combinations for Segment Hierarchies

    Dear Members,
    I have one question on Hierarchies in GL Accounting Flex fields. I read the documentation on Flexfield hierarchies, in which its said that generally hierarchies are used for only GL accounting flexfields.
    Suppose One of the Accounting Flexfield Segment Value hierarchy structure is like this :
    1000
    _________|_______
    100 200 300
    ____|____ ____|______
    101 102 301 302 303
    _______|______
    303A 303B 303C
    __|__
    303BB
    This hierarchy is not coming properly when i post it so i am explaining it in detail here :
    Parent Child
    1000 ---> 100 200 300
    100 ----> 101 102
    300 ---> 301 302 303
    303 ---> 301A 303B 303C
    303B --> 303BB
    Here 1000 is the parent which has childs and they inturn have childs. This is used maily for reporting purpose in GL. I do not understand how a code combination is generated for the above structure in gl_code_combination table.
    Suppose we have 5 segments in our accounting flexfield structure
    ex: seg1,seg2,seg3,seg4,seg5 and 1000 in the above mentioned structure is seg3.
    how does a combination is generated if we want the information pertaining to 303BB which is the leaf node value in the hierarchy.
    seg1.seg2.seg3.seg4.seg5 --> how does this change if we have hierarchies.
    It would be great if you can help me out in this.
    Thanks
    Sandeep
    Message was edited by:
    user340
    Message was edited by:
    user340
    Message was edited by:
    user340

    Hi :
    1000 is a parent ---> 100 200 300 are chid
    100 is a parent ----> 101 102 are chid
    300 is a parent ---> 301 302 303 are chid
    303 is a parent ---> 301A 303B 303C are chid
    303B is a parent --> 303BB
    Here 1000 is the parent which has childs and they inturn have childs. This is used maily for reporting purpose in GL. I do not understand how a code combination is generated for the above structure in gl_code_combination table.
    seg1,seg2,seg3,seg4,seg5 and 1000 in the above mentioned structure is seg3.
    a combination is generated for every single combination oif child values (child valued should be posting allowed = yes meanwhile parent values should be posting allowed = no) for every segment
    so at the end the combination is created whenever you use child value for every single segment
    if you have rollup groups associated to the parent values, you can define summary accounts and balances are going to be automatically updated for parent values so even you can query onbalances on parent values
    I hope this gives you some light

  • AR Aging Report by Code Combination

    We are on 11.5.10. Our AR invoice has several lines and each line could be against a specific Div/ CC (code combination). Given that we do not have a centralized collection department, we are looking for a aging report by Div/ CC, so that the report can be distributed to the respective Div/ CC for further action.
    Is there a way this can be accomplished using standard AR functionality. If not, any suggestions on how it can been developed would be helpful.
    Thanks - Raj.

    Hello.
    Our AR invoice has several lines and each line could be against a specific Div/ CC (code combination).Does this mean that one of your invoices has more then one Receivable line?
    Octavio

  • To get code combination in transaction screen -AR

    hi all
    i am using r12
    in AR super user -transactions-in the transactions screen -when it is queried say 10000086 in the field Number
    when distributions tab is clicked we get to see a field named GL account eg 701-100001-1000-0101-1220001-000000-0000-0000
    when i see record history for Transactions screen it says RA_CUSTOMER_TRX_PARTIAL_V
    when i see record  history for gl account   RA_CUST_TRX_LINE_GL_DIST_V  but i don't see the code combinations
    how to join RA_CUSTOMER_TRX_PARTIAL_V and RA_CUST_TRX_LINE_GL_DIST_V
    i did join with customer_trx_id but it gives more number of rows
    kindly guide
    thanking in advance

    Do you want sql script to find GL Code Combinations for a AR transaction?
    If yes, following is the query.
    select rcta.trx_number, gcck.concatenated_segments
    from ra_customer_trx_all rcta, ra_customer_trx_lines_all rctla, RA_CUST_TRX_LINE_GL_DIST rctlgd, gl_code_combinations_kfv gcck
    where rcta.trx_number = '<Give your AR Invoice>'
    and rcta.customer_trx_id = rctla.customer_trx_id
    and rctla.customer_trx_line_id = rctlgd.customer_trx_line_id
    and rctlgd.code_combination_id = gcck.code_combination_id;
    If you are looking for something else, please be clear
    Regards,
    Srini

  • Access Sequence for Plant/Tax code Combination  for JTAX

    Dear All
    i want to create a new access sequence for "Plant/Tax code" Combination.
    Please let me know the process for the same
    Regards
    Amey

    Hi,
    Goto- M/05.
    Create the condition table by selecting the fields Plant & Tax code.
    Assign this condition table in the Access sequence JTAX as per ur requirement.
    Create condition records (FV11) by choosing the requirec access sequence.
    Regards,
    Satpal

  • Preaggregation across value based hierarchy dimension in 11g

    Hi All,
    I have created a cube with 6 dimensions in olap 11g. One of those six dimensions has only one hierarchy which is value based hierarchy. I have chosen level based aggregation as I know at what levels exactly users are going to query. When I was going through the dimensions to choose levels to preaggregate I noticed there were no options available for my value based hierarchy dimension ( I could see "all" option for the same case in 10g) then I tried to look for definitions of underlying objects just to make sure it will preaggregate data across my value based hierarchy dimension.
    I found value set corresponding to my value based hierarchy dimension in <CUBE NAME>SOLVEAGGMAP object , which AWM uses to decide which dimension values to preaggregate but if I do rpr on that value set (rp r<CUBE NAME>SOLVE<DIMENSION NAME>_PVSET) it shows NA so my question is can I pre aggregate across value based hierarchy dimension in olap 11g?
    Olap Version: 11.2.0.1
    AWM version: 11.2.0.1
    Thanks

    Even if you know exactly which levels your users will query, percent based precompute (e.g. 30%) may still be faster in practice because queries are returned using 'sparse looping' instead of 'dense looping'. This was the single biggest performance advantage of 11g over 10g.
    But if you still want to use level based precompute, then you should look at the XML template for the cube (as saved by AWM, for example). In it you should find something called PrecomputeCondition. This defines the set of members that are precomputed. Here is an example I just created using the GLOBAL schema
    <PrecomputeCondition>
    <![CDATA[
      "TIME" LEVELS ("TIME"."MONTH", "TIME".CALENDAR_QUARTER, "TIME".CALENDAR_YEAR),
      CHANNEL LEVELS (CHANNEL.TOTAL_CHANNEL, CHANNEL.CHANNEL),
      CUSTOMER LEVELS (CUSTOMER.MARKET_SEGMENT, CUSTOMER.REGION, CUSTOMER.SHIP_TO),
      PRODUCT LEVELS (PRODUCT.CLASS, PRODUCT.FAMILY, PRODUCT.ITEM)]]>
    </PrecomputeCondition>The PrecomputeCondition is also visible through the USER_CUBES view.
    SELECT PRECOMPUTE_CONDITION
    FROM USER_CUBES
    WHERE CUBE_NAME = 'MY_CUBE';You can hand modify this condition in the XML to specify an alternative 'non level based' precompute condition for any dimension. For example, if you define an attribute named 'SHOULD_PRECOMPUTE' on your PRODUCT dimension that is 1 for members to be precomputed and 0 for all others, then you can change the condition as follows.
    <PrecomputeCondition>
    <![CDATA[
      "TIME" LEVELS ("TIME"."MONTH", "TIME".CALENDAR_QUARTER, "TIME".CALENDAR_YEAR),
      CHANNEL LEVELS (CHANNEL.TOTAL_CHANNEL, CHANNEL.CHANNEL),
      CUSTOMER LEVELS (CUSTOMER.MARKET_SEGMENT, CUSTOMER.REGION, CUSTOMER.SHIP_TO),
      PRODUCT WHERE PRODUCT.SHOULD_PRECOMPUTE = 1]]>
    </PrecomputeCondition>If you recreate the cube from the XML with this condition, then the PVSET valueset you discovered should contain all dimension members for which the attribute value is 1.   This gives you complete control over what is precomputed.   Note that AWM doesn't support this form of condition, so it won't show up if you go to the Precompute tab, but it is valid for the server.  The PL/SQL below will modify the PrecomputeCondition (for the cube named MYCUBE) without going through AWM.
    begin
      dbms_cube.import_xml(q'!
    <Metadata
      Version="1.3"
      MinimumDatabaseVersion="11.2.0.2">
      <Cube Name="MY_CUBE">
        <Organization>
          <AWCubeOrganization>
            <PrecomputeCondition>
              <![CDATA[
               "TIME" LEVELS ("TIME"."MONTH","TIME".CALENDAR_QUARTER, "TIME".CALENDAR_YEAR),
               CHANNEL LEVELS (CHANNEL.TOTAL_CHANNEL,CHANNEL.CHANNEL),
               CUSTOMER LEVELS (CUSTOMER.MARKET_SEGMENT,CUSTOMER.REGION,CUSTOMER.SHIP_TO),
               PRODUCT WHERE PRODUCT.SHOULD_PRECOMPUTE = 1]]>
            </PrecomputeCondition>
          </AWCubeOrganization>
        </Organization>
      </Cube>
    </Metadata>
    end;
    /

  • Bapi_Acc_Document_Post - E 018 : Invalid tax code and company code combination

    Hi All,
    I need the help of this forum once again.
    I am using bapi Bapi_Acc_Document_Post to create KR documents in SAP. The bapi works absolutely fine except for one scenario:
    For a particular type of invoice coded to Company "XXXX" with lines having tax code "I0", the bapi returns error message "E 018 : Invalid tax code and company code combination". The tax code "I0" and the company code "XXXX" has been mapped in SAP and if I try to create the invoice manually in SAP using the GUI, the invoice gets created without any issue.
    I have tried searching the forum but could not find any post on this topic.
    Therefore, requesting the masters to please help me out on this.
    Best Regards
    Sutirtha Roy

    Hi Gowthami,
    how have you solved your problem, because I am facing the similiar issue and trying desperately to post the following combination with BAPI_ACC_POST_DOCUMENT:
    001 40       490100     Aufw. aus Marge PP              R2                 15,92
    002 31       10000003   Kreditor                                R2                 15,92-
    003 50       175060     Abzugsverfahren USt            R2                  3,18-
    004 40       154060     Abzugsverfahren Vst             R2                  3,18
    THANX!
    Regards
    Marko

  • Difference in Account Code combination at Transaction and Accounting entry

    Hi All,
    We are working on Subledger Modifications (SLA) for a Client in order to meet few key business scenarios... Even though we were able to achieve the desired outcome through SLA, client is not pleased about the fact, there exists two different account code combinations for a transaction i.e.
    1) The account code combination that is defaulted or entered in the transaction
    2) The account code combination that is used for creating the accounting entry considering the modifications done at SLA.
    There is a difference between the above two, due to modifications carried out in SLA. 
    Since the scope of SLA is limited only to make changes at the Accounting entry level, such variations would exist, however client is not comfortable with such an approach.
    We are performing the SLA changes for three modules:  1) Cost Management 2) Accounts Receivables and 3) Accounts Payables
    If someone has worked on such similar situation in your previous assignments, perhaps you can share how the same was addressed.
    (Such as any customizations, Workarounds, irrefutable justifications etc ..)
    Thanks and Regards,
    Karthikeyan

    Hi,
    Check is there any restrictions are there . the data must be displayes if the data is there in infocube.
    Regards
    sivaraju

  • Parent-child hierarchy (Value based hierarchy)

    As anyone created a parent-child hierarchy using Oracle Warehouse Builder or Analytic Workspace Manager. I am using Oracle 10g Rel2 (and AWM) and OWB 10g Rel2.
    The values in the dimension table defines the hierarchy.
    I don't see an option of creating a value-based hierarchy in OWB though it is mentioned that it supports this particular hierarchy.
    In AWM, I am able to create the hierarchy but when I try to view the data in the dimension it gives an error BIB-9531 Invalid hierarchy specified.
    Can you please let me know if I am missing something.
    Thanks a lot in advance!
    Regards,
    Maruthi

    I've done some work with this, and it hasn't been easy going. There is no built-in ability to form a hierarchy of measure columns, at least nothing that can be predefined as the drill for a fact column. For example: I have 220 details of expense that have an exact arrangement with 5 levels and subtotals. Besides the expense detail there are say 4 dimensions, so the expense detail would be the 5th dimension. I have both arrangements in my rpd: 4D and 5D. They can be used together or separately. The 4D basically has 1000's of measures and there is no relationship between them besides the display arrangement in Answers. The 5D has a 5 column dimension that can drill the expense column from Total_Expense down to the 220 rows of detail expense.

  • Value based hierarchy (parent-child)

    Does anybody have any experience in modeling a parent-child dimension ( value based hierarchy instead of level based ) in OBIEE?
    Swapan.

    I've done some work with this, and it hasn't been easy going. There is no built-in ability to form a hierarchy of measure columns, at least nothing that can be predefined as the drill for a fact column. For example: I have 220 details of expense that have an exact arrangement with 5 levels and subtotals. Besides the expense detail there are say 4 dimensions, so the expense detail would be the 5th dimension. I have both arrangements in my rpd: 4D and 5D. They can be used together or separately. The 4D basically has 1000's of measures and there is no relationship between them besides the display arrangement in Answers. The 5D has a 5 column dimension that can drill the expense column from Total_Expense down to the 220 rows of detail expense.

Maybe you are looking for