Account Hierarchy to BW..

Account hierarchy, how does it gets created in ECC. It is account grouping or financial statement version.
I need to being the account hierarchy to BW.. and trying to know..where the hierarchy data should be pulled from?
Please give your inputs

Resolved

Similar Messages

  • How to Restrict the node level in account hierarchy

    Hi experts,
    I want to restrict the node level in account hierarchy. I attached one example. in that if i click 6000 node again it want to show error message. for one parent node i want to create only two child node. Further if i create means it want to show error msgs and not allow to create the node..
    Regards,
    gopi

    Hi ,
    The component is bp_hier, and method is onnew_node.
    IF lv_tree->is_locked( ) = abap_false.
         lv_tree->lock( ).
       ENDIF.
       CHECK lv_tree->is_locked( ) = abap_true.
       lv_index = typed_context->accounthierarchy->selected_index.
       lv_tree_node = typed_context->accounthierarchy->get_node_by_index( lv_index ).
    *key = lv_tree_node->node_key.
      CALL METHOD lv_api->get_node_parent
         EXPORTING
           iv_node_key        = key
         IMPORTING
           ev_parent_node_key = lv_paent_key
    *      ev_tree_guid       =
    *   lv_parent = lv_tree_node->parent_entity.
    *    typed_context->accounthierarchy->parent_entity.
    CALL METHOD lv_tree_node->get_children
       receiving
         rt_children = rt_child.
       CHECK lv_tree_node IS BOUND.
       lv_tree_node->is_leaf = abap_false.
       TRY.
           lv_proxy_node ?= lv_tree_node.
           TRY.
               lv_object ?= lv_proxy_node->bo.
             CATCH cx_sy_move_cast_error.
               lv_mixed_node ?= lv_proxy_node->bo.
               lv_object ?= lv_mixed_node->if_bsp_wd_ext_property_access~get_model_node( ).
           ENDTRY.
           lv_object_name = lv_object->get_name( ).
           IF lv_object_name = 'BuilHierarchyNode'.
             lv_relation_name = 'BuilHNodeRel'.
           ELSEIF lv_object_name = 'BuilHierarchyHeader'.
             lv_relation_name = 'BuilHeaderNodeRel'.
           ELSE.
             RETURN.
           ENDIF.
           lv_tree_node->get_children( ).
           lv_object = lv_object->create_related_entity( lv_relation_name ).
           lv_child_node = lv_proxy_node->node_factory->get_proxy(
               iv_bo = lv_object
               iv_proxy_type = 'CL_BP_HIER_HIERARCHYTREEV_CN05'
               iv_parent_proxy = lv_tree_node ).
           lv_tree_node->expand_node( ).
           typed_context->accounthierarchy->refresh( ).
           typed_context->accounthierarchy->deselect_all( ).
           lv_child_node->selected = abap_true.
           lv_child_node->is_leaf  = abap_true.
    *accounthierarchy
    *      selectedhierarchynode
           lv_col_wrap = typed_context->selectedhierarchynode->get_collection_wrapper( ).
           lv_col_wrap->clear( ).
    This is the code.
    i wrote . but its not getting.

  • GL Account Hierarchy related issue

    Hi BI gurus,
    The Scenario is like this:-
    We are doing reporting for Profit&Loss based on GL Account Hierarchy (0GL_ACCOUNT).
    The GL Hierarchy have Asset & Liability nodes.
    The problem is that, in BW, regardless of credit or debit values, it will just display the report the same values on both nodes. so certain GL accounts (e.g. Cash Loan) would appear both side of the hierarchy - Asset node and Liability node.
    Is there a way to make it so when we do reporting based on Hierarchy, when the value's Credit, shows on "Asset Node", and Value's Debit will shows on "Liability node"?
    Any advice is greatly appreciated.
    Thanks,
    Vince

    Thanks for the info Yiannis, but I think I've found out the theory for this.
    According to this [http://help.sap.com/saphelp_nw04s/helpdata/en/04/7b95fb42b0f94aba334c0890dbbda4/content.htm|http://help.sap.com/saphelp_nw04s/helpdata/en/04/7b95fb42b0f94aba334c0890dbbda4/content.htm]
    I have read through it, not fully understand how this works yet, but I think should be able to use the following:-
    1. InfoObject 0GLACCEXT (instead of 0GL_ACCOUNT)
    The exception aggregation (balance sheet aggregation) that is in effect here is only possible for the Financial Statement Item characteristic (technical name 0GLACCEXT). The hierarchy table for this characteristic contains a special attribute called Balance-Dependency of a Hierarchy Node (technical name 0BAL_DEPEND), which controls the balance sheet aggregation of the Financial Statement Item characteristic.
    2. Virtual InfoCube  0FIGL_VC1 (will read data from 0FIGL_C01).
    3. There is a balance sheet query available 0FIGL_VC1_Q0001, which displays the balance sheet data the same way as the R/3 report RFBILA00 does.
    [http://help.sap.com/saphelp_sm32/helpdata/en/2d/955a73da4d6d41a0a6128caf274ce8/content.htm|http://help.sap.com/saphelp_sm32/helpdata/en/2d/955a73da4d6d41a0a6128caf274ce8/content.htm]
    Rgds,
    Vince

  • What is the Purpose of Account  Hierarchy Manager

    Dear Members
    Advantages of Account Hierarchy Manager.
    Regards
    Padarthy

    Hi,
    You question is answered in "Oracle General Ledger User Guide", Chapter 7 - The Account Hierarchy Manager.
    Applications Releases 11i and 12
    http://www.oracle.com/technology/documentation/applications.html
    Regards,
    Hussein

  • GL Account Hierarchy

    Hi BW Experts,
    Our's is a BW 3.0B system connected to ECC 6.0. In BW we have a hierarchy defined for GL Account which has GL accounts listed in both Assets & Liabilities. This hierarchy is coming from ECC as designed by functional team. The client requirement is : When the GL Account is active with the hierarchy, it should not display the accounts in both Assets & Liabilities. It should only display the accounts in Assets( if it is an Asset Account) & Liabilities ( if it is a liability account). We are reporting on a multiprovider which has the basic infocube.
    Example:
    GL Account: 10001 - Bank .
    In the GL Account hierarchy, Account 10001 - Bank is under Assets & also Liabilities. Std. report in ECC for Balance Sheet and P/L statement, depending on the Net Amount, it goes under Assets or Liabilities group.
    In BW, when the hierarchy is activated for the report, as the GL Account is manitained in both Assets & Liabilities: it would display the amounts under Assets -for Eg: 100001 - $1000.00
    and also under Liabilities as: 100001 - $1000.00.
    Is there a way to do this kind of reporting? Please let us know if anyone had came across a similar requirement or have a soultion for it.
    Thanks,
    Bala

    Hi Bala,
    I do understand you need. You cannot figure out the issue with GL Account. You definetly need to use 0GLACCEXT characteristic in a virtual infoprovider like 0FIGL_VC1. Then, you would have a chance to build your balance sheet report with hierarchy. This will prevent double assignment of GL account both in Assets and Liabilities.
    Good luck,
    MCA

  • Rollup calculations in Account hierarchy (parent-child type)

    Hi,
    I want to create a parent-child relationship type Account hierarchy using Universe. The hierarchy has to support different set of calculations for roll ups action for different branches in the same level.
    Eg.
          Balance Sheet
              (+)Assets
              (-)Liabilities and Owners Equity
          Net Income
           (+)Operating Profit
           (+)Other Income and Expenses
           (-)Taxes
    Balance Sheet = Assets -Liabilities and Owners Equity
    Net Income = Operating Profit + Other Income and Expenses - Taxes
    Regards, Sujeev

    Measures automatically roll up.
    Whether you define your measure with an aggregate or not, if the projection is set to Sum, it will roll up.
    Measures that are to be summed should have Sum() wrapped round them at the universe level though.
    What you may have is a lot of positive values in your database and no negatives.
    If that's the case, you will need to use a case statement to determine the sign of the value.
    E.g.
    Sum(CASE WHEN Type='Asset' THEN table.value WHEN Type='Liability' THEN -1*table.value ELSE 0 END)

  • Tcode for Maintaining GL Account Hierarchy

    Hi Gurus!
    I just want to ask where can I find the Tcode for Maintaining GL Account Hierarchy in R/3.
    Thanks.

    Hi,
    I guess, there is no Hierarchy as such maintained for G/L Account, in order to create a G/L acct. you can use FS00 t-code, whereas as mentioned in the earlier response you can also check FSE3 t-code for respective assignment of the Financial statements for the 'Assets' and 'Liabilities' followed with the G/L acct.
    Hope it helps..
    assign points if useful..
    Cheers,
    Pattan.

  • ERP G/L Account Hierarchy - Transaction Code

    Hi,
    I'm able to extract GL Account hierarchy from ERP into BI using standard extractor. However, I would like to know the transaction where this GL Account hierarchy is maintained in ERP.
    Could someone please let me know the transaction to maintain GL Account hierarchy in ERP?
    Thanks,
    Sri.

    It is in the OB58 -> Change Financial Statement Versions

  • Debit/Credit Balances and Account Hierarchy

    Hi
    I need to show accounts in the Account Hierarchy according to whether the account has a debit or credit balance. For example, if an account has a debit balance, it must be displayed under debtors and if it has a credit balance, under creditors.
    How can I do this type of reporting in BPC, when the same d/c indicator as in the Financial Statement Version in ERP is not available in BPC?
    Any response appreciated.
    L.

    Hi Lambertus,
    BPC doesn't have something like the financial statement version built in. Neither does BW, actually, but there are business content transformations and queries that use some complex methods to do the kind of reporting you are talking about.
    In BPC I think you are going to need three accounts to accomplish this functionality - one in each branch of the hierarchy (accounts A & B in the example), plus one account that you actually load data into (account C in the example), which will not be displayed in the hierarchy. The two accounts in the hierarchy will either be formula accounts (not ideal) or populated using MDX script logic (better because the values will roll up the hierarchy). Your MDX, either in a formula or a script, would need to look something like this:
    [ACCOUNT].[#A] = iif([ACCOUNT].[C] >= 0, [ACCOUNT].[C], 0)
    [ACCOUNT].[#B] = iif([ACCOUNT].[C] < 0, [ACCOUNT].[C], 0)
    Have I tested this code? No. So buyer beware. But hopefully it sets you on the right track.
    Ethan

  • Error while deactivating Group account hierarchy

    Hi,
    I was executing an adhoc summary report(web report) where in I had to expand group account hierarchy upto node level 8.
    When I tried to deactivate the group account hierarchy ,there is an error messages saying "an error occured during loading.Please look into the upper frame for further information" & "System error in program SAPLRRK0 and form SORTING_PRUEFEN_01-04-..."
    Now I tried to go back to the variable selections from the toolbar, there is one more error message " the internal error is a targetted termination since the program has an incorrect status".
    I executed the same report now Using Bex,
    Using local view I selected group account hierarchy upto level 8 and executed.Later I deactivated the hierarchy and found report working fine with out any errors.
    Can U some suggest me why only on web reporting iam encountering this error.Please suggest me a remedy.
    ThanX N Regards,
    Suku

    Hi,
    Have you entered "111111" in the filed group account number?  If so, this account should be available / created in your group chart of account.
    Hope it helps
    Saravanan.A

  • Account Hierarchy : Function Module to get all the nodes of a hierarchy

    Hi Experts,
    Is there a function module which will give as output all the Node GUIDs for a particular account hierarchy in SAP CRM,when the Node GUID of any single node in the same tree is given as input?
    Best Regards,
    Ashish Dhagat

    Thanks mate.
    Edited by: pankaj kandhare on Aug 14, 2011 7:56 AM

  • CRMOD - Account Hierarchy (Relationship)

    All ,
    I am evaluating CRMOD - Account Hierarchy (Relationship) and I am having a few issue to identify the best practices to import and map the data according to the below scenario. I am not sure, if I am to use Portfolio Accounts / Books , PRM or just a Parent and Child Account relationship. Can someone provide guidance in regards to this requirement?
    Scenario 1:
    Parent Account (Distributor 1) has a 1:M Child Account(Partner 1) to which will have 1:M Sub Child Account(Customer 1)
    Scenario 2:
    Parent Account (Distributor 2) has a Child Account (Partner 2) to which will have Sub Child Account(Customer 1-same as the above)
    Regards ,
    Patrick

    To create a parent child relationship in Accounts:
    You create the account and then create the Sub-accounts accordingly. When you create the sub-account (b) to an account (a) the account b will have its parent account name defaulted with value of the parent account (a)
    To import using import wizard:
    1. Load all parent accounts with an External Unique Id
    2. Then load the sub-accounts with External Unique Id and The parent account External Id (which is specified in step 1)
    eg
    parent account import
    Account Name, Ext Id
    ABC, 123
    Sub-account import
    Account Name, ext id, par account extid
    def, 789, 123
    ghi, 901, 123
    Once you complete loading you can see parent account abc has 2 child accounts def and ghi - hope this helps

  • Problem with account hierarchy created in the rpd.

    Hi Everyone,
    A account hierarchy has been created in rpd with 14 levels. The problem is, for some account names when we click on the account name, it does not go to to the next level. For example, The account names "Phillips Van Heusan" - A1 and " Phillips Van Heusan"- A2 are present and they have separate account id's. When queried in the db with the account name which has a space in the front, am getting data but for the account name without space in the front am not getting any data. Both A1 and A2 have different account id's. And the Account name is set as primary key in the rpd in the dimensions hierarchy.
    But in the answers, when I filter out with these two account names, the account A2 gets displayed. When i click on this A2 , it does not drill down to next level where as shows no results. Nothing related to A1 is getting displayed.
    Same problem is faced for all the account names that are similar but have a space in the front.
    My questions:
    1. Is there a possibility that both account names can be displayed along with the measure columns coming from the service fact?
    2. Or else is it possible to filter out the record A1 so that only A2 gets displayed and the drill down happens properly to next level?
    Thanks in advance

    Ok, first the solution I gave to you is not negociable :) I MUST put the ID as the key and not the NAME.
    Once we have that in place, I need you to please change the name of your member and and make it different, not with a space but with a letter or namer. Let's say, go to the database , and add a 1 at the end of the member name so we make it different. Reload the repo and let me know it works.
    J.

  • Wrong total in Account hierarchy

    Hi
    I have 2 application where the only difference is that one is YTD (Legal reporting) the other is Periodic (Forecast). They have exactly the same dimensions and are in the same AppSet.
    My problem is that the total for my P&L is different eventhough the data are exatly the same. It is my Periodic application that returns the wrong result, only 0.73, but wrong non the less.
    If I add the detailed records together, they return the correct result.
    Any suggestion welcome
    Jesper

    Thats ok, the only way to avoide mistakes i to do nothing :O)
    The legal application is YTD the Forecast is Periodic, my error only appeares in the top of my account hierarchy.
    From net result to net reslut including subsidiaries,
    I have
    Netres with the parent netressubs
    subs.8000 with the parent netressubs
    subs.8009 with the parent netressubs
    Last 2 are base members
    I my case there are no values on the last base members, meaning that the result of netres and netressubs should be equal, but is is not there is a difference of 0.73.

  • Uploading Account Hierarchy data

    Hi all,
    Can anyone tell me how to upload Account Hierarchy into BI.I have created a flat file with the Hierarchy structure but unable to upload.
    The File format is
    Node ID,Info Object Name,Node Name,Link Name,Top Node,From Ac,To Ac,Language, Short Text, Long Text,Description.
    Kindly help me in this regard
    Regards
    Ajoy

    Hello,
    SAP provides a very powerful tool to upload mass amount of data without any coding required : LSMW.
    Furthermore, you can use this tool together with the Migration Workbench (tcode SXDA) to do parallel processing...
    So why would you want to record anything, or create a Z program? Even if you need to implement your own rules, you can implement some coding within your mapping project... Many cookbooks about LSMW are available both on SDN and on the sap service market place (with sample files, etc.).
    And for the record, here is of you can use this IDOC that I mentioned in my previous reply:
    Re: using FM CRMXIF_PARTNER_HIER_SAVE
    Regards,
    Nicolas Busson.

Maybe you are looking for